Difference between revisions of "Rspamd - Add White list and deactivate spam check for certain domains"

(Created page with " Add the file /etc/rspamd/local.d/multimap.conf with this content: <pre>WHITELIST_SENDER_DOMAIN { type = "from"; filter = "email:domain"; map = "/etc/rsp...")
 
 
Line 6: Line 6:
 
       type = "from";
 
       type = "from";
 
       filter = "email:domain";
 
       filter = "email:domain";
       map = "/etc/rspamd/local.d/whitelist.sender.domain.map";
+
       map = "/var/lib/rspamd/whitelist.sender.domain.map";
 
       score = -6.0
 
       score = -6.0
 
   }</pre>
 
   }</pre>

Latest revision as of 11:39, 9 April 2020


Add the file /etc/rspamd/local.d/multimap.conf with this content:

WHITELIST_SENDER_DOMAIN {
      type = "from";
      filter = "email:domain";
      map = "/var/lib/rspamd/whitelist.sender.domain.map";
      score = -6.0
  }



Add the file /etc/rspamd/local.d/whitelist.sender.domain.map with this content:

mydomain.tld