On Sat, 22 Jul 2017 12:51:15 +0200, Evan Martin stated: >Is there a safe way to modify the contents of emails stored by >Dovecot? I'll probably only want to change the message bodies, not the >headers, if that matters. Looking for ways to do this both for >existing emails and new emails as they are received (though anything >that works for existing emails can probably just be run again for new >emails.) My mail storage is currently mdbox, but I could migrate to >another format if that helps.
You could just view the message in your MUA and then save it to another drive, or whatever. Then, using a text editor, you could modify it to your hearts content. Exactly, what problem are you trying to address? -- Jerry