23 Jul
2017
23 Jul
'17
12:04 p.m.
On 22/07/2017 11:51, Evan Martin wrote:
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.
I use javamail[1] for this. The javamail API can be used to get and put emails with IMAP so dovecot is kept in sync with the changes you make between fetching and storing.