From 4eae92ae55cd6904459eea8f4a2afe48cc0b5b66 Mon Sep 17 00:00:00 2001 From: Phil Pennock Date: Fri, 5 Oct 2012 15:33:07 -0400 Subject: [PATCH] Add smarthost Router to default config, commented-out. This is a very common requirement for the portion of the user-base who need the most assistance. --- src/src/configure.default | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/src/configure.default b/src/src/configure.default index 0ccbbe855..792b3ecc1 100644 --- a/src/src/configure.default +++ b/src/src/configure.default @@ -542,6 +542,21 @@ dnslookup: no_more +# This alternative router can be used when you want to send all mail to a +# server which handles DNS lookups for you; an ISP will typically run such +# a server for their customers. If you uncomment "smarthost" then you +# should comment out "dnslookup" above. Setting a real hostname in route_data +# wouldn't hurt either. + +# smarthost: +# driver = manualroute +# domains = ! +local_domains +# transport = remote_smtp +# route_data = MAIL.HOSTNAME.FOR.CENTRAL.SERVER.EXAMPLE +# ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 +# no_more + + # The remaining routers handle addresses in the local domain(s), that is those # domains that are defined by "domainlist local_domains" above. -- 2.30.2