I had a question regarding writing a custom rule. I recently wrote one but it doesn't seem to be working. I was just wondering whether there ws something wrong with the rule I wrote.
I am currently running SA 2.63 on Red Hat 7.2. In the local.cf file located in /etc/mail/spamassassin I added these lines:
rawbody VIRUS_WARNING89 /------------- Virus Warning Message (on westaway)/
describe VIRUS_WARNING89 Unhelpful virus message (89)
score VIRUS_WARNING89 7.0
You need to escape the parenthesis:
rawbody VIRUS_WARNING89 /------------- Virus Warning Message \(on westaway\)/
Also make sure spamassassin --lint runs without complaint.
Do I need to restart a daemon or anything?
Well, if you use spamd, yes, you need to restart it.
