Hello,

We have in main.cf always_bcc = [email protected] and our domain is xx.com

For specific 2 recipients of our domain, we don't want always_bcc to be implemented. ie. if a mail is addressed to [email protected] (our domain only), mail should not be Bcc to [email protected]. similarly if mail recipient is [email protected] (our domain only), mail should not be Bcc to [email protected]. For all others always_bcc to continue.

So, in summary, main.cf

always_bcc = [email protected]
recipient_bcc_maps=regexp:/etc/postfix/regexp_recipient_bcc


#regexp_recipient_bcc

#/etc/postfix/regexp_recipient_bcc

[email protected]    [email protected]
[email protected]    [email protected]

Whether the above configuration will enable to get desired results? ie. always_bcc should not work for [email protected] and [email protected] and instead the mails are delivered to [email protected] and [email protected] only.

--
Anant S Athavale
------------------------------------------------------------------------------
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.
Website: https://www.ursc.gov.in
------------------------------------------------------------------------------

_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to