summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Pennock <pdp@exim.org>2012-10-05 15:33:07 -0400
committerPhil Pennock <pdp@exim.org>2012-10-05 15:33:07 -0400
commit4eae92ae55cd6904459eea8f4a2afe48cc0b5b66 (patch)
treef1c93b252f45cb60e0395c3d6cc6de1ff28868b7
parent362145b5072e8d863d74c4fed8d7c1377c783b87 (diff)
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.
-rw-r--r--src/src/configure.default15
1 files changed, 15 insertions, 0 deletions
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.