1838894 Members
3798 Online
110131 Solutions
New Discussion

sendmail problem

 
Geetam
Frequent Advisor

sendmail problem

I thought I knew how to do this. On my HP9000 it works:

# /usr/sbin/sendmail -bv -v -oL10 geetam@kymata.com
geetam@kymata.com... deliverable: mailer relay, host livingstonmail.kymata.com, user geetam@kymata.com

On my Linux machine it doesn't:

# /usr/sbin/sendmail -bv -v -oL10 geetam@kymata.com
geetam@kymata.com... kymata.com: Name server timeout
geetam@kymata.com... Transient parse error -- message queued for future delivery
geetam@kymata.com... deliverable: mailer relay, host livingstonmail.kymata.com, user geetam@kymata.com

/etc/nsswitch.conf
hosts: files

no /etc/resolve.conf

/etc/sendmail.cf
DSlivingstonmail.kymata.com

What did I miss?
3 REPLIES 3
Berlene Herren
Honored Contributor

Re: sendmail problem

Compare the /etc/hosts, Dj$w macro in sendmail.cf and the sendmail.cw file of the two. Make sure the sendmai.cw file has only the name this host is known by.

Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm
Dave Kelly_1
Respected Contributor

Re: sendmail problem

What version of sendmail are you running on your Linux box ?

Run sendmail -d0.1
If you have sendmail 8.7.1, you need to make sure that /etc/mail/service.switch matches the contents of /etc/nsswitch.conf.

nnf97
Regular Advisor

Re: sendmail problem

Confirm that your name server is properly configured, either the /etc/hosts file or the DNS.

Nabeel
Live Free or Die (New Hampshire)