procmail
[Top] [All Lists]

Re: Confused about locking

2009-10-10 12:17:38
* Paul Gardiner <lists(_at_)glidos(_dot_)net> [2009-10-10 17:04 +0100]:
James Michael Fultz wrote:
<http://cr.yp.to/proto/maildir.html>

"Two words: no locks. An MUA can read and delete messages while new mail
is being delivered: each message is stored in a separate file with a
unique name, so it isn't affected by operations on other messages. An
MUA doesn't have to worry about partially delivered mail: each message
is safely written to disk in the tmp subdirectory before it is moved to
new. The maildir format is reliable even over NFS."

Just out of interest, what about with files in mailbox format?

The MISCELLANEOUS section of procmail(1) also says:

"Procmail is NFS-resistant and eight-bit clean."

So procmail may be reliable with mbox files over NFS, but that doesn't
mean that other software is.  I'd research any software I would be using
for that but would generally avoid the situation if possible.
____________________________________________________________
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>