Differences between version 2 and previous revision of MailDir.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Monday, February 24, 2003 4:01:04 pm | by StephenLewis | Revert |
Older page: | version 1 | Last edited on Monday, February 24, 2003 3:10:29 pm | by PerryLorier | Revert |
@@ -1,3 +1,15 @@
A Mailbox format for unix where the mailbox is a directory and every file in the directory is one email message. Gets around a lot of the serious limitations on the old mbox mailbox format. It's largest drawback is that everyone has their own "index" files that they generate for maildir and there is no agreed upon standard (even within version changes of a single program). In general far superior to mbox mailboxes.
-MailDir varients
aer used by Cyrus and courier imap daemons.
+MailDir variants
aer used by Cyrus and courier imap daemons.
+
+The details of the MailDir MailBoxFormat are slightly more complex than other similar schemes (such as [MH]). MailDir imposes certain naming and structural requirements on it's mailboxes, as follows:
+
+Each MailDir mailbox has three subdirectories: ''tmp'', ''new'' and ''cur''. The ''new'' subdirectory contains freshly delivered, unread messages. As messages are read, they are renamed into ''cur''. ''tmp'' is used to ensure reliable delivery.
+
+MailDir message naming conventions are defined so that message names are unique across shared filesystems, which means you don't get the normal set of file locking issues using most other formats.
+
+Some MetaData, in particular the message flags, is encoded into the filename for messages stored in ''cur''
+
+References (with detailed info):
+# [http://www.qmail.org/man/man5/maildir.html]
+# [http://cr.yp.to/proto/maildir.html]