Hello.  I've configured Postfix to relay mail from a specific address to a 
remote MTA through 'sender_dependent_relayhost_maps' and that works fine.  I 
now want to BCC an address for messages sent by this same user.  The most 
obvious option seemed 'recipient_bcc_maps', but unfortunately I'm not receiving 
the BCCs.  Perhaps the relayhost option is delivering mail before processing of 
the BCC option?


# postconf -n

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
header_checks = regexp:/etc/postfix/header_checks
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
myhostname = demo-infrastructure.cloudswitch.com
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.5.6/README_FILES
recipient_bcc_maps = hash:/etc/postfix/recipient_bcc_maps
relay_domains = $mydestination,cloudswitch.com,hotmail.com
sample_directory = /usr/share/doc/postfix-2.5.6/samples
sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_sasl_auth_enable = yes
smtp_sasl_mechanism_filter = digest-md5
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_sender_dependent_authentication = yes
unknown_local_recipient_reject_code = 550



Thanks for any guidance you can provide.


Regards,

Damon

Reply via email to