maildirmake - create maildirs, and maildir folders

SYNOPSIS

maildirmake [ -f folder ] maildir

DESCRIPTION

This manual page documents the maildirmake command which comes with the maildrop package.

Maildirs are a new directory-based way to store mail that offers several advantages over traditional mailbox files. Delivering to maildirs uses absolutely no locking whatsover, and multiple processes can simultaneously deliver messages to a maildir without trampling each other.

The maildirmake command is a convenient way to create a maildir with all of its components, in one shot, with correct permissions.

The -f option creates a new "folder" within an existing maildir. The specified maildir must already exist, and the maildirmake command will create a new folder in it.

Folders are simply subdirectories inside the main maildir whose names start with a period, and which are themselves maildirs. For example, the command "maildirmake -f Drafts mail/Maildir" creates mail/Maildir/.Drafts, with the usual tmp, new, and cur. You MUST use the -f option, instead of specifying mail/Maildir/.Drafts directly, in order to correctly initialize maildrop's experimental support for manual quota enforcement.

SEE ALSO

maildrop(1), maildirquota(8), maildropfilter(1), http://www.qmail.org/man/man5/maildir.html, maildir(5).