On 18.06.24 14:05, Anders Gustafsson wrote:
body LOCAL_PORN_RULE   
/kiimainen|naida|sexikäs|nussikas|nussia|pillu|pano|kinky|bdsm|pillua|x69-JOOGA/i
score LOCAL_PORN_RULE 8
describe LOCAL_PORN_RULE       This catches peter's porn spam

Sorry again for mailing directly. No idea why it suggests the user and not 
users@


I guess that the "sexikäs" causes troubles.
Do you use SA 4.0 ? That should be compatible with utf-8.

Matus UHLAR - fantomas <uh...@fantomas.sk> 2024-06-18 14:00 >>>
On 18.06.24 13:50, Anders Gustafsson wrote:
body LOCAL_PORN_RULE   /word1|word2.....|x69-JOOGA/i
score LOCAL_PORN_RULE 8
describe LOCAL_PORN_RULE       This catches peter's porn spam

Funny thing is that it seems to trigger on messages that contain none of those 
words. I have removed the
actual words so that my message will not be regarded ass spam ??????

Wonder if it is that last word that matches some regexp??

This can happen in case of incorrect regular expression.
Maybe uf you posted it here, we could see the error.

run spamassassin -D < mail 2>/tmp/mail.err
and you should be able to see which string matched

Finally, SA recommends using multiple rules with small scores instead of
single rule with huge score.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"To Boot or not to Boot, that's the question." [WD1270 Caviar]

Reply via email to