From 326750ee6caa3feb06ac4f16412cc07edf94bce1 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Mon, 5 Oct 2009 00:08:10 +0100 Subject: [PATCH] smarthost to mailout is by mx Signed-off-by: Stephen Gran --- modules/exim/templates/eximconf.erb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.20.1