mdir – mail directory format


The mdir format is used by Upas as a replacement for tradition mailbox format. An mdir mailbox is a directory containing any number of messages stored one message per file. Individual messages are stored in the same format they would be in a traditional mailbox; each message is a valid mailbox with a single message. The message files are named with the UNIX seconds corresponding to the date on the From line, a “.” separator and a two digit sequence starting with 00.

One mdir may contain other mdirs but (currently) this relationship is in name only. The mail box /mail/box/a\f5 does not contain any messages from /mail/box/a/b, according to upasfs(4).


splitmbox(8), upasfs(4)