Re: mailbox integrity



On 2003.08.22 01:58, Willem Riede wrote:
> On 2003.08.21 05:01, Pawel Salek wrote:
> >
> > On 2003.08.21 04:27, Willem Riede wrote:
> > > Is it possible that I have locking issues where Balsa and  
> procmail
> > > accessed a mailbox at the same time and I ended up with lost  
> data?
> >
> > It is possible if the delivery process does not lock properly the
> > mailbox. Balsa uses usually double locking: first it creates a lock
> > file, then it locks also the file with flock() - the latter one
> > works only on local file systems.  I use recipies like below:
> >
> > :0H:
> > * ^List-Id:.*desktop-devel
> > lists/gnome-devel
> 
> I have "MAILDIR=$HOME/Mail" and then deliver to for instance "Balsa"
> in which case procmail appends to the file "$HOME/Mail/Balsa".
> Will procmail and balsa use the same lock file in this setup?

Yes.

-pawel



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]