Bug I think with configfile.c

David Relson relson at osagesoftware.com
Thu Jan 29 13:28:22 CET 2004


On Thu, 29 Jan 2004 15:56:23 +0530
Manvendra Bhangui wrote:

> David,
> 
> On Fri, 2004-01-23 at 18:12, David Relson wrote:
> 
> To have wordlist.db in /var/sifymail/etc, you can include
> "bogofilter_dir=/var/sifymail/etc" in your bogofilter.cf file or you
> can run bogofilter with argument "-d /var/sifymail/etc"
> 
> That is what I was doing till bogofilter-0.16.2. With
> bogofilter-0.16.3 one has to explicitly give the "-d" argument.
> 
> The bug is wierd and  dissapears when the code in the function
> process_config_option() is carried out directly in the 
> function read_config_file().
> 
> Running gdb also shows some variable corruption in datastore.c
> 
> truss -o /tmp/truss.txt bogofilter -vvv < /etc/hosts
> also shows bogofilter trying to open wordlist.db twice.
> 
> The first time the correct wordlist.db is opened,
> the second time bogofilter tries to open wordlist.db in
> $HOME/.bogofilter(I have attached truss output)

Manvendra,

This sounds familiar and I think it's fixed in 0.16.4.  Can you give
that a try?

Unfortunately I don't have time to dig into your debug output now as I
have to head for work in about 1/2 hour.

Please let me know if 0.16.4 works for you.

David




More information about the Bogofilter mailing list