On 09/05/2010 02:52 PM, Frank Doege wrote:
Hi,i have a postfix implementation where i use recipient_bcc maps to duplicate messages which are from users which are on my exchange server.
Don't you mean sender_bcc_maps in that case ?
This is neededbecause users still want to be able to read there mail with the conventionalimap system ( so forwarding is no solution ).The problem is that postfix seems to generate the bcc message before the spamfilterand then send it without checks to the exchange.
The first is correct, the second is highly unlikely.recipient_bcc_maps is parsed by cleanup(8), duplicating the message before it hits the incoming queue.
If you use the normal after-queue content_filter as your spam filter, then both messages will be processed by it.
You'd have to show logs of this happening to convince me that a bcc'd message bypasses the content-filter.
Of course, since you're not sharing what this "spamfilter" actually is, GIGO.
How can i change that behavior ? I would like that postfix does the bcc after thespamfilter(amavis) has been run.
You could move the duplication to virtual_alias_maps: [email protected] [email protected] [email protected]For more details, refer to http://www.postfix.org/ADDRESS_REWRITING_README.html#auto_bcc
and http://www.postfix.org/FILTER_README.html
J.
