On Sat, 2013-04-27 at 19:00 -0400, Joe Acquisto-j4 wrote: > > > Very interesting. However, I don't see any BAYES_xx markings in the > > > headers at all.
> > > I assumed that is because it is not scoring yet, due to low samples. > > > Or some other reason. > > > > that could be the reason, others might be diff users bayes learning > > > > > How do I find that number? > > > > --dump magic > > I seem to have not stated my query clearly, as several have suggested this. > Or, it was perfectly understood, but I am not comprehending. > > I don't want to know how to see the tokens, etc (I do, but already know how). You assumed Bayes might not working due to "low samples", and asked how to find "that number". Are you not asking for the number of ham and spam learned? sa-learn --dump magic See the result of this command for the number of spam and ham learned (nspam and nham respectively). You must run that command as the user SA runs as when scanning incoming mail. Which might be the recipient's system user, or a site-wide user depending on your setup. Obviously, initially training Bayes needs to be done as that very user(s), too. Which user(s) are that? Do you use site-wide or per-user configuration? > I was curious about this BAYES_xx thing, which I gather is something I should > see in a message header. The BAYES_nn headers are rules reflecting the Bayesian probability of the mail on a scale between ham (0.00) and spam (1.00). The two digit number is the probability expressed in percent. As has been pointed out at least twice in this thread, Bayes will not start working after at least 200 ham and spam each have been trained. How many did you train yet? (Hint: Output of above command.) Also, of course, Bayes needs to be enabled. It is by default, though you might want to cross-check with your site and/or user configuration. See the section Learning Options in the docs. http://spamassassin.apache.org/full/3.3.x/doc/Mail_SpamAssassin_Conf.html -- char *t="\10pse\0r\0dtu\0.@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; }}}