How to create auto Bcc for Recipient mails for Zimbra 8.6

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


How to create auto Bcc for sender mails for Zimbra 8.6

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




Aug 14 15:52:57 mail postfix/smtpd[80438]: connect from mail.huuphan.local[172.16.235.150]
Aug 14 15:52:58 mail postfix/smtpd[80438]: NOQUEUE: filter: RCPT from mail.huuphan.local[172.16.235.150]: <[email protected]>: Sender address triggers FILTER smtp-amavis:[127.0.0.1]:10026; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mail.huuphan.local>
Aug 14 15:52:58 mail postfix/smtpd[80438]: 23A9D2309B: client=mail.huuphan.local[172.16.235.150]
Aug 14 15:52:58 mail postfix/cleanup[80442]: 23A9D2309B: message-id=<[email protected]>
Aug 14 15:52:58 mail postfix/qmgr[79376]: 23A9D2309B: from=<[email protected]>, size=1181, nrcpt=2 (queue active)
Aug 14 15:52:58 mail postfix/smtpd[80438]: disconnect from mail.huuphan.local[172.16.235.150]
Aug 14 15:52:58 mail amavis[3275]: (03275-01) ESMTP:[127.0.0.1]:10026 /opt/zimbra/data/amavisd/tmp/amavis-20170814T155258-03275-JnexXveb: <[email protected]> -> <[email protected]>,<[email protected]> Received: from mail.huuphan.local ([127.0.0.1]) by localhost (mail.huuphan.local [127.0.0.1]) (amavisd-new, port 10026) with ESMTP; Mon, 14 Aug 2017 15:52:58 +0700 (ICT)
Aug 14 15:52:58 mail amavis[3275]: (03275-01) Checking: xC4Pvm0Yp6WL ORIGINATING/MYNETS [172.16.235.150] <[email protected]> -> <[email protected]>,<[email protected]>
Aug 14 15:52:58 mail postfix/amavisd/smtpd[80445]: connect from localhost[127.0.0.1]
Aug 14 15:52:58 mail postfix/amavisd/smtpd[80445]: E99D42309C: client=localhost[127.0.0.1]
Aug 14 15:52:58 mail postfix/cleanup[80442]: E99D42309C: message-id=<[email protected]>
Aug 14 15:52:58 mail postfix/qmgr[79376]: E99D42309C: from=<[email protected]>, size=1522, nrcpt=2 (queue active)
Aug 14 15:52:58 mail amavis[3275]: (03275-01) xC4Pvm0Yp6WL FWD from <[email protected]> -> <[email protected]>,<[email protected]>, BODY=7BIT 250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as E99D42309C
Aug 14 15:52:59 mail amavis[3275]: (03275-01) Passed CLEAN {RelayedInternal}, ORIGINATING/MYNETS LOCAL [172.16.235.150]:43052 <[email protected]> -> <[email protected]>,<[email protected]>, Queue-ID: 23A9D2309B, Message-ID: <[email protected]>, mail_id: xC4Pvm0Yp6WL, Hits: -, size: 1180, queued_as: E99D42309C, 801 ms
Aug 14 15:52:59 mail postfix/smtp[80443]: 23A9D2309B: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.97, delays=0.07/0.08/0.03/0.78, 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 E99D42309C)
Aug 14 15:52:59 mail postfix/smtp[80443]: 23A9D2309B: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.97, delays=0.07/0.08/0.03/0.78, 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 E99D42309C)
Aug 14 15:52:59 mail postfix/qmgr[79376]: 23A9D2309B: removed
Aug 14 15:52:59 mail amavis[3275]: (03275-01) extra modules loaded: /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/auto/Net/SSLeay/autosplit.ix, /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/auto/Net/SSLeay/randomize.al, Convert/UUlib.pm, IO/Socket/SSL.pm, Net/SSLeay.pm, unicore/lib/gc_sc/Digit.pl, unicore/lib/gc_sc/SpacePer.pl
Aug 14 15:52:59 mail postfix/lmtp[80449]: E99D42309C: to=<[email protected]>, relay=mail.huuphan.local[172.16.235.150]:7025, delay=0.68, delays=0.01/0.02/0.13/0.52, dsn=2.1.5, status=sent (250 2.1.5 Delivery OK)
Aug 14 15:52:59 mail postfix/lmtp[80449]: E99D42309C: to=<[email protected]>, relay=mail.huuphan.local[172.16.235.150]:7025, delay=0.69, delays=0.01/0.02/0.13/0.52, dsn=2.1.5, status=sent (250 2.1.5 Delivery OK)
Aug 14 15:52:59 mail postfix/qmgr[79376]: E99D42309C: removed

Comments

Popular posts from this blog

zimbra some services are not running [Solve problem]

Bash script list all IP addresses connected to Server

How to install php7 on centos 6