bogominitrain not working

David Relson relson at osagesoftware.com
Fri May 27 23:30:33 CEST 2005


On Fri, 27 May 2005 14:19:23 +0300
Edvard Majakari wrote:

> 
> Might be already fixed, but bogominitrain seems to have some bug in recent
> versions - I get the folowing message
> 
> ,----
> | Error accessing file or directory '/home/ed/.bogofilter'.
> | error #9 - Bad file descriptor.
> `----
> 
> every time I run bogominitrain. Changing line
> 
> print `$bogoutil -w $dir .MSG_COUNT`,"\n";
> 
> to
> 
> print `$bogoutil -w $dir/wordlist.db .MSG_COUNT`,"\n";
> 
> seems to correct the problem. I use bogofilter version 0.94.4.
> 
> --
> # Edvard Majakari		Software Engineer
> # PGP PUBLIC KEY available    	Soli Deo Gloria!

H'lo Edvard,

The problem is fixed in bogominitrain.pl as distributed with bogofilter
0.94.12 - the current stable release.

Between 0.92.8 (the previous stable release) and the current version
there were some file path changes to clean up the code.  While that was
being done some of bogoutil's processing was also changed (mostly to
make more consistent when the parameter should be a file and when it
should be a directory).  You encountered one of the bits that was out
of sync with the changes.

Regards,

David




More information about the Bogofilter mailing list