Bug#251117: bogofilter does not correctly interpret the ~ value

David Relson relson at osagesoftware.com
Fri May 28 02:11:10 CEST 2004


On Thu, 27 May 2004 19:52:56 -0400
Clint Adams wrote:

> severity 251117 grave
> severity 250896 grave
> merge 250896 251117
> quit
> 
> David, it looks like tildeexpand() isn't being called due to the
> wordlist code reorganization in 0.91.0.
> 
> > The most recent release of bogofilter has completely ceased working.
> >  Error message is (roughly) '~/.bogofilter, no such directory'. 
> >  Attempts to recreate/retrain the database result in directories
> >  called "~" strewn about the filesystem.  0.90 works perfectly.  It
> >  appears that 0.91 doesn't correctly interpret the ~ character as
> >  'user's home directory'. 

Hi Clint,

Indeed there were some changes in how directories are being handled. 
I've not seen what you report.

As a quick test, I ran:

   [relson at osage src]$ echo test | bogofilter -d ~/.xxx -s
   [relson at osage src]$ ls -l ~/.xxx
   total 8
   -rw-r--r--  1 relson relson 8192 May 27 20:06 wordlist.db
   [relson at osage src]$ bogoutil -d ~/.xxx/wordlist.db 
   .MSG_COUNT 1 0 20040527
   head:test 1 0 20040527

All the output looks correct.

I need to know what command is being executed.  What are the options? 
Is a config file being used?  What are its non-comment lines.

Regards,

David



More information about the bogofilter-dev mailing list