X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fexim%2Ftemplates%2Feximconf.erb;h=bdb02f9c2dcc9b44041c5e7b53bc436ea7fe7714;hb=49a3983e1f16358b1e359cdc7b1e51104d569792;hp=e4ed0e72d8aab3e9213f0af96fb6b14eae6323a4;hpb=5c259d31b21b6427a7160df316463fa4c288a64f;p=mirror%2Fdsa-puppet.git diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index e4ed0e72d..bdb02f9c2 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -136,7 +136,7 @@ localpartlist postmasterish = postmaster : abuse : hostmaster : root # Domains we relay for; that is domains that aren't considered local but we # accept mail for them. -hostlist debianhosts = 127.0.0.1 : net-lsearch;/var/lib/misc/thishost/debianhosts +hostlist debianhosts = 127.0.0.1 : /var/lib/misc/thishost/debianhosts <%= out = "" if nodeinfo['mailrelay'] @@ -165,7 +165,7 @@ out # expensive, you can specify the networks for which a lookup is done, or # remove the setting entirely. host_lookup = * -dns_ipv4_lookup = !localhost +# dns_ipv4_lookup = !localhost (disabled upon sgrans request, zobel, 2010-03-16) # If this option is set, then any process that is running as one of the # listed users may pass a message to Exim and specify the sender's @@ -325,6 +325,18 @@ out %> <%= out = '' +if nodeinfo['bugsmaster'] + out = ' + warn domains = bugs.debian.org + set acl_m_rprf = BugsMail + + accept condition = ${if eq {$acl_m_rprf}{}{no}{yes}} +' +end +out +%> +<%= +out = '' if nodeinfo['packagesmaster'] out = ' warn domains = packages.debian.org @@ -529,7 +541,6 @@ out accept domains = +local_domains hosts = +debianhosts endpass - message = unknown user verify = recipient <%= @@ -538,7 +549,6 @@ if nodeinfo['mailrelay'] out = ' accept domains = +mailhubdomains endpass - message = unknown user verify = recipient/callout=30s,defer_ok,use_sender,no_cache ' end @@ -547,7 +557,6 @@ out accept domains = +submission_domains endpass - message = unknown user verify = recipient deny message = relay not permitted @@ -904,7 +913,6 @@ if nodeinfo['mailrelay'] out = ' accept domains = +mailhubdomains endpass - message = unknown user verify = recipient/callout=30s,defer_ok,use_sender,no_cache ' end @@ -912,7 +920,6 @@ out %> accept domains = +handled_domains endpass - message = unknown user verify = recipient/defer_ok accept hosts = +debianhosts @@ -1305,6 +1312,8 @@ procmail: check_local_user domains = +local_domains headers_add = "Delivered-To: ${local_part}${local_part_suffix}@${domain}" + local_part_suffix = -* + local_part_suffix_optional no_verify no_expn require_files = $local_part:$home/.procmailrc @@ -1388,7 +1397,7 @@ bugs: no_more local_parts = ${if match\ {$local_part}\ - {\N^(\d+)(\d{2})(?:-(?:(?:submit|maintonly|quiet|forwarded|done|close|request|submitter)|(?:unsubscribe|ignore|(?:sub(?:scribe|help|yes|approve|reject))|unsubyes|bounce|probe|approve|reject|setlistyes|setlistsilentyes).*))?$\N}\ + {\N^(\d+)(\d{2})(?:-(?:(?:submit|maintonly|quiet|forwarded|done|close|request|submitter)|(?:unsubscribe|ignore|help|(?:sub(?:scribe|help|yes|approve|reject))|unsubyes|bounce|probe|approve|reject|setlistyes|setlistsilentyes).*))?$\N}\ {${if exists{/org/bugs.debian.org/spool/db-h/$2/$1$2.summary}\ {$local_part}fail}}fail} ' @@ -1704,6 +1713,7 @@ out begin retry debian.org * F,2h,10m; G,16h,2h,1.5; F,14d,8h +* * senders=: F,2h,10m * rcpt_4xx F,2h,5m; F,4h,10m; F,4d,15m * * F,2h,15m; G,16h,2h,1.5; F,4d,8h