Merge branch 'upstream' into rebase_489
[hcoop/config/exim.git] / conf.d / router / 310_exim4-config_virtual_user
CommitLineData
06b25c81 1# hcoop-change: Route mail for hosted domains
2
3virtual_user:
a192bea1 4 debug_print = "R: virtual_user for $local_part@$domain"
1122052b
CE
5 # hcoop-change: deliver $user+$suffix to $user
6 local_part_suffix = +*
7 local_part_suffix_optional
06b25c81 8 driver = accept
9 transport = virtual_delivery
f4f251b1 10 # Look up the parameters for this email address, and store them in
11 # $address_data for later use. If no data exists for this address,
12 # then "fail", which causes Exim to move on to the next router.
13 # This allows us to access the contents of $address_data in the
14 # virtual_delivery transport later on, without having to do multiple
15 # accesses to exim.dat.
16 address_data = ${tr{${lookup{$local_part@$domain} \
17 dbm{/etc/courier/exim.dat}{$value} fail }} \
18 {|}{ }}