Powered by Blogger.

Monitoring Incoming and Outgoing mails

Edit main.cf

 [root@map007]# vim /opt/zimbra/postfix/conf/main.cf

Add following line to get a bcc copy to your email id when some one send a mail :-

 sender_bcc_maps = hash:/opt/zimbra/conf/sender_bcc

Add following line to get a bcc copy to your email id when some one receive a mail :-

 recipient_bcc_maps = hash:/opt/zimbra/conf/recipient_bcc

Create two files in /opt/zimbra/conf directory

 touch /opt/zimbra/conf/sender_bcc
 touch /opt/zimbra/conf/recipient_bcc
 chown zimbra.zimbra /opt/zimbra/conf/sender_bcc
 chown zimbra.zimbra /opt/zimbra/conf/recipient_bcc

Edit these files and add entry like this :-
 support@efensys.com sandeep@efensys.com

After this I will get in/out mail’s copy of support@efensys.com email account to sandeep@efensys.com email id.

 As zimbra user, run following commands :-

 su - zimbra
 postmap /opt/zimbra/conf/sender_bcc
 postmap /opt/zimbra/conf/recipient_bcc
 postfix reload
    Blogger Comment
    Facebook Comment