Thursday, June 24, 2010

Postfix sender_bcc maps

Hi,

Simple steps to configure sender_bcc in postfix OR zimbra postfix.


1. Create a file in /opt/zimbra/postfix/conf/virtual.tab

2. Postmap the file. Follow as below.

3. Add the email address user@domain.com  123@domain.com (here 123@domain.com is just a dummy address).

exampler :-  user@domain.com     123@domain.com

4.  In virtual.tab add the email address to which account the mail copies to be sent. 123@domain.com abc@domain@.com, xyz@gmail.com, hdg@hotmail.com

5. Add the below line to main.cf
virtual_alias_maps = proxy:ldap:/opt/zimbra/conf/ldap-vam.cf,hash:/opt/zimbra/postfix/conf/virtual.tab

Now the mail should be able to get a bcc copy of mail.

Enjoy...

No comments: