nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] Maildir support for inc

2004-08-10 11:25:01
So, here's a refined patch based on a week or so of use. It seems
that the right thing to do is to inc all the mail in the cur and
new directories of a Maildir, so the patch does that.

Just to pe pedantic: techincally, the correct thing is to:

1) move mail from new to cur. There's a minor filename change involved here;
see http://cr.yp.to/proto/maildir.html for details.

2) process all of the files in cur.


This is what all of the clients I've experimented with do (mutt, various pop
and imap servers). Doing the operations in this order helps keep the new
directory empty even in the face of processing errors, crashes, etc. (see
"crash-only
software":http://www.stanford.edu/~candea/papers/crashonly/crashonly.html)
for that argument :-).

Oh, and thanks for working on this!

-- 
Harald Koch chk(_at_)pobox(_dot_)com




_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
http://lists.nongnu.org/mailman/listinfo/nmh-workers

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