On Sat, 26 Jun 2004 14:36:20 +0200
Thomas Letzner <[EMAIL PROTECTED]> wrote:


> Mit welchem Befehl kann ich Bogo manuel lernen lassen? Funktioniert
> das �hnlich wie bei sa-learn?
> Also in etwa, bogo_train --ham/--spam  ~/mail/junkdir?

Hallo,

so l�ufts bei mir:

-------------------------------------
#!/bin/sh

# /home/mhennes/bogo_learn
# train bogofilter with new spam and non-spam
# user is assumed to be "xxxxxx"

GOODDIR="/home/xxxxxx/Mail/debian";
SPAMDIR="/home/xxxxxx/Mail/junk";

cd $SPAMDIR
echo SPAM
for i in *
do
echo Prozessing Mail ID\#$i;
bogofilter -s -v < $i;
done;

cd $GOODDIR
echo NoSPAM
for i in *
do
echo Prozessing Mail ID\#$i;
bogofilter -n -v < $i;
done;

cd /home/xxxxxx/Mail/Privat
echo NoSpam
for i in *
do
echo Prozessing Mail ID\#$i;
bogofilter -n -v < $i;
done;
--------------------------------------

bei Bedarf weiteres hinzuf�gen, findet sich auch in der Doku.

MfG     Martin

-- 
carpe diem

Antwort per Email an