
Exporting a message to a file in Mutt
Technical ·Saturday March 7, 2009 @ 20:47 EST (link)
I was trying to save a message to a file in Mutt (console mail reader); first, it turns out that s (save-file) actually is more like move (it marks the original message deleted) and what I wanted was C (copy-file). Second, when I told it to save to ~/something, it actually created a Maildir folder and put a copy of the message in it. I had set mbox_type=maildir in the configuration; turns out it was only for creating new folders, so I commented it out (setting it back to the default of mbox), which caused copy-file to write a regular file.