How to whitelist and blacklist email using salocal.cf.in in zimbra

We can blacklist any email id and domain in zimbra mail server for decreasing spam mail manually.  We can also whitelist domain or email id if you do not want this to receive in junk or due to any reason you do not receive mail from outside.

Blacklist email id and domain in zimbra using SpamAssassin  config file
$vim /opt/zimbra/conf/salocal.cf.in         (Make entry below of file)
blacklist_from *@domain.com
blacklist_from user@domain.com

Restart below service to take effect
$ zmmtactl restart && zmamavisdctl restart
Now, send testmail from outside. your mail will be discarded .

Whitelist email id and domain in zimbra

$vim /opt/zimbra/conf/salocal.cf.in         (Make entry below of file)
whitelist_from *@domain.com
whitelist_from user@domain.com

Restart below service to take effect
$ zmmtactl restart && zmamavisdctl restart
Share on Google Plus

About Penguin Technology

I am a passionate cloud and DevOps professional specializing in Linux and open-source solutions. Through this blog, I share my knowledge and experience with the community, offering tips and insights on cloud technologies and DevOps practices.
    Blogger Comment

1 comments:

  1. I gathered as much knowledge regarding to the Linux, web sever and database server from your site.Keep on updating with more interesting topic.
    Moreover to recover the lost file from Linux Click on:
    android data recovery review
    launch android data recovery
    backup and restore android apps and data
    android backup app data
    recover lost files
    diskdigger pro file recovery


    ReplyDelete