Hello,
I have Postfix running in a testing 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 to directories for virtual-mailbox delivery:
/vmail/examplehost.com/angel/
/vmail/examplehost.com/mark/
My goal is to have Postfix deliver an e-mail for angel@examplehost.com 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:
mail-----------------------------destination
angel@examplehost.com----------examplehost.com/angel/
This and the rest of the configuration is working fine, but I just can not 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@test.com test@test2.com
and not
test@test.com test.com/test/ (as in virtual_mailbox_maps)
I will extremely apreciate help for this issue.
Thank you
Angel.