| 1 | # hcoop-change: This transport is used to deliver mail to virtual |
| 2 | # mailboxes (i.e. email accounts which have been granted to non-hcoop |
| 3 | # members by the owner of the domain) |
| 4 | |
| 5 | # Warning: This is currently known to not work for some domains. |
| 6 | # Perhaps we should be using a postgresql/mysql lookup here. |
| 7 | |
| 8 | virtual_delivery: |
| 9 | debug_print = "T: virtual_delivery for $local_part@$domain" |
| 10 | driver = appendfile |
| 11 | user = ${extract{uid}{${tr{${lookup{$local_part@$domain} \ |
| 12 | dbm{/etc/courier/exim.dat} \ |
| 13 | }}{|}{ }}}} |
| 14 | group = mail |
| 15 | mode = 0660 |
| 16 | mode_fail_narrower = false |
| 17 | envelope_to_add |
| 18 | return_path_add |
| 19 | directory = /home/vmail/${domain}/${local_part} |
| 20 | maildir_format |