1822272 Members
3840 Online
109642 Solutions
New Discussion юеВ

Sendmail Problem Help

 
SOLVED
Go to solution
Steven Chen_1
Super Advisor

Sendmail Problem Help

Hi,

I have sendmail 8.9 on K server in hpux 11i. Mailx has been working fine for a long time, but after a power recycle it is not working any more.

The problem now is all mails are in queue. It is not an official mail server that have routable IP to ISP, but it only serves to sendmails out, not receive mail in.

My original settings are:

------------------------------
nsswitch.conf:

hosts: files [NOFOUND=continue] dns
services: nis files
protocols: nis files
networks: nis files
rpc: nis files

---------------------------
resolv.conf

nameserver [isp dns]
nameserver [isp dns]

---------------------------
/etc/hosts

server ip

---------------------------
sendmail.cf

Dj$w.domainname.com

---------------------------

I have no direction to have a further look.

Can someone please help!?

Very appreciated.

Steven
Steve
3 REPLIES 3
Patrick Wallek
Honored Contributor
Solution

Re: Sendmail Problem Help

Check /var/adm/syslog/mail.log and see what, if any, errors are recorded there.

You might also try executing

# sendmail -q

And see if this clears out the sendmail queue.
Steven E. Protter
Exalted Contributor

Re: Sendmail Problem Help

I suspect networking issues:

Diagnostic steps:

traceroute isp_dns

Normally you should have connectivity to the DSN server.

Next:

mailq

This should show lots of mail sent from previous mailx commands, cron and other sources.

If not, then the mail is getting off the box.

If you tried Patrick's sendmail -q suggestion it might have pushed the mail off the box.

I would suspect some kind of firewall upgrade or change has stopped your servers ability to resolve outside DNS servers or send mail. The mail.log file will tell you the story.

I suspect you may need to set the DS directive in sendmail.cf to resolve this. Whatever relay server you choose will need to make sure it accepts relay from your server.

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
T G Manikandan
Honored Contributor

Re: Sendmail Problem Help

Even I suspect of a name resolution.

I have had mails in queue when I had no nsswitch.conf files.

check whether the name resolution works fine.

#nslookup