Modify stored mail contents?

Evan Martin dovecot-ml at realityexists.net
Sat Jul 22 17:05:19 EEST 2017


Yes, obviously clients can save messages. I meant: to modify messages in 
bulk, on the server, replacing the existing message bodies stored by 
Dovecot.

On 22/07/2017 3:56 PM, Jerry wrote:
> 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?
>



More information about the dovecot mailing list