I have Postfix running in a test server; I have the installation set for Maildir delivery using virtual accounts (virtual mailboxes-non existing linux accounts) and I am able to send and receive e-mails.
I am looking for a way to make Postfix deliver an e-mail to two (or more if specified) Maildir (s) at the same time; for example, I have set two directories for virtual-mailbox delivery:
My goal is to have Postfix deliver an e-mail for firstname.lastname@example.org to both directories!
I have the next parameters in Postfix's main.cf configuration file:
virtual_mailbox_base = /vmail
virtual_mailbox_maps = mysql:/etc/postfix/virtual_mysql_map.cf
In MySql table I have:
This and the rest of the configuration is working fine, but I just can't get to a solution for what I want to do.
I try inserting in the table's destination field: examplehost.com/angel/, examplehost.com/mark/
but the virtual daemon does not like that.
I have also tried the Postfix's parameter in main.cf:
virtual_alias_maps = hash:/etc/postfix/virtual_alias
but this parameter's conventions are:
test.com/test/ (as in virtual_mailbox_maps)
I will extremely apreciate help for this issue.