On Sat, 2009-08-01 at 16:13 -0700, an anonymous Nabble user wrote: > And the last problem: When I get mail with sign autolearn=ham so I tried > type sa-learn --spam --file mail. When I got the same mail so spamassassin > mark the mail again autolearn=ham. How is it possible when I learn bayes by > hand (sa-learn --spam --file mail) that this mail is spam? I have explicit > set in local.cf bayes_min_spam_num 1. This means that for bayes is > sufficient one mail for learning(according to me). But it dosesnt work.
Do NOT do that. Unless you *really* understand the implications. Which you don't. It's a default for a reason. It's a counter-measure against bad learning, to force at least some MINIMAL manual training, before auto-learning kicks in. You just side- stepped that. You should read some docs on Bayes, before messing with its settings. -- 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; }}}