1837962 Members
2596 Online
110124 Solutions
New Discussion

Re: SendMail problem

 
SOLVED
Go to solution
Erick Amezquita
Occasional Contributor

SendMail problem

Hi
I have a HP 9000 running HP 11.00,if i try to use a sendmail the system back the following message:

echo prueba |sendmail -v amezquita.erick@bellsouth.com.gt
amezquita.erick@bellsouth.com.gt... bellsouth.com.gt: Name server timeout
amezquita.erick@bellsouth.com.gt... Transient parse error -- message queued for future delivery
amezquita.erick@bellsouth.com.gt... queued

The /etc/hosts include the exchange server ip,

Thanks
Persistent
5 REPLIES 5

Re: SendMail problem

Eric:

If you are using your Exchange server to route outgoing email (aka "Smart relay host") from your system, go into /etc/sendmail.cf and edit the 'DS' parameter to include the host name of your Exchange server. For example, if the /etc/hosts entry for the exchange server is:

192.168.4.4 mailserver

Change

DS

to:

DSmailserver

in /etc/sendmail.cf and restart your sendmail process. All emails not going to your local system will automatically be routed to the Exchange server for delivery.

I hope this helps,

Steve Illgen
UNIX Systems Administrator
Cracker Barrel OCS
"Pass the Biscuits, Please!"
Dario_1
Trusted Contributor

Re: SendMail problem

Geoff Wild
Honored Contributor

Re: SendMail problem

Sendmail relies on DNS - make sure your /etc/resolv.conf file is configured correctly and that it points to a DNS server that "knows" about bellsouth.com.gt or has a forwarders statement configured.

If the machine you want to mail to is loacl, then yes, set your DS macro to the server name of the exchange server. You might also need to set the DM macro to bellsouth.com.gt

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Berlene Herren
Honored Contributor

Re: SendMail problem

Does the message go out later?

If you are running 8.11.1, first make sure you have the latest web download installed. If so, and you still have the problem, then increase the timeout parameter in the .cf file:


#O Timeout.resolver.retrans=5s

change this to something like 5000 ( this is in miliseconds), uncomment, restart the sendmail daemon and see if that works.


Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm
Steven E. Protter
Exalted Contributor
Solution

Re: SendMail problem

If the message never goes out.

It's DNS or mail relay server.

nslookup yahoo.com

Does it resolve. If not, check /etc/nsswitch.conf how resolution occurrs, then /etc/resolv.conf to see if those entries are actually name servers.

If you are already using the DS parameter noted earlier in the thread it could be your mail relay server rejecting your mail.

Usually those servers authorize relay one IP at a time and the admin needs to do that.

Diagnostic test:
/usr/sbin/sendmail -v -d8.99 -d38.99 stevenprotter@juf.org

Replace my email address with a real one please.

after using the command line, type a line of text and then

Then a dot(period) . the

You'll get plenty of diagnostics and go down the right road toward resolution.

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