Hi,

I'm changing postfix local delivery to LMTP dovecot delivery and I'm have some doubts:

Before to move to LMTP I have something like this:

virtual_mailbox_maps:

h...@example.com maildir1/

ad...@example.com maildir2/

 @example.com   maildir1/


This works ok with "@example.com" as catchall entry. But when move to LMTP, unexisting accounts start to produce error on dovecot, and I add cathcall accounts on aliases:

virtual_mailbox_maps:

h...@example.com maildir1/

ad...@example.com maildir2/


virtual_alias_maps:

 @example.com h...@example.com


But with this configuration, catchall is working for ALL mail accounts, not only for unexisting accounts. Next test should be test to add all-accounts to alias maps:

virtual_mailbox_maps:

h...@example.com maildir1/

ad...@example.com maildir2/


virtual_alias_maps

 @example.com h...@example.com

h...@example.com h...@example.com

ad...@example.com ad...@example.com

..

This is the correct way? is really necessary to duplicate all existing account on aliases with A A keyvalues? Isn't there a cleaner way to only match the non-existent ones?

Reply via email to