Operating System - HP-UX
1825768 Members
2115 Online
109687 Solutions
New Discussion

Re: email from hpux to external account

 
tan chin tiau
Occasional Contributor

email from hpux to external account

[lonpacdev]/etc/mail #sendmail -v thlim@hotmail.com
lonpac.com: Name server timeout
thlim@hotmail.com... Transient parse error -- message queued for future delivery

when i send out to external email, will apper this error , pls advice.
1 REPLY 1
Matti_Kurkela
Honored Contributor

Re: email from hpux to external account

Your DNS server did not respond in a reasonable time ("Name server timeout").

Sendmail needs to know the fully-qualified DNS name of your own server so that it can write correct headers to the email you're sending.

Check the name server settings:
cat /etc/resolv.conf

- there should be at least one line with "nameserver ". Is that pointing to a valid DNS server?

grep ^hosts: /etc/nsswitch.conf

- "dns" should be mentioned on the line
- "files" refers to /etc/hosts
- if any other resolving systems are listed (e.g. NIS), are they working OK?

A server that sends mail outside your site should have a valid, globally-visible DNS name. Usually this function is centralized to some dedicated "mail server". In most situations, you should configure your HP-UX to send email first to that server, which will then relay it to the destination. In Sendmail terminology, this kind of server is called a smarthost.

Edit /etc/mail/sendmail.conf. Note that there are a lot of comments in the beginning of the file. Find a line that contains just the letters

DS

at the beginning of the line.

If your mail server is called "mail.lonpac.com", change that line to:

DSmail.lonpac.com

(note: no spaces anywhere on that line!)

MK
MK