Richard Raether via Postfix-users: > We have an auditor account where all incoming and outgoing mail is BCC'd > to, to retain for compliance reasons. However, since mailman retains its > own archives, and we have a mailman on a separate server with a separate > domain, is there a way to tell postfix DO bcc everything EXCEPT DON'T > bcc anything from this particular domain? BTW, the other machine uses > our mail server as a relay, which might make a difference.
It is not possible with always_bcc (as the name suggests, it does make any distinction). It is possible if you use sender_bcc_maps and/or reciopient_bcc_maps. Example for recipient_bcc_maps, to exclude BCC copies for recipients that match anyth...@lists.example.com: /etc/postfix/main.cf: recipient_bcc_maps = pcre:/etc/postfix/recipient_bcc /etc/postfix/recipient_bcc: # DO NOT indent text between the IF and ENDIF lines! IF !/@lists\.example\.com$/ /./ ...auditor... ENDIF Wietse _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org