[Rspamd-Users] Combined maps for whitelist

Alex JOST jost+lists at dimejo.at
Fri Jan 3 08:23:38 UTC 2020


Am 02.01.20 um 17:51 schrieb Info @ Qadisha.IT:
> Hi
> 
> i'd like to whitelist certain email if the From and the source IP 
> address are listed in two different map files.
> I guess the Combined Maps should help in achieving this, but so far i'm 
> not able to have it works.
> 
> Do you have an example to share with me? Is there something else more 
> appropriate to evaluate multiple maps prior to apply a reduced score?
> 
> Thanks
> Antonino
> 
> 

https://rspamd.com/doc/configuration/composites.html

# /etc/rspamd/local.d/force_actions.conf
#
rules {
   CUSTOM_WHITELIST {
     action = "accept";
     expression = "WHITELIST_FROM & WHITELIST_IP";
   }
}

-- 
Alex JOST


More information about the Users mailing list