06b25c81 |
1 | # hcoop-change: Route mail for hosted domains |
2 | |
3 | virtual_user: |
a192bea1 |
4 | debug_print = "R: virtual_user for $local_part@$domain" |
06b25c81 |
5 | driver = accept |
6 | transport = virtual_delivery |
f4f251b1 |
7 | # Look up the parameters for this email address, and store them in |
8 | # $address_data for later use. If no data exists for this address, |
9 | # then "fail", which causes Exim to move on to the next router. |
10 | # This allows us to access the contents of $address_data in the |
11 | # virtual_delivery transport later on, without having to do multiple |
12 | # accesses to exim.dat. |
13 | address_data = ${tr{${lookup{$local_part@$domain} \ |
14 | dbm{/etc/courier/exim.dat}{$value} fail }} \ |
15 | {|}{ }} |