merge hcoop system aliases config
[hcoop/zz_old/config/exim4-hopper.git] / conf.d / router / 400_exim4-config_system_aliases
CommitLineData
725c9874 1
2### router/400_exim4-config_system_aliases
3#################################
4
5# This router handles aliasing using a traditional /etc/aliases file.
6#
7##### NB You must ensure that /etc/aliases exists. It used to be the case
8##### NB that every Unix had that file, because it was the Sendmail default.
9##### NB These days, there are systems that don't have it. Your aliases
10##### NB file should at least contain an alias for "postmaster".
11#
12# This router handles the local part in a case-insensitive way which
13# satisfies the RFCs requirement that postmaster be reachable regardless
14# of case. If you decide to handle /etc/aliases in a caseful way, you
15# need to make arrangements for a caseless postmaster.
16#
d2b0a567 17# Delivery to arbitrary directories, files, and piping to programs in
18# /etc/aliases is disabled per default.
725c9874 19# If that is a problem for you, see
d2b0a567 20# /usr/share/doc/exim4-base/README.Debian.gz
725c9874 21# for explanation and some workarounds.
725c9874 22
23system_aliases:
24 debug_print = "R: system_aliases for $local_part@$domain"
25 driver = redirect
09c81d90 26 domains = +unix_domains
725c9874 27 allow_fail
28 allow_defer
3b9ac9bc 29 data = ${lookup{$local_part}lsearch{/etc/aliases}}
725c9874 30 .ifdef SYSTEM_ALIASES_USER
31 user = SYSTEM_ALIASES_USER
32 .endif
33 .ifdef SYSTEM_ALIASES_GROUP
34 group = SYSTEM_ALIASES_GROUP
35 .endif
36 .ifdef SYSTEM_ALIASES_FILE_TRANSPORT
37 file_transport = SYSTEM_ALIASES_FILE_TRANSPORT
38 .endif
39 .ifdef SYSTEM_ALIASES_PIPE_TRANSPORT
40 pipe_transport = SYSTEM_ALIASES_PIPE_TRANSPORT
41 .endif
42 .ifdef SYSTEM_ALIASES_DIRECTORY_TRANSPORT
43 directory_transport = SYSTEM_ALIASES_DIRECTORY_TRANSPORT
44 .endif