Cameron Simpson wrote:
On 14Dec2018 11:40, Victor Sudakov <v...@sibptus.ru> wrote:
Kurt, once you've mentioned it. How do I create a maildir folder from
within mutt if my default $mbox_type is mbox?

When I want to create a new folder "foo", I tag some messages and save
them to =foo, mutt asks whether to create "foo" but creates it in mbox
format per $mbox_type.

Well you could make a macro to fiddle $mbox_type. Or fiddle it yourself.

Or you could see my mboxify script elsewhere in this thread for adaption
to your mbox->maildir wish. Its process is to make the maildir from the
script (mkdir foo foo/tmp foo/cur foo/new) and _then_ invoke mutt to do
the message move.

Indeed, after pre-creating the mailbox with "mkdir -p ~/Mail/foo/{tmp,cur,new}" mutt can save into it. The only problem left is dovecot's handling of both formats simultaneously.

That way mutt doesn't make the mailbox and $mbox_type
doesn't come into play.

Thank you!

--
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

Reply via email to