[Rspamd-Users] whitelist a specific "from" domain in rspamd but only for a particular "to" domain.

Aban Dokht mlist at abando.de
Mon Apr 11 16:04:47 UTC 2022


Aban Dokht via Users wrote:

>     score = -5 


I forgot the semicolon at the end of the score line, so here's the corrected version:

COMBINED_MAP_AND {
     type = "combined";
     prefilter = true;
     action = "accept";
     score = -5;
     rules {
       todomain = {
          type = "rcpt";
         map = "$LOCAL_CONFDIR/configs/maps/todomain .list";
         selector = "rcpts:domain";
       }
       fromdomain {
         map = "$LOCAL_CONFDIR/configs/maps/fromdomain.list";
         selector = "from:domain";
       }
     }
     expression = "todomain & fromdomain "
}



Regards
Aban

-- 
  Aban Dokht                                   aban.dokht at abando.de
------------------------------------------------------------------


More information about the Users mailing list