Hi,
I try to understand and use
https://rspamd.com/doc/tutorials/writing_rules.html.
I want to create a rule that returns a specific score for a particular message
ID (using regexp).
As I understood the manual, it is sufficient for my purpose to write the
following into "${CONFDIR}/rspamd.local.lua":
config['regexp']['LOCAL_MID_TEST'] = {
re = '/^Message ID:\sBla/',
score = 0,
description = 'custom MID rule',
group ='local',
}
But after a rspamd restart the symbol LOCAL_MID_TEST does not appear in the web
interface or in configdump. I don't think that the file rspamd.local.lua is
included in the configuration!?
Anybody got a hint for me?
Cheers,
Helge