Hi, I'm using postfix-3.7.9 multi-instance on fedora38 and can't figure out
why always_bcc and recipient_bcc_maps aren't working on the outbound
instance. It would work best in the outbound instance because of other
processing that's happening in the inbound instances.

# postmulti -l
-               -               y         /etc/postfix
postfix-out     mta             y         /etc/postfix-out
postfix-117     mta             y         /etc/postfix-117
postfix-114     mta             y         /etc/postfix-114
postfix-116     mta             y         /etc/postfix-116
postfix-118     mta             y         /etc/postfix-118
postfix-115     mta             y         /etc/postfix-115

In the postfix-out instance, I've tried different combinations of
always_bcc and recipient/sender_bcc_maps but I don't think I understand
properly how they work.

# postconf -n -c /etc/postfix-out |grep bcc
recipient_bcc_maps = pcre:/etc/postfix-out/recipient_bcc_maps
sender_bcc_maps = pcre:/etc/postfix-out/recipient_bcc_maps

/etc/postfix-out/recipient_bcc_maps:
/^.*@domain.com$/           bcc-user
/./                                        bcc-user

In the transport map, I have the server name delivering locally:
xavier.example.com  local:
.xavier.example.com local:

I don't understand what's different about the postfix-out instance that
prevents it from processing the always_bcc or the bcc_maps parameters. Did
I read properly that the no_address_mappings could be preventing it?

127.0.0.1:10025 inet n    -       n       -       16    smtpd
    -o content_filter=
    -o smtpd_delay_reject=no
    -o smtpd_client_restrictions=permit_mynetworks,reject
    -o smtpd_helo_restrictions=
    -o smtpd_sender_restrictions=
    -o smtpd_recipient_restrictions=permit_mynetworks,reject
    -o smtpd_data_restrictions=reject_unauth_pipelining
    -o smtpd_end_of_data_restrictions=
    -o smtpd_restriction_classes=
    -o mynetworks=127.0.0.0/8,209.111.90.0/24
    -o smtpd_error_sleep_time=0
    -o smtpd_soft_error_limit=1001
    -o smtpd_hard_error_limit=1000
    -o smtpd_client_connection_count_limit=0
    -o smtpd_client_connection_rate_limit=0
    -o
receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_milters,no_address_mappings
    -o local_header_rewrite_clients=
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to