[mew-int 01827] Re: bogofilter 0.16.24

Tatsuya Kinoshita tats at example.com
Tue Jun 29 08:12:24 JST 2004


On June 28, 2004, [mew-int 01825],
fgs (at epulse.net) wrote:

> Previously I had bogofilter installed manually ( not part of SuSE
> 8.2 ).  Having now 'upgraded' to 9.1 I cannot get the suppled
> bogofilter to register anything as spam.  Spamicity always
> reported as 00000.00000 etc.  Has nayone managed to get the
> latest version to work.

Mew 4 (4.0.62 or later) has the following default values and they
works fine with bogofilter 0.92.0 (Debian package 0.92.0-1).

| (defcustom mew-spam-prog "bogofilter"
| (defcustom mew-spam-prog-args '("-s" "-N" "-v")
| (defcustom mew-ham-prog "bogofilter"
| (defcustom mew-ham-prog-args '("-n" "-S" "-v")

I got the following results:

* Copy the message [mew-int 01825] to ~/Mail/inbox/1

* Backup my ~/.bogofilter

| $ mv ~/.bogofilter ~/.bogofilter.BAK

* Run bogofilter (won't work, because ~/.bogofilter is not ready)

| $ bogofilter -p -I ~/Mail/inbox/1 | grep ^X-Bogo
| Can't open file 'wordlist.db' in directory '/home/tats/.bogofilter'.
| error #2 - No such file or directory.
| 
| Remember to register some spam and ham messages before you
| use bogofilter to evaluate mail for its probable spam status!

* On `Mew: +inbox', type `ls' (learn that the message is a spam)

* Run bogofilter (count the message as a spam)

| $ bogofilter -p -I ~/Mail/inbox/1 | grep ^X-Bogo
| X-Bogosity: Yes, tests=bogofilter, spamicity=1.000000, version=0.92.0

* On `Mew: +inbox', type `lh' (learn that the message is a ham)

* Run bogofilter (count the message as a ham)

| $ bogofilter -p -I ~/Mail/inbox/1 | grep ^X-Bogo
| X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.92.0

-- 
Tatsuya Kinoshita



More information about the Mew-int mailing list