How to create auto Bcc for sender mails for Zimbra 8.6
How to auto copy of all email from bcc_huupv@mail.huuphan.local to huupv@mail.huuphan.local. Every email send from bcc_huupv@mail.huuphan.local to email another, then automation bcc to huupv@mail.huuphan.local.
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
Test send email from bcc_huupv@mail.huuphan.local to huupv1@mail.huuphan.local, then auto bcc email to huupv@mail.huuphan.local
File log zimbra.log
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 - zimbraTo create sender_bcc
$ cd /opt/zimbra/postfix/conf/
$ vim sender_bccInput the content as below
bcc_huupv@mail.huuphan.local huupv@mail.huuphan.localTo add sender_bcc_maps in main.cf file
$ vim /opt/zimbra/postfix/conf/main.cfTo add the following line in below
sender_bcc_maps = lmdb:/opt/zimbra/postfix/conf/sender_bccTo apply configure sender_bcc_maps
$ postmap /opt/zimbra/postfix/conf/sender_bccTo restart the zimbra postfix
$ postfix reloadTo 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 bcc_huupv@mail.huuphan.local to huupv1@mail.huuphan.local, then auto bcc email to huupv@mail.huuphan.local
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
Hello,
ReplyDeletewould Like to know if you can help me with one of my task. I needed an automated script to identify the newly create Zimbra user and create a New archive mailbox for that user and make the entry in sender_bcc and recipient_bcc to send copy of incoming and outgoing mail to archive user.
Thanks in advance.