Le ven 31/10/2003 � 14:05, Fedele Stabile a �crit :
> Maybe, the subject was wrong so i repost (was: SA_LEARN Hot To)
>  
> Hi,
> 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
> sa-learn
> in sequence?
> Fdeele

Hi,

I didn't get any answer to my own questions. Maybe I'll get lucky if I
help you ;-)

I can simply suggest the way I do it.

I store all my spam mail in a SPAM_TRAINING folder. And once in a while
I execute the following script. (I've put a nice little icon on my
desktop to avoid the trouble of typing the command in a console. I'm
lazy.)

============================
#!/bin/bash
echo "Analyzing SPAM_TRAINING folder"
sa-learn --spam --mbox --showdots --no-rebuild
/home/user/evolution/local/A_JUNK/subfolders/SPAM_TRAINING/mbox
sa-learn --rebuild

dummy=0

echo "Done. Press Enter"
read dummy
echo "Done"
============================

Of course, you must change the path </home/user/evolution/local...> to
your own "spam training" folder.

I like this method because I'm sure that Spamassassin is training only
with stuff I feed him.

I've done something similar to have it learn what is good stuff (--ham
parameter instead of --spam).

I hope it helps you!

Philippe Chartier

_______________________________________________
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution

Reply via email to