Monitoring Incoming and Outgoing Mails of Zimbra

 

[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

The original source is available at

http://www.efensys.com/blog.html.

Advertisements

About bpn4it

Feel Free in Linux. Bipin Patel bpn4it@gmail.com Ahmadabad, Gujarat, India
This entry was posted in Uncategorized and tagged , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s