[exim-cvs] Add smarthost Router to default config, commented…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Exim Git Commits Mailing List
Date:  
À: exim-cvs
Sujet: [exim-cvs] Add smarthost Router to default config, commented-out.
Gitweb: http://git.exim.org/exim.git/commitdiff/4eae92ae55cd6904459eea8f4a2afe48cc0b5b66
Commit:     4eae92ae55cd6904459eea8f4a2afe48cc0b5b66
Parent:     362145b5072e8d863d74c4fed8d7c1377c783b87
Author:     Phil Pennock <pdp@???>
AuthorDate: Fri Oct 5 15:33:07 2012 -0400
Committer:  Phil Pennock <pdp@???>
CommitDate: Fri Oct 5 15:33:07 2012 -0400


    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 files changed, 15 insertions(+), 0 deletions(-)


diff --git a/src/src/configure.default b/src/src/configure.default
index 0ccbbe8..792b3ec 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.