Is it possible to save messages in mbox format? I have set mbox_type = Maildir, because I use offlineimap to retrieve my mail. Unfortunately it seems to affect the global settings, and it will save in Maildir format as well, which breaks git patches.
|
|
||||
|
|
|
Mutt does support reading and writing mbox-format mail folders where all the messages are concatenated into one file. The tradeoff, however of using this format is that when messages are deleted, the entire file needs to be re-written. One advantage, however is that you can gzip-compress the mbox. AFAIK, you can just refer to any mail folder as you would a regular maildir and mutt will automatically detect if it's a file (use as mbox) or a directory (use as a maildir). Setting |
|||
|
|
|
Mutt supports and autodetects 4 mailbox formats: MH, MMDF, mbox, and Maildir. If you have an existing mbox file messages saved to it will be added to the mbox. |
|||
|
|
|
To save a single message to a file even when Note that this will not always produce a valid mbox file (where, in particular, all mails must have a If you do want to make an mbox, you can first create an empty mbox mailbox, which is just an empty file:
Then save to the Alternativelty, temporarily |
|||||
|