Re: bind and outgoing mail relay
Date: Wed, 29 Oct 2008 08:32:21 -0700 From: Justin T Pryzby [EMAIL PROTECTED] To: bind-users@isc.org Subject: bind and outgoing mail relay I wonder if there's any way of using our local recursive server for forcing all locally-originating mail to go through a given mail hub. I suspect not? Not via DNS. The setup is with the sendmail.cf (or what ever config file you use). Thanks, Justin - Gregory Hicks | Principal Systems Engineer Cadence Design Systems | Direct: 408.576.3609 555 River Oaks Pkwy M/S 9B1 San Jose, CA 95134 People sleep peaceably in their beds at night only because rough men stand ready to do violence on their behalf -- George Orwell The price of freedom is eternal vigilance. -- Thomas Jefferson The best we can hope for concerning the people at large is that they be properly armed. --Alexander Hamilton
Re: bind and outgoing mail relay
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Justin T Pryzby wrote: I wonder if there's any way of using our local recursive server for forcing all locally-originating mail to go through a given mail hub. I suspect not? If you're using Postfix, see following description taken from Postfix's main.cf: # The relayhost parameter specifies the default host to send mail to # when no entry is matched in the optional transport(5) table. When # no relayhost is given, mail is routed directly to the destination. # # On an intranet, specify the organizational domain name. If your # internal DNS uses no MX records, specify the name of the intranet # gateway host instead. # # In the case of SMTP, specify a domain, host, host:port, [host]:port, # [address] or [address]:port; the form [host] turns off MX lookups. # # If you're connected via UUCP, see also the default_transport parameter. # #relayhost = $mydomain #relayhost = [gateway.my.domain] #relayhost = [mailserver.isp.tld] #relayhost = uucphost #relayhost = [an.ip.add.ress] byunghee -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (FreeBSD) iEYEARECAAYFAkkI6cgACgkQsCouaZaxlv4RGACgrKW9gfJaJOKtYEQ/67n+gBE1 74AAnivf42mA/AXSEKwgr4C8CGgeWviD =97l7 -END PGP SIGNATURE-
Re: bind and outgoing mail relay
Justin T Pryzby wrote: I wonder if there's any way of using our local recursive server for forcing all locally-originating mail to go through a given mail hub. I suspect not? If all of your mail clients use MX records for routing mail, and if you have an internal-root architecture with no direct Internet resolvability (i.e. all Internet access is through application-level gateways), then you can do this with wildcards in your internal root zone. - Kevin