[Rspamd-Users] Multimap - Map content

Gerald Galster list+rspamd at gcore.biz
Fri Jun 7 20:43:53 UTC 2024


>>> I had had to add (score):
>>> 
>>> MM_BL_BODY {
>>>>>> score = 1;
>>> type = "content";
>>> filter = "oneline";
>>> multi = true;
>>> regexp = true;
>>> map = "/usr/local/etc/rspamd/local.d/MM_BL_BODY.map";
>>> description = "blacklist specific key words in body"
>>> }
>> 
>> You probably need to set some sort of default score, which you do with
>> score = 1 in MM_BL_BODY.
> 
> This is not a default score, it rather acts as an multiplier.

Thanks, that explains why it's sufficient for me to set a weight in
metrics.conf without setting a score in multimap. Score and weight
are sometimes a bit ambigous.

Best regards,
Gerald

> If I do increase to: "score = 10;" I will end up with ...
> 
> 	/boost\s+your\s+business/i MM_BL_BODY:7.50
> 
> … MM_BL_BODY (75)



More information about the Users mailing list