error - Unknown option -2
Brad McNeely
brad_mcneely at excite.com
Tue Nov 9 17:58:47 CET 2004
When I run this script:
#!/bin/bash
SPAMBOX="/home/bmcneely/evolution/local/Inbox/subfolders/spam/mbox"
HAMBOX="/home/bmcneely/evolution/local/Inbox/mbox"
cat $SPAMBOX|bogofilter -M -s #this is spam
# unhash this if you want it to relearn your inbox each time as well
#cat $HAMBOX|bogofilter -M -n #this is spam
# -o 0.45 gives us a "tollerance rating"
# change -3 to -2 if you only want a plain yes or no spam rating
bogofilter -2 -o 0.45
ret=$? # save the return value
echo $ret >> /home/bmcneely/data/scripts/scanspam.log
exit $ret
I get this error on the line bogofilter -2 -o 0.45
Unknown option -2.
Any help is greatly appreciated.
Regards,
Brad
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
More information about the Bogofilter
mailing list