X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fexim%2Ftemplates%2Fmanualroute.erb;h=ce22a342b867ca9adfa9a4e5021a94d3111889da;hb=755d7470838a052d1042e46e5f9cd3ae1009bdd6;hp=2b84b4ede1d4545636d64d513014aba7c901d020;hpb=483f9c11e2419da2aa3fe83f306a2adf5f6938ef;p=mirror%2Fdsa-puppet.git diff --git a/modules/exim/templates/manualroute.erb b/modules/exim/templates/manualroute.erb index 2b84b4ede..ce22a342b 100644 --- a/modules/exim/templates/manualroute.erb +++ b/modules/exim/templates/manualroute.erb @@ -12,8 +12,7 @@ mxmatches = [ fqdn ] routes = [] extraroutes = [] -case fqdn -when 'spohr.debian.org', 'draghi.debian.org', 'merikanto.debian.org' then +if nodeinfo['mailrelay'] mxmatches << 'mailout.debian.org' extraroutes = [ "keyring.debian.org:\t\tkaufmann.debian.org" ] end