[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SA-3.0.0 - Could not extract score from <Yes, score=4.6......
From: |
Jack L. Stone |
Subject: |
Re: SA-3.0.0 - Could not extract score from <Yes, score=4.6...... |
Date: |
Sun, 26 Sep 2004 21:37:34 -0500 |
Ouch! Sorry I missed that all-important message.
Thanks Russell...!!
At 10:11 PM 9.26.2004 -0400, Russell J. Lahti wrote:
>This has been brought up on the list before, I believe the
>code is already in CVS:
>
>(8/30/2004)
>http://lists.gnu.org/archive/html/spamass-milt-list/2004-08/msg00013.html
>
> > ..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.
>
>Hope this helps.
>
>-Russell
>
>
>Jack L. Stone wrote:
>> Am running FBSD-4.10p2/Sendmail-8.12.11/spamass-milter-0.2.0_4
>>
>> Have just installed Spamassassin-3.0.0-Release and all runs well except for
>> spamass-milter cannot parse the score using the -r switch.
>>
>> I can no longer block spam using the -r switch. I suspect it may be because
>> the SA-2.64 version used "hits=xx.x" rather than "score=xx.x"
>>
>> Is anyone else having this issue? I follow this list but did not see others
>> beside the one that was assumed to be from rbl timeouts.
>>
>> If it is just a simple change of the code on a certain line, I might be
>> able to handle that.
>>
>> Below is the error from maillog.
>>
>> Sep 26 20:09:24 sageweb spamass-milter[40856]: Could not extract score from
>> <Yes, score=4.6 required=4.5
>>
tests=FROM_HAS_MIXED_NUMS,FROM_HAS_MIXED_NUMS3,INVALID_DATE,INVALID_MSGID,NO
>> _REAL_NAME,UNDISC_RECIPS autolearn=no version=3.0.0-sageame.rules_v3000>
>>
>> Best regards,
>> Jack L. Stone,
>> Administrator
>>
>> Sage American
>> http://www.sage-american.com
>> address@hidden
>>
>>
>> _______________________________________________
>> Spamass-milt-list mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/spamass-milt-list
>>
>> .
>>
>
>
Best regards,
Jack L. Stone,
Administrator
Sage American
http://www.sage-american.com
address@hidden