  | |  | Notifications email failure | Notifications email failure 2005-08-30 - By Jeff Boyce
Back >-- --Original Message-- -- >From: Thomas Cameron <thomas.cameron@(protected)> >Date: Mon, 29 Aug 2005 20:57:39 >To:taroon-list@(protected) >Subject: Re: Notifications email failure > >On Mon, 2005-08-29 at 15:52 -0700, Jeff Boyce wrote: > >> FEATURE(`accept_unresolvable_domains')dnl > >Hrm - well, that shoots my theory down. > >What happens when you try to send mail to your "real" e-mail account? What >shows up in the log files (/var/log/maillog)? > >Do something like this: > >mail jboyce@(protected) -s "test message" < /etc/hosts > >This should mail you the contents of /etc/hosts with a subject "test >message." Do this then look in /var/log/maillog to see if there are any >errors. > >Also try running mailq as root to see if there are any messages hung up in >queue. > >Thomas
Ok, here are the results of: mail jboyce@(protected) -s "test message" < /etc/hosts Just to be clear of the complete results, the mail was not received.
Aug 30 08:21:17 bison sendmail[30494]: My unqualified host name (bison) unknown; sleeping for retry Aug 30 08:22:17 bison sendmail[30494]: unable to qualify my own domain name (bison) -- using short name Aug 30 08:22:17 bison sendmail[30494]: j7UFMHC3030494: from=jeffb, size=261, class=0, nrcpts=1, msgid=<200508301522.j7UFMHC3030494@(protected)>, relay=jeffb@(protected) Aug 30 08:22:17 bison sendmail[30494]: j7UFMHC3030494: to=jboyce@(protected), ctladdr=jeffb (501/501), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30261, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Checking the mailque without verbose produced nothing, so I reran it with the verbose option which returned the following. I noticed that the mailq command is checking /var/spool/mqueue, although my O'Reilly Linux in a Nutshell book references that it should be checking /etc/mail/sendmail.cf. So I also ran mailq with the other option (-Ac) listed in the book which is also shown below.
[root@(protected) root]# mailq -v WARNING: local host name (bison) is not qualified; fix $j in config file /var/spool/mqueue is empty Total requests: 0
[root@(protected) root]# mailq -Ac | grep jeffb -C2 j7UFMHC3030494 211 Tue Aug 30 08:22 jeffb (Deferred: Connection refused by [127.0.0.1]) jboyce@(protected)
The mailq results indicate that I need to fix $j in a configuration file. I don't see that in the sendmail.mc file. Is there another configuration file I should be looking at, or is there something else going on.
Jeff Boyce www.meridianenv.com
-- Taroon-list mailing list Taroon-list@(protected) http://www.redhat.com/mailman/listinfo/taroon-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |