smarthost to mailout is by mx
authorStephen Gran <steve@lobefin.net>
Sun, 4 Oct 2009 23:08:10 +0000 (00:08 +0100)
committerStephen Gran <steve@lobefin.net>
Sun, 4 Oct 2009 23:08:10 +0000 (00:08 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/exim/templates/eximconf.erb

index e7674bd..26727a3 100644 (file)
@@ -1155,7 +1155,11 @@ smarthost:
   driver = manualroute
   domains = !+handled_domains
   transport = remote_smtp_smarthost
-  route_list = * ' + nodeinfo['smarthost'] + '
+  route_list = * ' + nodeinfo['smarthost']
+  if nodeinfo['smarthost'] == 'mailout.debian.org'
+    out += '/MX'
+  end
+  out += '
   host_find_failed = defer
   same_domain_copy_routing = yes
   no_more