X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fexim%2Ftemplates%2Feximconf.erb;h=81da814ba39492fecc779f83fe6efbc2629828f8;hb=608b30988513716c0559429016c8804267372f51;hp=fb0da2efa7a7ad4578c73308e6673c5d453d6070;hpb=cf8e1a14b676df5a1725db339f7c7702200e4604;p=dsa-puppet.git diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index fb0da2ef..81da814b 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -1072,21 +1072,17 @@ ipliteral: <%= out = "" if not scope.lookupvar('site::nodeinfo')['smarthost'].empty? -out = ' +out = " smarthost: - debug_print = "R: smarthost for $local_part@$domain" + debug_print = \"R: smarthost for $local_part@$domain\" driver = manualroute domains = !+handled_domains transport = remote_smtp_smarthost - route_list = * ' + scope.lookupvar('site::nodeinfo')['smarthost'] - if scope.lookupvar('site::nodeinfo')['smarthost'] == 'mailout.debian.org' - out += '/MX' - end - out += ' + route_list = * #{scope.lookupvar('site::nodeinfo')['smarthost']} host_find_failed = defer same_domain_copy_routing = yes no_more -' +" end out %>