doveadm edit headers?

Steffen Kaiser
Mon, 05 Dec 2016 07:34:52 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEVAwUBWEUYnHz1H7kL/d9rAQIefgf/aO5IqfQsI7Xu4Xy6/wzxrMw8aAkDyf3j
RNa58av4udtZtNufSA9Im95lt3cTK6cAeRn0ccBTYNwaWKA4L45WDJkrgtfbRjYu
ZRlJJ1Z3FvbFtn/89ywgndU3qYo/5lwxPL1IssjX2LrHmg+zPUYR5dwlahWyfp92
UQpHL3z4z714mEc2Qdd9rZS+axSEJIAbYG3Yz1XODxLotnMC2umT9ulKLzxoNcQr
5Ini/XcYH/zlR9/DMAsRxESR77Rj5/5k/ecxO+oY9s1UfZmlrv7UUItIJ2hwv+z6
Ncw+j0KoyDQmhLzxuw1XR5+m3i4F8eRXLJitvDiDR2nwn/BBz1QmkA==mDfu
-----END PGP SIGNATURE-----