|
From: | Risto Kotalampi |
Subject: | Re: -r option and SA 3.0.0 |
Date: | Mon, 30 Aug 2004 15:12:30 -0700 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) |
I just upgraded to SA3.0rc2 myself and had the same problem. Looks like SA3.0 says "score=", instead of "hits=". Change the line in spam spamass-milter.cpp: rv = sscanf(spam_status,"%*s hits=%d", &score); to say: rv = sscanf(spam_status,"%*s score=%d", &score); -r option started to work again after I changed this and recompiled. Cheers, Risto Dan Nelson wrote: In the last episode (Aug 26), Jeff Powell said:I'm using spamass-milter .20 with SpamAssassin 3.0.0 rc1 (just upgraded it from 3.0.0 pre4.3) as it is packaged in the Mandrake Linux cooker and the -r option isn't working. I have had my reject threshold set at 25 points for some time now but I only just now realized that no bounces were taking place. SA3 is so good that despite not rejecting anything based on points I didn't notice anything amiss until today. I can provide log details, but let me know what debug level would be helpful."-d misc" should be all that's needed. You should see log lines saying either "SA score: 10" or "Could not extract score from <some text here>". Spamass-milter looks at the X-Spam-Status: field, searches for the text " hits=", and uses the number after that as the score, so if you could show me one of those lines from SA 3, I can adjust the milter to find it. |
[Prev in Thread] | Current Thread | [Next in Thread] |