Jump to content

Monitoring Incoming & outgoing mails in zimbra

From TetraWiki
Revision as of 11:49, 23 September 2013 by Shashanksharma (talk | contribs) (Created page with " Here is how to configure a particular mail id to hold a record of all either incoming,or outgoing mails from a particular server or a particular email id in Zimbra. C...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 Here is how to configure a particular mail id to hold a record of all either incoming,or outgoing mails from a particular server or a particular email 
 id in Zimbra.
 Changes in /etc/postfix/main.cf :
 #Add following line to get a bcc copy to your email id when some one send a mail:
   sender_bcc_maps = hash:/etc/sender_bcc
 #Add following line to get a bcc copy to your email id when some one receive a mail:
   recipient_bcc_maps = hash:/etc/recipient_bcc
 :wq!
 # vim /etc/sender_bcc
   @domain.com outgoing@domain.com                  #to get sent mails of whole server
   user@domain.com user_outgoing@domain.com         #to get sent mails of particular user
 # vim /etc/recipient_bcc
   @domain.com imcoming@domain.com                  #to get received mails of whole server
   user@domain.com user_incoming@domain.com         #to get received mails of particular user
 Now run the following commands
 # /opt/zimbra/postfix/sbin/postmap /etc/sender_bcc
 # /opt/zimbra/postfix/sbin/postmap /etc/recipient_bcc
 # /opt/zimbra/postfix/sbin/postfix reload 

---DONE--- Working fine on TIPL**