Hi All,

I have searched many hours on google trying to find if an virtual alias is possible in combination with a virtual mailbox with te same name.

The setup we have is a complete complete virtual based one with mailboxes stored in mysql

virtual_alias_domains = $virtual_alias_maps
virtual_alias_expansion_limit = 1000
virtual_alias_maps = mysql:/etc/postfix/mysql-autoreply.cf mysql:/etc/postfix/mysql-virtual.cf hash:/etc/postfix/virtual-special regexp:/etc/postfix/reserved-addresses
virtual_alias_recursion_limit = 1000
virtual_destination_concurrency_limit = $default_destination_concurrency_limit
virtual_destination_recipient_limit = $default_destination_recipient_limit
virtual_gid_maps = static:1002
virtual_mailbox_base = /
virtual_mailbox_domains = hash:/etc/postfix/mailbox-domains mysql:/etc/postfix/mysql-transport.cf
virtual_mailbox_limit = 51200000
virtual_mailbox_lock = fcntl
virtual_mailbox_maps = mysql:/etc/postfix/mysql-mailbox.cf
virtual_minimum_uid = 1000
virtual_transport = virtual
virtual_uid_maps = static:1002


Now i have already this working situation :
When an email comes in for a certain mailbox, lets say [email protected], it is aliased to [email protected] and some...@yahoomail. In my mysql table i then have two entries [email protected] -> [email protected] and [email protected] -> some...@yahoomail. This would make [email protected] a pure virt. alias and [email protected] a pure virtual mailbox.


My wish is this :
When an email comes in for a certain mailbox, lets say [email protected], i also want a copy to [email protected].
How do i have to setup this ?
@ first i would think of this : In my virtual mailbox maps i put [email protected] and in my virtual alias maps i put 2 entries : [email protected] -> [email protected] and [email protected] -> [email protected].

But in this example, the mail never arrives in the [email protected] virtual mailbox. Is it because the same name is present in both virtual alias maps and virtual mailbox maps ?

Kind regards

Gerrit.


Reply via email to