I have SpamAssassin running as filter on my Evolution,
but now i want to use sa-learn automatically.
Any suggestion on how i can operate on Evo?
AT the moment i have a subfolder SPAM that i examine befor delete ol
spam mail, but i would automatically use sa-learn whenever i have spam.
What about creating a filter rule that execute 
spamassassin -e
in sequence?

Using spamc/spamd combination rather than spamassassin will dramatically
decrease scanning time. Also, when training Bayes filters this way, you
probably want the --no-rebuild option and periodically rebuild the
Bayesian database.

I don't really see how you can automate the sa-learn process. You have
to specifically tell it whether what it is looking at is spam or
non-spam (ham). Training sa-learn on messages that spamassassin has
already correctly identified as spam is a waste of time.

Depends -- identified SPAM which is below the autolearn threshold should
be learned manually to optimize results. Already learned messages are
recognized, thus learning again does not do any harm.

In order to use sa-learn you first have to train it on a whole bunch of
non-spam. Pick some of you biggest folders (which contain no spam) and
run sa-learn on them like this:

sa-learn --ham --mbox ~/evolution/local/path/to/folder/mbox

Yep, learning HAM as well is important.


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; }}}

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]