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.

Whitelist and Blacklist domain in zimbra 8.6

In this  tutorial, How to configure whitelist and blacklist domain in zimbra. To use amavisd.conf.in file before it's configure, To backup file /opt/zimbra/conf/amavisd.conf.in we need to score Positive is Blacklist and Negative score is whitelist. I'm running the commands with account zimbra ( su - zimbra)

Links to below you maybe likes:

Whitelist and Blacklist domain in zimbra 8.6

Whitelist and Blacklist domain in zimbra 8.6

To backup amavisd.conf.in file
su - zimbra
cp /opt/zimbra/conf/amavisd.conf.in /opt/zimbra/conf/amavisd.conf.in.bak

How to whitelist domain in zimbra

To add whitelist domain or emailID  in amavisd.conf.in file

vim /opt/zimbra/conf/amavisd.conf.in
The content whitelist domain as below:
{ # a hash-type lookup table (associative array)
'example.com' => -10.0,
'[email protected]' => -3.0,
'huuphan.com' => -20.0,
'devopsskills.info' => -20.0,
To restart zimbra amavisd service
zmamavisdctl restart

How to blacklist domain in zimbra

To add blacklist domain  or emailID in file amavisd.conf.in
vim /opt/zimbra/conf/amavisd.conf.in
The content blacklist domain as below:
{ # a hash-type lookup table (associative array)
'[email protected]' => 10.0,
'@mail.example.com' => 10.0,
To restart zimbra amavisd service
zmamavisdctl restart
To check zimbra.log log
tailf /var/log/zimbra.log

Conclusion

Thought the article, To help you how to whitelist and blacklist domain in zimbra. If you any question then comment below. Thanks for my reading!

post new :

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