I found what is wrong.Thank u Karsten
The problem was format of the email files. There are two extra headers in
the beginning of the emails
FROM: and RCPT TO:.So I removed all these headers and now spamassassin is
doing its job which is excellent:)


Karsten Bräckelmann-2 wrote:
> 
> On Mon, 2009-02-09 at 03:54 -0800, cnone wrote:
>> I scanned over 2000 mails and it gave me score over 5.0 for all of them.
>> Most
>> of the scores were 5.4.Is there a way to change default threshold? By the
> 
> Yes, there is. Mind having a look at your configuration? The default
> local.cf ships with a glaring hint.
> 
>> way if the score is very higher than 5.0 like 8.0,does that mean it has
>> the
>> highest probability to be a spam?
> 
> That's not much higher than 5. :)  Anyway, yes, the higher the score,
> the more likely to be spam.
> 
> 
>> > On 09.02.09 03:50, Karsten Bräckelmann wrote:
>> > > By "accurate" I mean -- SA can do a best effort guess. SA can not one
>> > > hundred percent accurately identify spam. Whenever any program is
>> > > involved, there's always a possibility for mis-classified mail. Only
>> a
>> > > human can be more accurate.
> 
> Btw, I mentioned this cause it seems you're doing some kind of stats.
> For which you generally need something to compare it against -- like
> manually classified corpora.
> 
> As usual, we will be able to help you better, if we know what you're
> trying to accomplish.
> 
> 
> -- 
> char
> *t="\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
> main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8?
> c<<=1:
> (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0;
> }}}
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Calling-spamc-and-looping-through-files-tp21905369p21919954.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Reply via email to