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 KaiserHi! 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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 5 Dec 2016, Aki Tuomi wrote:> 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.> 4. Use doveadm save to save the messageOh, "save" is not documented on: http://wiki2.dovecot.org/Tools/Doveadm There seems to be no man page either. :-) - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEVAwUBWEUapnz1H7kL/d9rAQJHKAf9HzgdzqZlNKso7kSxInIMBV/ccS2V07ni XnlKVWVueNjY43DQbOPod3MUXmWu8RZOa5IMFlOCrh42MxjZGLJRkPa7SAxdCVDk RocTifagUNWpvK+j6Hqs3z8tXPikBQ61wS5rFUEAGjFBbk8Ei0YuSV/PyOcrWe04 qy2QDXvOAUwJbfVJfFHv1Zq6MrQy04Qmpqar56nCA/hHo5pIP9LwkHmJEQHYcrio YpVtiwS+6BB6UZXMloluJh6gL4ycWDi92CLoQU8VrS18+rpnu4Vm837QUqzgllPl E+XEauYYHQzQ9AqPQUBreSyuVds4yeouzXl9bryVs4NuG4Fh0BfSAA==6eXV -----END PGP SIGNATURE-----
On 05.12.2016 09:43, Steffen Kaiser wrote:> On Mon, 5 Dec 2016, Aki Tuomi wrote: > > 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. > > > 4. Use doveadm save to save the message > > Oh, "save" is not documented on: > http://wiki2.dovecot.org/Tools/Doveadm > > There seems to be no man page either. > > :-) > > -- Steffen KaiserSo it would seem. Aki