-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Mittwoch, 22. Dezember 2004 20:47 schrieb Jeff Ramsey:
> Per the advice of Loren, I have started my bayes db over. And so far so
> good. SA is working like I wanted it to. I have another question about
> my learnspam script. Here is the script:
>
[..]
> echo Synchronizing $HAMBOX and $SPAMBOX to $SERVER
> rsync --partial --progress -z -e ssh $HAMBOX $SERVER:$TMPHDIR
> rsync --partial --progress -z -e ssh $SPAMBOX $SERVER:$TMPSDIR
>
> ssh $SERVER "
>         echo ; echo 'Learning ham...' ; echo ;
>         sa-learn --ham --showdots --mbox $TMPHDIR ;
>         echo 'Unlearning bad ham...' ; echo ;
>         sa-learn --ham --forget --showdots --mbox $TMPSDIR ;
>         echo 'Learning spam...' ; echo ;

I have tried to look into the sa-learn script. But I have in the moment no 
clue which option preceeds --ham or --forget. Maybe you are learnÃng all spam 
as  ham?  "sa-learn --forget --mbox" should do.

>         sa-learn --spam --showdots --mbox $TMPSDIR ;

[..]

> Do I have the sa-learn --forget line correct? Do I need it there at all?
> I placed it there because I wanted to make sure that all the junkmail
> not getting marked spam was not only being learned as spam, but
> unlearned as ham, just in case it was auto-learned as ham.

SA keeps track which messages have been learned as what. 

Thomas
- -- 
icq:133073900
aim:tawhv
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFBypKGHe2ZLU3NgHsRAhmTAJwKYX/MEkxgLD8VblSgty1G86QJHACghUSE
Uhk+U6zIO6wypR1bTTmA8bw=
=QCHc
-----END PGP SIGNATURE-----

Reply via email to