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!

Comments

  1. Hi Greenware,

    add more domain or email.

    Thanks
    HuuPV

    ReplyDelete
  2. Em chào anh ạ, anh ơi em muốn hỏi chút về việc phân loại spam mail của Zimbra ấy ạ.
    Cụ thể là trong Zimbra có một list nào chứa các spam email address/domain trong quá trình hoạt động ko ạ; hoặc là Zimbra có rrule nào đó để classify 1 email/email address là spam hoặc độc hại ko ạ?
    Em cảm ơn anh ạ!

    ReplyDelete

Post a Comment

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