On 03.03.21 18:23, Steve Dondley wrote:
I have enabled the always_bcc setting with:
always_bcc = exam...@example.org
It works, but I'm getting everything three times. How do I prevent duplicates?
this can happen if you use content_filter that feeds mail back to postfix.
in these cases, you can configure master.cf to add
-o receive_override_options=no_address_mappings
either for the incoming mail in "smtp"
of for mail that is sent by content_filter:
I personally recommend the latter: to process incoming mail with address
mappings and disabling mappings when receiving mail from filter as described
in amavis docs:
https://www.ijs.si/software/amavisd/README.postfix.html#basics_smtpd-daemon
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
REALITY.SYS corrupted. Press any key to reboot Universe.