Monitoring Incoming & outgoing mails in zimbra
Appearance
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.
Source -> http://www.postfix.org/ADDRESS_REWRITING_README.html#auto_bcc -> http://www.zimbra.com/forums/administrators/28958-solved-sender_bcc_maps-not-receiving-mail-lt.html
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**