General
cancel
Showing results for 
Search instead for 
Did you mean: 

using sendmail to send to address via the internet

using sendmail to send to address via the internet

Whenever I issue the sendmail command, I continually receive the name server timeout message. My server is communicating with the dns server, and the nsswitchconf file is set to try files then dns. the /etc/hosts has the names of the mail servers necessary to forward mail to.

Can anyone help?
If I can't be part of the Greatest, I just have to be the Greatest myself!
3 REPLIES
Printaporn_1
Esteemed Contributor

Re: using sendmail to send to address via the internet

Hi,

if nslookup fine , please try using default sendmail.cf first.
Then its depend on sendmail version , old version (<8) using /etc/mail/service.switch
not nsswitch.conf

Thanks
enjoy any little thing in my life
Philip Chan_1
Respected Contributor

Re: using sendmail to send to address via the internet

Try nslookup then see what the output said. I think there will be very helpful hints on your problem from these.

Also, check permission on /etc/nsswitch.conf, make sure the users has read right on it.

~Philip

Re: using sendmail to send to address via the internet

I believe I may have this problem licked. I was able to add another DNS server that I believe has referral lookup on the internet to allow me to send to users outside of the primary domain.

Once I added this server to the resolv.conf, it looks like a message is going through, but am not sure if it is actually being delivered.

I'll keep you guys posted.
If I can't be part of the Greatest, I just have to be the Greatest myself!