How do I initialize?]
Chris Wilkes
cwilkes-bf at ladro.com
Tue Jan 7 20:23:01 CET 2003
On Tue, Jan 07, 2003 at 02:13:00PM -0500, Brandon Martus wrote:
> `man bogofilter`
>
> If you are trying to classify that 'spam' file as spam, you are not
> providing the correct flags.
>
> If you are trying to classify that 'spam' file as ham, you are not
> providing the correct flags.
>
> If you are trying to run that 'spam' file through bogofilter, to change
> the headers properly, you are not providing the correct flags.
I use a format like his
bogofilter < spamemail.txt
all the time with .qmail script. You can do it from the command line
and check the return code ($?) to see if it was a spam (0) or not (1).
ie:
bogofilter < notspam.txt
echo $?
1
bogofilter < spam.txt
echo $?
0
Maybe the OP's problems are due to DB4 issues. Did the OP have that
installed?
Chris
More information about the Bogofilter
mailing list