Rspamd - Add White list and deactivate spam check for certain domains


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