[Rspamd-Users] Multimaps seem to not work

Gerald Galster list+rspamd at gcore.biz
Wed Aug 10 16:04:02 UTC 2022


Hello,

> WHITELIST_IP {
>    type = "ip";
>    map = "$CONFDIR/local.d/whitelist_ip.map";
>    description = "Local ip whitelist";
>    action = "accept";
> }

try to add: prefilter = true;

[...]

> The IP based maps are not yet in use, I cannot say anything about that.
> 
> In the whitelist_to_header.map I have two entries, 
> 
> spam at filter.xyz.net
> ham at filter.xyz.net
> 
> which seems to work fine. When submitting a ham the message got flagged as spam
> first, but after adding this map mails now pass to my filter learning script.

When submitting mails for ham/spam training, there is no need to run tests.
Check if prefilter = true helps.

Best regards,
Gerald



More information about the Users mailing list