What is the difference between setting up an alias in virtual_alias_maps and virtual_mailbox_maps?

I can make alias@domain point to a mailbox by pairing it with the path to the maildir in virtual_mailbox_maps but it seems if I do that the alias can only point to one mailbox not multiple.

e.g

user@domain     /path/to/user@domain/

alias@domain    /path/to/user@domain/

this works OK but if I was to do

user1@domain     /path/to/user1@domain/

user2@domain     /path/to/user2@domain/

alias@domain    /path/to/user1@domain/

alias@domain    /path/to/user2@domain/


this doesnt work. Posfix logs that it has deleivered a message to alias@domain successfully but the message never arrives in either box nor does it bounce back.


I can also add an entry in virtual_alias_maps, does this have the ability to point to multiple mailboxes and should I be using this for all rather than doing it in virtual_mailbox_maps?


Regards

Andrew


Reply via email to