QWeb Ric
Basic Pleskian
We've created /usr/share/spamassassin/99_custrules.cf and added a bunch of custom rules. As far as I can tell from the documentation the rules within this file are valid, and spamassassin --lint throws no issues, but even after a /usr/local/psa/admin/bin/spammng --restart it doesn't look like these rules are having any affect.
For example, these two rules are supposed to kill anything with park2travel web or email links:
uri CUST_L03 /www\.park2travel\.com/i
score CUST_L03 3
description CUST_L03 contains park2travel links
uri CUST_L04 /\@park2travel\.com/i
score CUST_L04 5
description CUST_L04 contains park2travel email links
But still a tonne of park2travel emails pass through just fine, with scores of around -2.9. Additionally the x-spam-status flag doesn't ever reference these custom rules. For example the latest park2travel email has this flag:
X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00,
DKIM_SIGNED,DKIM_VALID,HTML_MESSAGE,SPF_PASS,URIBL_BLOCKED autolearn=ham
version=3.3.2
Any ideas what could be going wrong? I'm wondering if the autolearn=ham flag means that before adding these rules, the server already decided these emails were acceptable?
Server is CentOS 6.9 and Plesk is Onyx 17.0.17.
For example, these two rules are supposed to kill anything with park2travel web or email links:
uri CUST_L03 /www\.park2travel\.com/i
score CUST_L03 3
description CUST_L03 contains park2travel links
uri CUST_L04 /\@park2travel\.com/i
score CUST_L04 5
description CUST_L04 contains park2travel email links
But still a tonne of park2travel emails pass through just fine, with scores of around -2.9. Additionally the x-spam-status flag doesn't ever reference these custom rules. For example the latest park2travel email has this flag:
X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00,
DKIM_SIGNED,DKIM_VALID,HTML_MESSAGE,SPF_PASS,URIBL_BLOCKED autolearn=ham
version=3.3.2
Any ideas what could be going wrong? I'm wondering if the autolearn=ham flag means that before adding these rules, the server already decided these emails were acceptable?
Server is CentOS 6.9 and Plesk is Onyx 17.0.17.