On Tue, 2009-03-31 at 17:39 +0200, Lucio Chiappetti wrote: > On Tue, 31 Mar 2009, John Hardin wrote:
> > I suggest you also consider either disabling autolearn, or push the > > learn-as-ham threshold lower. > > I would be glad to do the latter, if I knew where to find such threshold. > There is nothing like that in /etc/mail/spamassassin/local.cf, nor I can > find any doc to configuration parameters on the wiki site. > > Would that be one of those two in /usr/share/spamassassin/10_misc.cf ? > > bayes_auto_learn_threshold_nonspam 0.1 > bayes_auto_learn_threshold_spam 12.0 Yes -- however, do *not* edit that file, but add your customized options to local.cf. Also, keep in mind that the threshold is not the same as the resulting total score, since a non-Bayes scoreset is used and some rules don't contribute at all, to prevent self-feeding. http://spamassassin.apache.org/full/3.2.x/doc/Mail_SpamAssassin_Plugin_AutoLearnThreshold.html -- 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; }}}