[Rspamd-Users] Rules for different separated spam words such as pharmac=euticals or pharmaceutic*als

Tino Hendricks t.hendricks at interpool.de
Mon Mar 11 13:35:13 UTC 2024


Hi Knut,

to my (very limited) understanding the script goes into a /etc/rspamd/rspamd.local.lua, see  https://rspamd.com/doc/tutorials/writing_rules.html

If you want to do the composites thing it’s $LOCAL_CONFDIR/local.d/composites.conf

I stopped using the composites after a while because one guy here started writing serious mails that matched the composite thing exactly (like „To“ and „Subject“ starting with the same word…)

Cheers,

Tino



> Am 11.03.2024 um 14:18 schrieb Knut Krüger via Users <users at lists.rspamd.com>:
> 
> Am 11.03.24 um 12:10 schrieb Tino Hendricks:
> Hi Tino,
> 
> In which config file do I have to insert this?
> Does another config file have to be changed?
> 
> Best,
> Knut
>> Hi Knut,
>> 
>> „Lua Master“ Patrick helped me a lot with that in January:
>> https://lists.rspamd.com/pipermail/users/2024-January/003009.html <https://lists.rspamd.com/pipermail/users/2024-January/003009.html>
>> Maybe you’d give it a try, too?
>> 
>> Best,
>> 
>> Tino
>> 
>> 
>>> Am 11.03.2024 um 11:32 schrieb Knut Krüger via Users <users at lists.rspamd.com>:
>>> 
>>> Can I add a rule that eliminates special characters before checking for spam words?
>>> It would be even better if it only does this when it finds unseparated keywords.
>>> Pharmaceutical spam actually always contains unseparated words such as pharmacy, so that you users immediately recognize what it is about.
>>> I think eliminating special characters from every message first would result in a high server load.
>>> 
>>> Or is there another way to recognize SPAM from botnets with constantly changing spellings of keywords?
>>> 
>>> -- Users mailing list
>>> Users at lists.rspamd.com
>>> https://lists.rspamd.com/mailman/listinfo/users
>> 
> 
> -- 
> Users mailing list
> Users at lists.rspamd.com
> https://lists.rspamd.com/mailman/listinfo/users



More information about the Users mailing list