cancel
Showing results for 
Search instead for 
Did you mean: 

sendmail problem

SOLVED
Go to solution
JOHN TURNER_2
Frequent Advisor

sendmail problem

Good morning

im having a problem with sendmail, at present i have 7 servers running sendmail, all of the configuration files look the same, although when i try and send a message to an external email address 3 of the servers send the message and the other 4 do not, can any one think of anything that could of caused this. About 2 weeks ago all of the servers were sending messages
GUI's are for wimps!
9 REPLIES
Steven E. Protter
Exalted Contributor

Re: sendmail problem

Shalom,

If this is hpux, please post the mail.log output associated with the mail sends.

/var/adm/syslog

If its Linux, see /var/log/maillog

Possible cause:

Firewall admin decided correctly that servers should not be permitted to send email direct to the public internet. If so, they should provide an smtp relay server to get mail out the door.

DNS could be down and lookup is failing. The log data will show that.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jeeshan
Honored Contributor

Re: sendmail problem

yeah, SEP is right.

check the /etc/resolv.conf file
a warrior never quits
JOHN TURNER_2
Frequent Advisor

Re: sendmail problem

this is the output in the mail.lig file

nmhp03{root}=>/var/adm/syslog - tail mail.log
Feb 10 04:15:02 nmhp03 sendmail[1637]: EAA01637: to=psoft, delay=00:00:00, xdelay=00:00:00, mailer=local, stat=Sent
Feb 10 04:15:29 nmhp03 sendmail[1725]: NOQUEUE: Null connection from root@nmhd01 [192.168.18.116]
Feb 10 04:17:02 nmhp03 sendmail[1772]: unable to qualify my own domain name (nmhp03) -- using short name
Feb 10 04:17:02 nmhp03 sendmail[1772]: be sure to set domain name in Dj macro in sendmail.cf
Feb 10 04:19:03 nmhp03 sendmail[1804]: unable to qualify my own domain name (nmhp03) -- using short name
Feb 10 04:19:03 nmhp03 sendmail[1804]: be sure to set domain name in Dj macro in sendmail.cf
Feb 10 04:21:02 nmhp03 sendmail[1853]: unable to qualify my own domain name (nmhp03) -- using short name
Feb 10 04:21:02 nmhp03 sendmail[1853]: be sure to set domain name in Dj macro in sendmail.cf
Feb 10 04:23:02 nmhp03 sendmail[1883]: unable to qualify my own domain name (nmhp03) -- using short name
Feb 10 04:23:02 nmhp03 sendmail[1883]: be sure to set domain name in Dj macro in sendmail.cf



GUI's are for wimps!
Jeeshan
Honored Contributor
Solution

Re: sendmail problem

add a line in /etc/hosts file of nmhp03 host

nmhp03
a warrior never quits
JOHN TURNER_2
Frequent Advisor

Re: sendmail problem

after i changed the /etc/hosts file as requested i re-ran the sendmail command and now get the folowing error message

Feb 10 05:18:21 nmhp03 sendmail[4202]: FAA04200: to=john.turner@acs-inc.com, ctladdr=root (0/3), delay=00:00:00, xdelay=00:00:00, mailer=relay, relay=mail-proxy, stat=Host unknown (Name server: mail-proxy: host not found)
Feb 10 05:18:21 nmhp03 sendmail[4202]: FAA04200: FAA04202: DSN: Host unknown (Name server: mail-proxy: host not found)
Feb 10 05:18:21 nmhp03 sendmail[4202]: FAA04202: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, stat=Sent
GUI's are for wimps!
Jeeshan
Honored Contributor

Re: sendmail problem

what is your /etc/resolv.conf entries?

and what is your relay server name?

is relay server name exist in /etc/hosts file?
a warrior never quits
JOHN TURNER_2
Frequent Advisor

Re: sendmail problem

we dont have a /etc/resolv.conf file, but there is also no resolv.conf file on the servers where sendmail is working so i dont think that is causing the problem. As for the relay name, i have no idea, where abouts would that be stored as i could try and find it on the working sendmail servers
GUI's are for wimps!
Dennis Handly
Acclaimed Contributor

Re: sendmail problem

>As for the relay name, i have no idea

Have you compared the DS entry in sendmail.cf files?
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1082970
JOHN TURNER_2
Frequent Advisor

Re: sendmail problem

thanks for all your help, the problem was that someone had commented out the mail proxy entry in the /etc/hosts file. I have made the necessary changes and sendmail is now working on all seven servers
GUI's are for wimps!