Showing results for 
Search instead for 
Did you mean: 

Re: sendmail

Super Advisor




I have one configuration in one server, with one relay, put it does not works ok.

When I send one missage with:


echo  "test" |mailx -s "homehome"


the maillog says:


Jun 26 13:03:42 TSIQAD41 sendmail[12930]: r5QB3gix012930: from=root, size=50, class="0", nrcpts=1, msgid=<>, relay=root@localhost
Jun 26 13:03:42 TSIQAD41 sendmail[12930]: r5QB3gix012930:, delay=00:00:00, mailer=relay, pri=30050, dsn=4.4.3, stat=queued



I have another server that works ok and it shows me:


Jun 26 12:20:14 server2 sendmail[27873]: r5QAKEHA027873: from=root, size=59, class="0", nrcpts=1, msgid=<>, relay=root@localhost
Jun 26 12:20:15 server2 sendmail[27873]: r5QAKEHA027873:, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30059, relay=relay.smtp [], dsn=2.0.0, stat=Sent ( <> Queued mail for delivery)



In the  first server it does not appers ctladdr=root and de relay=relay.smtp that is the name of the relay, but the are the same.


The sendmail its stopped on server2 and server1:


chkconfig --list | grep -e sendmail
sendmail        0:off   1:off   2:off   3:off   4:off   5:off   6:off


Any idea?

Thanks a lot of!


Users are not too bad ;-)
Honored Contributor

Re: sendmail

"dsn=4.4.3" typically means "host or domain name not found". You probably should check that the DNS settings (/etc/resolv.conf, /etc/nsswitch.conf, /etc/hosts).


Also, verify that the system can actually resolve the hostname of the relay.smtp into IP address and vice versa:


getent hosts relay.smtp

getent hosts


Sendmail is probably trying to find the IP address of the relay.smtp server but failing. Without knowing the IP address, Sendmail cannot connect to the relay server.