I want to match this pattern in my spamassassin's filtering rules:
Password archivio: 666
Per conto di:
There is a space after di: and the number can be of undefined digits.
in my custom.cf I have created this rule
body CUSTOM_SPAM_RULE /Passwordsarchivio:sd+
Perscontosdi:s/
score CUSTOM_SPAM_RULE 99.9
describe CUSTOM_SPAM_RULE Regola di spam custom
I have checked the regex with an online tool and is working, you can check it here https://regex101.com/r/O3BfDK/1 but I have no hits in my mail gateway, the server side configuration is working cause if I change the rule to a simple regex like est and send an email with a body containing test, I can clearly watch the hits. So, what I'm missing?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…