Mutt Maildir Howto
How to use the Maildir format with the Mutt MUA.
It has technical and performance advantages over the mbox format.
It is supported by MTA’s like Exim, Postfix and qmail, MDA’s like maildrop and procmail and IMAP4/POP3 servers like Dovecot and Courier to just name a few.
This document uses the Maildir++ directory layout for Maildir subfolders.
Using Maildir format with Mutt
Basic setup
You should already have setup your system to use Maildir. This assumes your Maildir being ~/Maildir and that it contains Drafts and Sent subfolders as commonly used by other MUAs via IMAP4.
Mutt configuration
This section describes the statements to put into your muttrc.
First tell Mutt to use the Maildir format:
Next configure the locations of the common folders:
Set up mailboxes by scanning for all subfolders in ~/Maildir:
Add macros to make the folder browser usable by always using the mailboxes setup above:
To additionally get straight to the folder browser when copying, moving and attaching mail, add the following macros: