On Wed, 2013-05-01 at 14:35 -0400, Andrew Talbot wrote: > Thank you for that! > > Off-list you mentioned that you don't need to set the cron/expire because of > Redis features; why is it commented out here?
Because it is a comment about a cron job, followed by an actual 'sa-learn' command. Commented out, consider it documentation. Unlike everything above, which are M::SA::Conf configuration options suitable for a .cf file. With the occasional comment for documentation. > > # bayes.cf > > > > use_bayes 1 > > bayes_auto_learn 1 > > bayes_auto_expire 0 > > > > bayes_learn_to_journal 0 > > > > # Dont' want to wait for the deault 200 hams/spams bayes_min_ham_num > > 20 bayes_min_spam_num 20 > > # cron weekly > > # sa-learn --force-expire -- 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; }}}