On Thursday, July 30, 2009 at 18:46 CEST,
Tino Donderwinkel <[email protected]> wrote:
> I'm using the recipient_bcc_maps setting in main.cf to 'archive' all
> e-mail to a separate mailbox:
>
> main.cf:
> recipient_bcc_maps = pcre:/etc/postfix/archive.pcre
>
> archive.pcre:
> if !/@archive\.bcc$/
> /^(.*)/ [email protected]
> endif
>
> Our postfix installation uses the 'virtual' transport for all
> messages. The users/aliases etc. are in a mysql database and we're
> using amavisd-new for message hygiene. One 'problem' is that all mail
> is 'archived' twice.
Disable address rewriting either before or after the content
filter. Right now recipient_bcc_maps is applied twice. Use
receive_override_options.
[...]
--
Magnus Bäck
[email protected]