procmail, mutt and bogofilter problems

Matthias Andree matthias.andree at gmx.de
Fri Nov 15 11:58:51 CET 2002


jerry <jondola at mtaonline.net> writes:

> Hey list:
> I am trying to get bogofilter incorporated into a gentoo 1.4 box and am
> having some difficulties.
> Several days ago, I recieved an email from the gentoo-user list that an
> individual had made an ebuild for bogofilter, this was dl'd, and
> compiled using gcc 3.2, installation completed with no errors, judy was
> installed in the same fashion, with no errors.

Judy is no longer needed when you've got a recent version. Gyepi's
wordhash code replaces Judy without ill-effect so far.

> And now that you have a black and white picture, the problems.
> When adding the following to the~/Procmail/rc.list or ~/.procmailrc
> file, no logging occurs and mail is placed into /home/jerry/.maildir/cur
> :0HB:
> * ? bogofilter
> IN-Mail/spam
>
> :0HB:
> * ? bogofilter
> IN-spam
>
> If, however these two rules are commented out, mail is correctly
> sorted and procmail logging occurs.

You'd need -l to get logging. Plus, you need to tell _procmail_ if you
want it to log, use LOGFILE=$HOME/procmail.log and possible LOGABSTRACT
or VERBOSE (see man procmailrc).

> I am also having difficulties understanding how to have bogofilter read
> and update the goodlist/spamlist, I've tried to pass my self sorted spam
> list thru bogofilter:
>
> bogofilter -p /home/jerry/Mail/inbox/spam -s -v -v
> bogofilter -p -s -u -e -v -v -v -l <
> /home/jerry/Mail/inbox/spam/spam3.txt >bogofilter2.txt
> bogofilter2.txt has a list of words and associated rankings, on that I
> am guessing. the final line has:

Don't use -p with -s, -S, -n or -N. Recent versions should complain if
you try that.

-- 
Matthias Andree




More information about the Bogofilter mailing list