Error 2 executing bogo in procmail

Kevin Williams netkev at gmail.com
Mon May 16 00:46:58 CEST 2005


i call procmail from .qmail and inside .procmailrc i do:

:0fw
| bogofilter -u -l -d /var/qmail/mailnames/##.com/kevin/.bogofilter

...and then...

:0
* ^X-Bogosity: Spam, tests=bogofilter
/.Junk/

However, the log for procmail is always similar too:

procmail: [4376] Sun May 15 15:10:35 2005
procmail: Assigning "DEBUG=yes"
procmail: Executing
"bogofilter,-u,-l,-D,-d,/var/qmail/mailnames/##.com/kevin/.bogofilter"
procmail: Program failure (2) of "bogofilter"
procmail: Rescue of unfiltered data succeeded

and then it matches an error rule in procmail.  I have already trained
bogofilter and the wordlist and .bogofilter directory is chmod 666
(for now) so it cant be a permissions thing.  Could it be that I
trained it wrong?  I'm using maildir mailboxes and I train like this:

bogofilter -d /var/qmail/mailnames/##.com/kevin/.bogofilter -nMB Maildir/.Trash/
bogofilter -d /var/qmail/mailnames/##.com/kevin/.bogofilter -sMB Maildir/.Junk/

-Kevin



More information about the Bogofilter mailing list