On Tue, Mar 01, 2005 at 08:54:08PM +0100, Alexandre Fayolle wrote: > > > retitle 296322 Please provide some locking mechanism > > Could you please elaborate?
I'm not certainly sure what's unclear here ;) By database was corrupted due to simultaneous write access to it. And this happened because spambayes doesn't have any internal locking mechanism. I know I can use procmail lock files but that doesn't solve my problem, cause let's say I'm downloading 200 mails, and procmail starts to deliver them to my mailboxes. This could take even 5 minutes, and in the same time I'm reading processed mails in mutt. Let's say some of those mails are wrongly classified so I'm using some mutt macro to mark them as spam. Tada! This way both procmail and mutt tries to process mails with spambayes and my database get corrupt. That's very usual case on my box. regards fEnIo -- ,''`. Bartosz Fenski | mailto:[EMAIL PROTECTED] | pgp:0x13fefc40 | irc:fEnIo : :' : 32-050 Skawina - Glowackiego 3/15 - w. malopolskie - Poland `. `' phone:+48602383548 | proud Debian maintainer and user `- http://skawina.eu.org | jid:[EMAIL PROTECTED] | rlu:172001
signature.asc
Description: Digital signature