Thread: email archiving
View Single Post
  #2  
Old 7th May 2012, 08:54
dipeshmehta dipeshmehta is offline
Senior Member
 
Join Date: Nov 2008
Location: Rajkot, India
Posts: 173
Thanks: 5
Thanked 13 Times in 13 Posts
Send a message via Yahoo to dipeshmehta Send a message via Skype™ to dipeshmehta
Default

you may use sender_bcc_maps and recipient_bcc_maps feature.

For example: if you want bcc of all outgoing message, you may create a file with any name in /etc/postfix with something like this:
Code:
*@domain1.com mailaddress@domain1.com
*@domain2.com mailaddress@domain2.com
then run
Code:
postmap /etc/postfix/filename
and
add following line to /etc/postfix/main.cf
Code:
sender_bcc_maps = hash:/etc/postfix/filename
Similar for recipient_bcc_maps.

then, restart postfix

You may find details at http://www.postfix.org/postconf.5.html
Reply With Quote