How to monitor incoming and outgoing messages of user/domain
How to monitor incoming and outgoing messages of user/domain
Hi my friends!
My boss told me that he want to monitor all incoming and outgoing message of all users in his company. Each email sent from/send to a email of company domain will be auto bcc to my boss.
I easily find many "how to" on Internet but all of them seem don't work as i expected
This KB that i have followed: https://wiki.zimbra.com/wiki/Email_redirection. In my Release 8.7.0_GA_1659.RHEL6_64_20160628192545 RHEL6_64 FOSS edition, i have change file config /opt/zimbra/postfix/main.cf to /opt/zimbra/common/conf/main.cf but when test send mail from or send mail to any email, it doesn't send a copy to mail of my boss.
Please give me some advices!
Thanks everybody!
My boss told me that he want to monitor all incoming and outgoing message of all users in his company. Each email sent from/send to a email of company domain will be auto bcc to my boss.
I easily find many "how to" on Internet but all of them seem don't work as i expected
This KB that i have followed: https://wiki.zimbra.com/wiki/Email_redirection. In my Release 8.7.0_GA_1659.RHEL6_64_20160628192545 RHEL6_64 FOSS edition, i have change file config /opt/zimbra/postfix/main.cf to /opt/zimbra/common/conf/main.cf but when test send mail from or send mail to any email, it doesn't send a copy to mail of my boss.
Please give me some advices!
Thanks everybody!
- fs.schmidt
- Outstanding Member
- Posts: 278
- Joined: Sat Sep 13, 2014 3:37 am
- Location: Brazil
- Contact:
Re: How to monitor incoming and outgoing messages of user/domain
Hello,
You could use Legal Intercept for incoming messages: https://wiki.zimbra.com/wiki/Legal_Intercept
For outgoing messages, use the "Sender BCC Maps" mentioned on https://wiki.zimbra.com/wiki/Email_redirection
Kind regards.
You could use Legal Intercept for incoming messages: https://wiki.zimbra.com/wiki/Legal_Intercept
For outgoing messages, use the "Sender BCC Maps" mentioned on https://wiki.zimbra.com/wiki/Email_redirection
Kind regards.
Re: How to monitor incoming and outgoing messages of user/domain
Thanks for your reply, fs.schmidt!fs.schmidt wrote:Hello,
You could use Legal Intercept for incoming messages: https://wiki.zimbra.com/wiki/Legal_Intercept
For outgoing messages, use the "Sender BCC Maps" mentioned on https://wiki.zimbra.com/wiki/Email_redirection
Kind regards.
But i have to search all the forum and Google, there are so many tuts but they seem cannot apply to Zimbra 8.7.
Below are the steps i have follow this wiki https://wiki.zimbra.com/wiki/Email_redirection
For monitor incoming Email:
Code: Select all
vi /opt/zimbra/common/conf/main.cf
Code: Select all
recipient_bcc_maps = lmdb:/opt/zimbra/conf/recipient_bcc
Code: Select all
vi /opt/zimbra/conf/recipient_bcc
Code: Select all
monitored@mydomain boss@mydomain
Code: Select all
postmap /opt/zimbra/conf/recipient_bcc
zmmtactl restart
Code: Select all
vi /opt/zimbra/common/conf/main.cf
Code: Select all
sender_bcc_maps = lmdb:/opt/zimbra/conf/sender_bcc
Code: Select all
vi /opt/zimbra/conf/sender_bcc
Code: Select all
monitored@mydomain boss@mydomain
Code: Select all
postmap /opt/zimbra/conf/sender_bcc
zmmtactl restart
Does anyone can try to help me?
- L. Mark Stone
- Ambassador
- Posts: 2802
- Joined: Wed Oct 09, 2013 11:35 am
- Location: Portland, Maine, US
- ZCS/ZD Version: 10.0.7 Network Edition
- Contact:
Re: How to monitor incoming and outgoing messages of user/domain
Assuming you are on the Open Source Edition so Archiving/Legal Intercept is not available to you, take a look at the Postfix parameter "always_bcc".
Hope that helps,
Mark
Hope that helps,
Mark
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
Re: How to monitor incoming and outgoing messages of user/domain
Hi MarkL. Mark Stone wrote:Assuming you are on the Open Source Edition so Archiving/Legal Intercept is not available to you, take a look at the Postfix parameter "always_bcc".
Legal Intercept is available on the OSS version, I use it.
Re: How to monitor incoming and outgoing messages of user/domain
Thanks Mark!L. Mark Stone wrote:Assuming you are on the Open Source Edition so Archiving/Legal Intercept is not available to you, take a look at the Postfix parameter "always_bcc".
Hope that helps,
Mark
But Legal Intercept doesnot work with IMAP/POP3/SMTP, it only available for webmail
I still search for another solution, perhaps i have to use Zimbra 8.6
Re: How to monitor incoming and outgoing messages of user/domain
lowhigh:
"I saw the lmdb file was created but when test mail send from/ to monitored@mydomain, no message come to boss@mydomain
Does anyone can try to help me? "
It's probably because you need to do postmap as zimbra user.
Maybe it would be better for you to use just always_bcc parameter. Then all messages going through your postfix will be bcc to your boss.
To do that you need to add line always_bcc = yourbossuser on the bottom of your /opt/zimbra/common/conf/main.cf file.
Thanks,
"I saw the lmdb file was created but when test mail send from/ to monitored@mydomain, no message come to boss@mydomain
Does anyone can try to help me? "
It's probably because you need to do postmap as zimbra user.
Maybe it would be better for you to use just always_bcc parameter. Then all messages going through your postfix will be bcc to your boss.
To do that you need to add line always_bcc = yourbossuser on the bottom of your /opt/zimbra/common/conf/main.cf file.
Thanks,
Re: How to monitor incoming and outgoing messages of user/domain
Hi all friendslomailer wrote:lowhigh:
"I saw the lmdb file was created but when test mail send from/ to monitored@mydomain, no message come to boss@mydomain
Does anyone can try to help me? "
It's probably because you need to do postmap as zimbra user.
Maybe it would be better for you to use just always_bcc parameter. Then all messages going through your postfix will be bcc to your boss.
To do that you need to add line always_bcc = yourbossuser on the bottom of your /opt/zimbra/common/conf/main.cf file.
Thanks,
I have to try with Zimbra 8.6 patch 8 and the wiki for monitor incoming and outgoing messages work very well
Thanks all!