Bug#253138: bogofilter: error when processing concurrently from procmail

Clint Adams schizo at debian.org
Mon Jun 7 14:20:22 CEST 2004


Thinko somewhere?

On Mon, Jun 07, 2004 at 01:53:07PM +0200, Erwan David wrote:
> 
> When using bogofilter from procmail without lock (as said in man
> page), when several messages arrive at same time (from fetchmail, uucp
> or /etc/periodic) I get error :
> 
> bogofilter: (db) DB->open(/home/edavid/.bogofilter/wordlist.db) -
> actually /home/edavid/.bogofilter/wordlis
> t.db bogohome: /home/edavid/.bogofilter -, err: 17, File exists
> Can't open file 'wordlist.db' in directory '/home/edavid/.bogofilter'.
> error #17 - File exists.
> procmail: Program failure (3) of "bogofilter"
> procmail: Rescue of unfiltered data succeeded
> 
> Using a lock (and thus serializing in procmail the use of bogofilter)
> makes those messages disappear.
> 
> There was no problem with 0.91.0
> 
> -- System Information:
> Debian Release: testing/unstable
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: i386 (i686)
> Kernel: Linux 2.4.25-1-k7
> Locale: LANG=C, LC_CTYPE=fr_FR at euro
> 
> Versions of packages bogofilter depends on:
> ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an
> ii  libdb4.2                    4.2.52-16    Berkeley v4.2 Database Libraries [
> ii  libgsl0                     1.4-8        The GNU Scientific Library (GSL) -
> 
> -- no debconf information



More information about the bogofilter-dev mailing list