1 # hcoop-change: Route mail for hosted domains
4 debug_print = "R: virtual_user for $local_part@$domain"
5 # hcoop-change: deliver $user+$suffix to $user
7 local_part_suffix_optional
9 transport = virtual_delivery
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 }} \