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
        validu...@example.com whatever

/usr/local/etc/postfix/vuser
        validu...@example.com dovecotu...@example.com

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 dovecotu...@example.com should be rejected.)

-- 
Many thanks,
Phil

Reply via email to