doveadm edit headers?

Aki Tuomi aki.tuomi at dovecot.fi
Mon Dec 5 07:36:31 UTC 2016



On 05.12.2016 09:34, Steffen Kaiser wrote:
> On Sun, 4 Dec 2016, MRob wrote:
>
> > Hello, is there a way to edit a message header using doveadm?
>
> I guess not.
>
> > I see how I can fetch the things I need, but even if I can't edit in
> place; if I extract the full message, edit it, there doesn't seem to
> be a way to append it back again?
>
> check out doveadm import
> http://wiki2.dovecot.org/Tools/Doveadm/Import
>
> it should be easy to fake a maildir or mbox structure.
>
> -- Steffen Kaiser

Hi!

You can edit message in a roundabout way:

1. Use doveadm fetch to retrieve the message
2. Edit the message
3. Use doveadm delete to delete the original message
4. Use doveadm save to save the message

You cannot directly edit a message

Aki



More information about the dovecot mailing list