I want to create a new folder from within Mutt. I use Maildir format to store the folders on the machine I am running Mutt on.
(I also view the mail remotely using courier IMAP but this doesnt involve Mutt)
Edited to clarify role of IMAP
|
feedback
|
|
c ( | |||||
feedback
|
|
If Mutt cannot create maildirs directly, it is easy to do it yourself. A "Maildir" format mail directory has nothing special except for three subdirectories Assuming you want a directory named mkdir -p ~/mail/something/{cur,new,tmp}
Equivalent to: mkdir ~/mail/something ~/mail/something/cur ~/mail/something/new ~/mail/something/tmp Edit: Courier uses an ... unusual convention of maildir naming: if you want a hierarchy of, for example, | ||||
|
feedback
|
|
I usually just save some email to new not-yet-existing folder, and mutt creates the folder for me. For me it's pretty intuitive, as there is no point in having folder without mails in it, so I just create it by saving there first mails that should go there. | |||||
feedback
|
imapddirectly from shell; for example,dovecot --exec-mail imap, which can be used for Mutt'sset tunnel=. Maybe Courier has a similar thing too? It would allow mailbox creation within Mutt. (/usr/lib/courier/imapmight be enough.) – grawity Jun 21 '10 at 16:20