From: Stephen Gran Date: Mon, 2 Nov 2009 21:51:02 +0000 (+0000) Subject: provisional idea for letting bugs mx'es route mail the same way as bugsmaster X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=f819308287b0dea18bca553ef8831ee2079d5b4f;p=mirror%2Fdsa-puppet.git provisional idea for letting bugs mx'es route mail the same way as bugsmaster Signed-off-by: Stephen Gran --- diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index ac7fc63a7..3f17c8e73 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -1380,14 +1380,18 @@ out <%= out = "" -if nodeinfo['bugsmaster'] +if nodeinfo['bugsmaster'] or nodeinfo['bugsmx'] + domain = 'bugs.debian.org' + if nodeinfo['bugsmaster'] + domain = 'bugs-master.debian.org' + end out = ' # This router delivers for bugs.d.o bugs: debug_print = "R: bugs for $local_part@$domain" driver = accept transport = bugs_pipe - domains = bugs.debian.org + domains = ' + domain + ' cannot_route_message = Unknown or archived bug require_files = /org/bugs.debian.org/mail/run-procmail no_more