I have virtual_mailbox_maps in use with reject_unlisted_recipent and use
virtual_alias_maps to translate a validated address into a single matching
address for the corresponding dovecot user. For example:
/usr/local/etc/postfix/vmailbox
[email protected] whatever
/usr/local/etc/postfix/vuser
[email protected] [email protected]
In my case, these two tables will always match on the LHS.
Just wondering whether there any reason not to use the virtual_alias table for
both purposes? It would make synchronisation with the dovecot users DB just a
little easier.
virtual_mailbox_maps = hash:/usr/local/etc/postfix/vuser
virtual_alias_maps = hash:/usr/local/etc/postfix/vuser
(Mail sent directly to [email protected] should be rejected.)
--
Many thanks,
Phil