4 These are suggested parts of a configuration for looking up users in
5 /etc/passwd.domain rather than in /etc/passwd, with a separate alias file for
6 each domain as well. Delivery takes place into a mailbox within a per-domain
7 directory, though a different transport could of course be substituted. The
8 delivery process is run as user exim, group mail. The list of domains is kept
9 in /etc/customer/domains.
11 # Transport: Place this in the "transports" section of the configuration.
13 virtual_localdelivery:
15 file = /var/spool/mail/${domain}/${local_part}
20 # Directors: Place these two directors in the "directors" section of the
21 # configuration. DO NOT put them immediately after the transport driver
22 # just defined - that's the wrong part of the configuration file.
24 # This director handles aliases. Because it has no transport setting, it
25 # just expands local parts that it recognizes into new addresses.
29 domains = lsearch;/etc/customer/domains
30 file = /etc/customer/${domain}.aliases
32 qualify_preserve_domain
34 # This director checks local parts. It *does* have a transport setting, so
35 # if it finds a local part in the file, the message is directed to that
36 # transport. The data following the local part in the file is not used.
40 transport = virtual_localdelivery
41 domains = lsearch;/etc/customer/domains
42 file = /etc/passwd.$domain