CentOS 8.x Zimbra forward a copy of all incoming and outgoing emails to audit email ID
From Notes_Wiki
Revision as of 03:39, 30 March 2022 by Saurabh (talk | contribs) (Created page with "Home > CentOS > CentOS 8.x > CentOS 8.x email servers > CentOS 8.x Zimbra > CentOS 8.x Zimbra forward a copy of all incoming and outgoing emails to audit email ID For auditing or security compliance purposes, it might be required to forward a copy of all incoming / outgoing emails to a particular audit email ID. To configure such forwarding use below steps: # Create '<tt>/opt/zimbra/conf/sender_bcc</tt>' with domains and email ID list...")
Home > CentOS > CentOS 8.x > CentOS 8.x email servers > CentOS 8.x Zimbra > CentOS 8.x Zimbra forward a copy of all incoming and outgoing emails to audit email ID
For auditing or security compliance purposes, it might be required to forward a copy of all incoming / outgoing emails to a particular audit email ID. To configure such forwarding use below steps:
- Create '/opt/zimbra/conf/sender_bcc' with domains and email ID list where a copy of all outgoing mails of domain will be forwarded to given email ID:
- @example.com audit@example.com
- @rnd.com audit@example.com
- Similarly create '/opt/zimbra/conf/recipient_bcc' with domains and email ID list where a copy of all incoming emails of domain will be forwarded to given email ID:
- @example.com audit@example.com
- @rnd.com audit@example.com
- Build the maps
- su - zimbra
- postmap /opt/zimbra/conf/sender_bcc
- postmap /opt/zimbra/conf/recipient_bcc
- Update email configuration to use sender_bcc and recipient_bcc files created above:
- sender_bcc_maps = lmdb:/opt/zimbra/conf/sender_bcc
- recipient_bcc_maps = lmdb:/opt/zimbra/conf/recipient_bcc
- Update ownership on files to zimbra:zimbra
- chown zimbra:zimbra /opt/zimbra/conf/sender_bcc* /opt/zimbra/conf/recipient_bcc*
- Reload postfix configuration
- su - zimbra
- postfix reload
- zmmtactl restart
Ref:
- https://wiki.zimbra.com/wiki/Email_redirection
- https://www.huuphan.com/2017/08/create-auto-bcc-for-sender-mails-zimbra.html
- https://www.huuphan.com/2017/08/create-auto-bcc-for-recipient-mails-zimbra.html
Home > CentOS > CentOS 8.x > CentOS 8.x email servers > CentOS 8.x Zimbra > CentOS 8.x Zimbra forward a copy of all incoming and outgoing emails to audit email ID