hi,
if you want to have bcc of all messages passes through postfix, then you may add line
Code:
always_bcc = mailaddress@domain.com
into your /etc/postfix/main.cf file. This options sends bcc of all messages i.e. incoming as well as outgoing, to
mailaddress@domain.com
Similarly, if you want to tweak the setting, you may use sender_bcc_maps and recipient_bcc_maps feature.
For example: if you want bcc of all outgoing message from a domain1.com, you may create a file with any name in /etc/postfix with something like this:
then run
Quote:
|
postmap /etc/postfix/filename
|
and
add following line to /etc/postfix/main.cf
Quote:
|
sender_bcc_maps = hash:/etc/postfix/filename
|
The same could be done with recipient_bcc_maps.
You may find details at
http://www.postfix.org/postconf.5.html
Hope this helps, tell me in any further clarification/guidance in the matter required.
Dipesh
Recent comments
18 hours 22 min ago
18 hours 27 min ago
23 hours 25 min ago
1 day 6 hours ago
1 day 6 hours ago
1 day 8 hours ago
1 day 12 hours ago
1 day 19 hours ago
1 day 22 hours ago
2 days 37 min ago