summaryrefslogtreecommitdiffstats
path: root/doc/wiki/MailboxFormat.mailstore.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/wiki/MailboxFormat.mailstore.txt')
-rw-r--r--doc/wiki/MailboxFormat.mailstore.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/wiki/MailboxFormat.mailstore.txt b/doc/wiki/MailboxFormat.mailstore.txt
new file mode 100644
index 0000000..3993602
--- /dev/null
+++ b/doc/wiki/MailboxFormat.mailstore.txt
@@ -0,0 +1,17 @@
+Mailstore
+=========
+
+This format originated with exim. Each message is written as two unique
+filenames ending in .env and .msg. The .env contains the message envelope, and
+the .msg file contains the actual message. When an email is delivered, the
+email header is created with the suffix .tmp, and the message is created with
+.msg. When the .msg file is completed, the .tmp file is renamed to end in .env.
+Programs wishing to access an email must wait for both files to be present, or
+for the absence of the .tmp file.
+
+References
+----------
+
+ * http://www.exim.org/exim-html-4.60/doc/html/spec.html/ch26.html#id2639666
+
+(This file was created from the wiki on 2019-06-19 12:42)