Jimmy Stewpot wrote:
Hello,

How do you clear the AWL and Bayes Lists is that just a case of deleting the files or is there some special command to do that ?

Regards,

Jimmy

JamesDR wrote:
Jimmy Stewpot wrote:
Hello,

I am currently trying to configure spam assassin with some custom rules to block certain words which are being used in a large amount of spam that the email servers receive. When I put the following rules into the local.cf file

body VIjAGRA /\bVIjAGRA\b/i
score VIjAGRA 3.0
describe VIjAGRA VIAGRA_SPAM


I can see from the mail logs that the email is now seeing that the term is used in the email but the score is not being increased as the email passes through the spamassassin process. Here is the log file



Jul 17 14:06:25 poopey spamd[19323]: spamd: processing message <[EMAIL PROTECTED]> for clamav:89 Jul 17 14:06:27 poopey spamd[19323]: spamd: clean message (0.5/5.0) for clamav:89 in 1.3 seconds, 1293 bytes. Jul 17 14:06:27 poopey spamd[19323]: spamd: result: . 0 - AWL,BAYES_00,MSGID_FROM_MTA_HEADER,VIjAGRA scantime=1.3,size=1293,user=clamav,uid=89,required_score=5.0,rhost=localhost.localdomain,raddr=127.0.0.1,rport=51601,mid=<[EMAIL PROTECTED]>,bayes=1.66533453693773e-16,autolearn=no

I am a little confused as to what is actually wrong with the rules to make it so that the score is not bieng incremented as the spam is being parsed by SA. Any advice would be greatly appreciated.

Regards,

Jimmy


I'm willing to bet that these two:
AWL,BAYES_00
Are killing your score.
Check why bayes thinks this is ham, I notice that it did not autolearn (autolearn=no), I'm also willing to bet that your bayes DB is pretty much hosed (it thinks this mail is def. ham -- the BAYES_00 hit) Clear AWL, Clear and start from scratch on Bayes also (my recommendation would be to turn off autolearn.)


That all depends on how they are stored.. Are you using SQL? then a simple DELETE FROM...should work.
Please post some info about how your bayes/awl db's are stored.

--
Thanks,
James

Reply via email to