Maildir

Maildir
Filename extensionNone; a directory structure
Internet media typeNone registered
Developed byDaniel J. Bernstein
Initial release1995 (1995)
Type of formatEmail mailbox storage
Container forEmail messages in RFC 5322 form
Extended toMaildir++
StandardDe facto, per Bernstein's Using maildir format
Websitecr.yp.to/proto/maildir.html

The Maildir e-mail format is a common way of storing email messages on a file system, rather than in a database. Each message is assigned a file with a unique name, and each mail folder is a file system directory containing these files. Maildir was designed by Daniel J. Bernstein circa 1995, with a major goal of eliminating the need for program code to handle file locking and unlocking through use of the local filesystem. Maildir design reflects the fact that the only operations valid for an email message is that it be created, deleted or have its status changed in some way.

Internal structure