| 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 | virtual_delivery: |
| 6 | debug_print = "T: virtual_delivery for $local_part@$domain" |
| 7 | driver = appendfile |
| 8 | user = ${extract{uid}{${tr{${lookup{$local_part@$domain} \ |
| 9 | dbm{/etc/courier/userdb.dat} \ |
| 10 | }}{|}{ }}}} |
| 11 | group = mail |
| 12 | mode = 0660 |
| 13 | mode_fail_narrower = false |
| 14 | envelope_to_add |
| 15 | return_path_add |
| 16 | directory = ${extract{mail}{${tr{${lookup{$local_part@$domain} \ |
| 17 | dbm{/etc/courier/userdb.dat} \ |
| 18 | }}{|}{ }}}}${run{/etc/exim4/get-token \ |
| 19 | ${extract{uid}{${tr{${lookup{$local_part@$domain} \ |
| 20 | dbm{/etc/courier/userdb.dat} \ |
| 21 | }}{|}{ }}}}}{}} |
| 22 | maildir_format |