miércoles, 27 de febrero de 2013

Zimbra 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


-------------------------------------------------------------------------------------------

Login to terminal and run these command as zimbra user
sudo su
su – zimbra
Edit postfox config file
nano /opt/zimbra/postfix/conf/main.cf
Below last line of the main.cf add the following line
always_bcc = inoutmails@example.com
Reload postfix
postfix reload

No hay comentarios:

Publicar un comentario