Test wrote:
Ok, small clarification:

Postfix delivers to cyrus-imapd via lmtp

I want to deliver the same messages to another imap server (Zarafa)  for
testing purposes...

I can off course configure postfix to deliver to another lmtp target,
but i want to deliver to the both...


Postfix delivers mail to recipients. Each recipient must have exactly one final destination.

To deliver to multiple destinations, you need multiple recipients.

Use virtual_alias_maps (not virtual_alias_domains) or recipient_bcc_maps to add a second recipient.

Although there is some overlap of which method to use when, generally one would use virtual_alias_maps to duplicate mail for specified users, and recipient_bcc_maps to duplicate mail for everyone in a specific domain.

a bare-bones example:

# main.cf
virtual_alias_maps = hash:/etc/postfix/virtual
smtp_generic_maps = hash:/etc/postfix/generic

# virtual_alias_maps
[EMAIL PROTECTED]  [EMAIL PROTECTED], [EMAIL PROTECTED]

# smtp_generic_maps
@server2.example.com  @example.com


--
Noel Jones

Reply via email to