Huu Phan | Blog Linux operating system | Linux operating system -Blog Huu Phan | www.huuphan.com

This Blog is protected by DMCA.com

huuphan.com. Powered by Blogger.

How to create auto Bcc for sender mails for Zimbra 8.6

How to auto copy of all email from [email protected] to [email protected] Every email send from [email protected] to email another, then automation bcc to [email protected]
How to create auto Bcc for sender mails for Zimbra 8.6

How to create auto Bcc for Recipient mails for Zimbra 8.6







To check "Sender BCC Maps" sender_bcc_maps on your zimbra 8.6
$ postconf | egrep "sender_bcc_maps"
The output as below
sender_bcc_maps =
To configure sender bbc maps on zimbra 8.6
# su - zimbra
$ cd /opt/zimbra/postfix/conf/
To create sender_bcc
$ vim sender_bcc
Input the content as below
[email protected] [email protected]
To add sender_bcc_maps in main.cf file
$ vim /opt/zimbra/postfix/conf/main.cf
To add the following line in below
sender_bcc_maps = lmdb:/opt/zimbra/postfix/conf/sender_bcc
To apply configure sender_bcc_maps
$ postmap /opt/zimbra/postfix/conf/sender_bcc
To restart the zimbra postfix
$ postfix reload
To check "Sender BCC Maps" sender_bcc_maps on your zimbra 8.6
$ postconf | egrep "sender_bcc_maps"
The output as below
sender_bcc_maps = lmdb:/opt/zimbra/postfix/conf/sender_bcc

Test send email from [email protected] to [email protected], then auto bcc email to [email protected]

File log zimbra.log

Aug 10 10:14:38 mail amavis[2981]: (02981-01) ESMTP:[127.0.0.1]:10026 /opt/zimbra/data/amavisd/tmp/amavis-20170810T101438-02981-X60RTMsg: -> , Received: from mail.huuphan.local ([127.0.0.1]) by localhost (mail.huuphan.local [127.0.0.1]) (amavisd-new, port 10026) with ESMTP; Thu, 10 Aug 2017 10:14:38 +0700 (ICT)
Aug 10 10:14:38 mail amavis[2981]: (02981-01) 5q6Qbhxu_dx2 FWD from -> ,, BODY=7BIT 250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 5D52B2307D

Aug 10 10:14:38 mail postfix/smtp[28641]: 17CEA2307C: to=, relay=127.0.0.1[127.0.0.1]:10026, delay=0.4, delays=0.01/0/0.05/0.34, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 5D52B2307D)
Aug 10 10:14:38 mail postfix/smtp[28641]: 17CEA2307C: to=, relay=127.0.0.1[127.0.0.1]:10026, delay=0.4, delays=0.01/0/0.05/0.34, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 5D52B2307D)
Aug 10 10:14:38 mail postfix/qmgr[27563]: 17CEA2307C: removed

Aug 10 10:14:38 mail postfix/lmtp[28644]: 5D52B2307D: to=, relay=mail.huuphan.local[172.16.235.150]:7025, delay=0.45, delays=0.02/0.01/0.16/0.26, dsn=2.1.5, status=sent (250 2.1.5 Delivery OK)
Aug 10 10:14:38 mail postfix/lmtp[28644]: 5D52B2307D: to=, relay=mail.huuphan.local[172.16.235.150]:7025, delay=0.45, delays=0.02/0.01/0.16/0.26, dsn=2.1.5, status=sent (250 2.1.5 Delivery OK)
Aug 10 10:14:38 mail postfix/qmgr[27563]: 5D52B2307D: removed

post new :

Huu Phan | Blog Linux operating system | Huu Phan ~ Zimbra Mail Server,linux,bash script,centos,linux command | www.huuphan.com

1 comments :


What's up friends, good article and good urging commented here, I am in fact enjoying by these. gmail login email

Relay