# mailboxes (i.e. email accounts which have been granted to non-hcoop
# members by the owner of the domain)
-# Warning: This is currently known to not work for some domains.
-# Perhaps we should be using a postgresql/mysql lookup here.
-
virtual_delivery:
debug_print = "T: virtual_delivery for $local_part@$domain"
driver = appendfile
- user = ${extract{uid}{${tr{${lookup{$local_part@$domain} \
- dbm{/etc/courier/exim.dat} \
- }}{|}{ }}}}
- group = mail
- mode = 0660
+ user = ${extract{uid}{$address_data}}
+ group = nogroup
+ mode = 0600
mode_fail_narrower = false
envelope_to_add
return_path_add
- directory = /home/vmail/${domain}/${local_part}
+ directory = ${extract{mail}{$address_data}}${run{/etc/exim4/get-token \
+ ${extract{uid}{$address_data}}}{}}
maildir_format