>> 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.
> On 22/07/2017 3:56 PM, Jerry wrote: >> 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? On Sat, 22 Jul 2017 16:05:19 +0200, Evan Martin stated: > Yes, obviously clients can save messages. I meant: to modify messages > in bulk, on the server, replacing the existing message bodies stored > by Dovecot. I am not understanding what problem you are trying to alleviate. Are these your messages or those of your clients? -- Jerry