Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
Messaging
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!