procmail
[Top] [All Lists]

Re: locking

2006-10-29 04:01:47
ecocode schreef:
Bart:

MH directories can be vulnerable because there is a single
"sequences" file that keeps track of some meta-data, including which
number to use for the next file created (if there are 87 messages in
the directory and you delete number 87, the next one is still
supposed to be created as number 88).  However, IIRC procmail
doesn't bother to examine or maintain the sequences file, so you're
unlikely to get any *additional* brokenness from lack of locking.

that's what I'm fearing...
But then the question raises : how can procmail handle this kind of
situation without locking ?

Your question was about "maildir" type delivery, not "MH directory" type
delivery. So stop worrying and just stick to the "maildir" type
delivery, with recipes like:

  :0
  * condition
  .IN.sub/

(notice the slash)

A frequent mistake is to deliver to ".IN.sub/new", so don't do that.

-- 
Groet, Ruud


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>