[Rspamd-Users] Rule not triggering on test email
James
list at xdrv.co.uk
Wed Nov 13 10:12:48 UTC 2019
On 12/11/2019 17:42, Sophie Loewenthal wrote:
> I wrote this rule to kill off some uncatchable spam:
>
> # cat /etc/rspamd/local.d/settings.conf
> SJL_AIRMAIL_DIE {
> re = "From=/\@mail\.appcenter\.ms/iH" ;
> group = "header";
> description = "Poison pill"
> score = 10; # 10 set for testing. Will be 20 later.
> }
Try file:
/etc/rspamd/rspamd.local.lua
with content:
config['regexp']['SJL_AIRMAIL_DIE'] = {
re = 'From=/\\@mail\\.appcenter\\.ms/Hi',
group = 'header',
description = 'Poison pill',
score = 10 -- 10 set for testing. Will be 20 later.
}
See:
https://rspamd.com/doc/tutorials/writing_rules.html#regexp-rules
More information about the Users
mailing list