From: Stephen Gran Date: Sun, 4 Oct 2009 23:08:10 +0000 (+0100) Subject: smarthost to mailout is by mx X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=326750ee6caa3feb06ac4f16412cc07edf94bce1;p=mirror%2Fdsa-puppet.git smarthost to mailout is by mx Signed-off-by: Stephen Gran --- diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index e7674bd17..26727a34b 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -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