cancel
Showing results for 
Search instead for 
Did you mean: 

sendmail

 
Carme Torca
Super Advisor

sendmail

Hi,

 

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"  user@yahoo.com

 

the maillog says:

 

Jun 26 13:03:42 TSIQAD41 sendmail[12930]: r5QB3gix012930: from=root, size=50, class="0", nrcpts=1, msgid=<201306261103.r5QB3gix012930@server.uno.com>, relay=root@localhost
Jun 26 13:03:42 TSIQAD41 sendmail[12930]: r5QB3gix012930: to=user@yahoo.com, 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=<201306261020.r5QAKEHA027873@server2.uno.com>, relay=root@localhost
Jun 26 12:20:15 server2 sendmail[27873]: r5QAKEHA027873: to=user.torca@t-systems.es, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30059, relay=relay.smtp [10.10.10.111], dsn=2.0.0, stat=Sent ( <201306261020.r5QAKEHA027873@server2.uno.com> 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 sendmail.cf 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 ;-)
1 REPLY
Matti_Kurkela
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 10.10.10.111

 

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.

MK