  | |  | Notifications email failure | Notifications email failure 2005-08-30 - By Thomas Cameron
Back
> 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]
OK, are you running any firewall rules? What is the output of running this as root?
service iptables status
> 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.
No, mailq should check /var/spool/mqueue to see if there are any messages stalled there. It sounds like your message is never getting there, since sendmail is refusing connections on 127.0.0.1.
> 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.
No, $j should be set by fixing your hostname in sendmail.mc and running make in the /etc/mail directory.
Thomas
Thomas
-- Taroon-list mailing list Taroon-list@(protected) http://www.redhat.com/mailman/listinfo/taroon-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |