[Pkg-exim4-users] Catchall for system users
Ross Boylan
ross at biostat.ucsf.edu
Fri Oct 7 18:05:09 UTC 2005
I'd like all mail to system users to go to root, which is then forwarded
to me. The inspiration was the discovery that some system accounts were
getting actual mail, and I hadn't noticed. /etc/alias does not list all
system users, though a fair number are in there and set to root.
307768 has discussion of this, but the example there fails addresses and
involves resequencing some of the default files. On the other hand, I
do want to capture even the real-* addresses.
So how does this router look?
250_rb_catch_system (before the real-* router):
catch_system_uids:
driver = redirect
domains = +local_domains
user = ! root
local_part_prefix = real-
local_part_prefix_optional = true
check_local_user
condition = ${if or{{<{$local_user_uid}{1000}}{>{$local_user_uid}{29999}}}}
data = root
--
Ross Boylan wk: (415) 514-8146
185 Berry St #5700 ross at biostat.ucsf.edu
Dept of Epidemiology and Biostatistics fax: (415) 514-8150
University of California, San Francisco
San Francisco, CA 94107-1739 hm: (415) 550-1062
More information about the Pkg-exim4-users
mailing list