Magnus Bäck wrote:
On Thursday, November 19, 2009 at 20:01 CET,
     Osmany Goderich Navarro <osm...@oc.quimefa.cu> wrote:

I have a Postfix+Dovecot+MySQL configuration. I want postfix to bcc
messages coming from a specific address to a specific domain. I have
currently hosting three virtual domains.
I have tried to use sender_bcc_maps to do this, but this only copies
the messages to certain users regardless of what domain the message
was meant to go. Can anyone please help me find out how to tell
sender_bcc only to work for one specific domain?

Our Postfix product, MPP, can do this but it is commercial, though quite reasonable.

Postfix does not support this natively. You need to use either
sender_bcc_maps or recipient_bcc_maps and send the messages to a filter
or similar that applies the second domain restriction and only passes
a subset of the messages. If the bcc'd messages are being delivered
locally you should be able to use a delivery agent like procmail to
do this.


Mike Katz
http://www.mailspect.com

Reply via email to