I have enabled the submission service in master.cf:

submission inet n       -       -       -       -       smtpd
  -o syslog_name=postfix/submission
  -o smtpd_tls_security_level=encrypt
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_reject_unlisted_recipient=no
  -o smtpd_client_restrictions=$mua_client_restrictions
  -o smtpd_helo_restrictions=$mua_helo_restrictions
  -o smtpd_sender_restrictions=$mua_sender_restrictions
  -o smtpd_recipient_restrictions=
  -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
  -o milter_macro_daemon_name=ORIGINATING
  -o sender_bcc_maps=$outgoing_bcc_maps
  -o smtpd_milters=

Most of the above is the default (commented out) Debian jessie config,
which I have uncommented.  In main.cf I have:

recipient_delimiter = -
mua_helo_restrictions =
mua_client_restrictions =
mua_sender_restrictions =
outgoing_bcc_maps = regex:/etc/postfix/outgoing_bcc_maps

/etc/postfix/outgoing_bcc_maps contains:

/^(.*)@(.*)$/ outgoing-${1}@${2}

But I am not getting any bcc's.  Mail for outgoing-foo is correctly
delivered to outgoing.  Is sender_bcc_maps handled by cleanup or
incoming in a way that the submission-specific setting is ignored?  The
value of sender_bcc_maps for other than the submission service is empty.

Thanks...Marvin

Reply via email to