Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I configure sendmail not to use DNS?

configure DNS sendmail
0
Posted

How do I configure sendmail not to use DNS?

0

In situations where you’re behind a firewall, or across a dial-up line, there are times when you need to make sure that programs (such as sendmail) do not use the DNS at all. With older releases of version 8 sendmail (8.7 and earlier), you needed to recompile the binary and make sure that “NAMED_BIND” was turned off in src/conf.h. With versions 8.8 and later, you change the service switch file to omit “DNS” and use only NIS, files, and other map types as appropriate. More information about the service switch file can be found under the ServiceSwitchFile option in §5.6 (Options) of the Installation and Operation Guide and all of §4.9 (Name Server Access). And note that you’ll need to forward all your outbound mail to another machine as a “relay” (one that does use DNS, and understands how to properly use MX records, etc…), otherwise you won’t be able to get mail to any site(s) other than the one(s) you configure in your /etc/hosts file (or whatever).

0

In situations where you’re behind a firewall, or across a dial-up line, there are times when you need to make sure that programs (such as sendmail) do not use the DNS at all. With older releases of version 8 sendmail (8.7 and earlier), you needed to recompile the binary and make sure that “NAMED_BIND” was turned off in src/conf.h. With versions 8.8 and later, you change the service switch file to omit “DNS” and use only NIS, files, and other map types as appropriate. More information about the service switch file can be found under the ServiceSwitchFile option in §5.6 (Options) of the Installation and Operation Guide and all of §4.9 (Name Server Access). And note that you’ll need to forward all your outbound mail to another machine as a “relay” (one that does use DNS, and understands how to properly use MX records, etc…), otherwise you won’t be able to get mail to any site(s) other than the one(s) you configure in your /etc/hosts file (or whatever).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123