localpartlist local_only_users = lsearch;/etc/exim4/localusers
+localpartlist postmasterish = postmaster : abuse : hostmaster : root
+
# Domains we relay for; that is domains that aren't considered local but we
# accept mail for them.
domainlist rcpthosts = partial-lsearch;/etc/exim4/rcpthosts
out
%>
- accept local_parts = postmaster
+ accept local_parts = +postmasterish
domains = +handled_domains : +rcpthosts
deny hosts = ${if exists{/etc/exim4/host_blacklist}{/etc/exim4/host_blacklist}{}}
ignore_target_hosts = +reservedaddrs
no_more
+postmasterish:
+ debug_print = "R: postmasterish for $local_part@$domain"
+ driver = redirect
+ verify = false
+ unseen = true
+ expn = true
+ local_parts = +postmasterish
+ domains = +handled_domains
+ data = debian-admin@debian.org
+ headers_add = "Delivered-To: ${local_part}${local_part_suffix}@${domain}"
+
# This router handles aliasing using a traditional /etc/aliases file.
# If any of your aliases expand to pipes or files, you will need to set
# up a user and a group for these deliveries to run under. You can do