I need to set bcc for messages from specified sender to specified recipient.
smtpd_sender_restrictions = <...>
check_sender_access
mysql:/etc/postfix/mysql/mysql-sender.cf
<...>
For my sender adress [email protected]<mailto:[email protected]> it resolves
'FILTER smtp:[127.0.0.1]:10027', logging says that trigger is turning:
<[email protected]>: Sender address triggers FILTER smtp:[127.0.0.1]:10027;
I have set this trigger for the specification of non-default options
with key -o, I need to override always_bcc option:
127.0.0.1:10027 inet n - n - 10 smtpd
-o content_filter=
-o smtpd_sender_restrictions=
-o [email protected]
But instead of [email protected] <mailto:[email protected]><mailto:[email protected]>
the message copy sended to [email protected]<mailto:[email protected]>,
which globaly set in my configuration file main.cf
([email protected])
Actually, I need to override recipient_bcc_maps option, but their
override not work as so as always_bcc. In this message I use always_bcc
option because that don't require to use any additional map.
How to make it work?
postconf -n: http://pastebin.com/EZn8T4m9
log with smtpd -v for my 127.0.0.1:10027 instance:
http://pastebin.com/nLkcPecj