Topic: Custom spamassassin rules?
I tried to add an custom rule for our spamassassin, and for some reason I can't get the results I'm after. Maybe I'm doing something totally wrong? For test purposes I created an file /usr/share/spamassassin/50_customrules with content:
header TIVI_SUBJ_TEST Subject =~ /^tivispamtest/
score TIVI_SUBJ_TEST 20
describe TIVI_SUBJ_TEST Test rule
So, as far as I can understand, now if the post arrives with subject starting 'tivispamtest' the post should get 20 points (well over the spam -limit) and get treated accordingly. However only header even remotely related to this is: X-Virus-Scanned: Debian amavisd-new at mail.myhost.foo
The spam filter itself works, since if I send GTUBE test from the same account it's marked as spam just like it should, but this custom rule doesn't apply.
Any help is appreciated.
----Urgent issue? Pay iRedMail developer to solve it remotely at $29.