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