The following line of config, when added to Muttrc, will ensure that all Maildir directories in ~/Maildir are available to browse via the Mutt userinterface (using “c” or TAB):
mailboxes echo -n "+ "; ls -ad ~/Maildir/.* | sed -e "s/^.*Maildir\/\([^\/]*\).*$/+\1/" -e "s/ /\\\\\\\ /g" | xargs
Listing all maildir mailboxes in mutt
- March 29th, 2008
- Posted in Technical Blog
- No Comments