Operating System - HP-UX
1753611 Members
5885 Online
108797 Solutions
New Discussion юеВ

Re: sendmail relay and DNS query

 
Bryan D. Quinn
Respected Contributor

Re: sendmail relay and DNS query

Hey Mike,

I am not by any means a sendmail guru, but I did have to set it up to relay to an MS-Exchange server a couple of months ago. When I read your post I went back and looked at my sendmail.cf file because I know I had some issues with my setup also. I noticed above the DS portion in the sendmail.cf file that I had this info in there also:
#My official domain
Dj$w.yourdomain.com
Also, in my sendmail.cw I have the following appended to the end of the file
hostname
hostname.yourdomain.com

I don't know if this will help you, but it probably would not hurt.

Oh, and as for my nsswitch.conf file, this is what my hosts line looks like:
hosts: files [NOTFOUND=continue] dns

One last thing, make sure that you have an entry in your /etc/hosts file for your MS Exchange server.

I will look back in my notes and see if I can find anymore info that might help you.

Hope this helps!
-Bryan
Bryan D. Quinn
Respected Contributor

Re: sendmail relay and DNS query

Sorry for the 5 responses....that crazy SUBMIT buttons strikes again.

-Bryan
Uday_S_Ankolekar
Honored Contributor

Re: sendmail relay and DNS query

I think behaviour of your sendmail is correct.You should not include a reference
to DNS in the /etc/nsswitch.conf file if a nameserver is incapable of
providing an accurate reply to the query
and if the /etc/nsswicth.conf file contains a source reference to DNS in any order, then sendmail will do a DNS MX record lookup regardless of the presence of DS entry

-USA..
Good Luck..