1833032 Members
2267 Online
110049 Solutions
New Discussion

sendmail

 
Saleelah Shabbar
Occasional Contributor

sendmail

Have configured sendmail on an L class, hpux 11.0.
The error message I am getting when I do a
sendmail -v user is

barclays.co.uk: Name server timeout
saleelah.shabbar@barclays.co.uk... Transient parse error -- message queued for future delivery.
Any ideas.
Sal
3 REPLIES 3
john korterman
Honored Contributor

Re: sendmail

Hi,

I guess that the file /etc/nsswitch.conf specifyes that the order of resolving hostnames is dns before files, i.e. look first in dns, then in /etc/hosts - and your mailserver is not in dns.
Is that correct?

regards,
John K.
it would be nice if you always got a second chance
Uday_S_Ankolekar
Honored Contributor

Re: sendmail

Check /etc/resolv.conf and /etc/nsswitch.conf files.

resolv.conf should have entries of your domain name and Name server

nsswitch.conf should have entries for DNS and and files for the hosts entry like this:
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns

-USA..
Good Luck..
Steven E. Protter
Exalted Contributor

Re: sendmail

You have a name resolution issue.

As noted in the prior posts, you'll need to get DNS working if you want to resolve names locally.

If you have a smtp relay server in your environment, you can configure sendmail to pass the mail to that server.

in /etc/mail/sendmail.cf

DS directive.

Change
DS

to
DS
[ip address of relay server]

or

DShostnameofrelayserver


save the file.


/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start

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