[Rspamd-Users] white lists

Kai Bojens kb at artfiles.de
Tue Oct 24 08:46:43 UTC 2023


Am 24.10.23 um 10:17 schrieb natan:

> Do you have any example or howto ?

Sure. Use this multimap:

SENDER_FROM_WHITELIST_RCPT {
           type = "from";
           filter = "email:addr"
           map = "redis+selector://rcpts('smtp').lower";
           symbol = "SENDER_FROM_WHITELIST_RCPT";
           require_symbols = "R_SPF_ALLOW";
           prefilter = true;
           action = "accept";
}

You would then need to have redis entries with the e-mail address as 
HASHKEY. I am not sure if this example is fully correct but the 
documentation for Dependant Maps only says "TODO: write more".



More information about the Users mailing list