Hello, is there a way to edit a message header using doveadm?
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?
-----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-----
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:
- Use doveadm fetch to retrieve the message
- Edit the message
- Use doveadm delete to delete the original message
- 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.
- 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 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.
- 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 Kaiser
So it would seem.
Aki
On 2016-12-05 00:02, Aki Tuomi wrote:
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.
- 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 Kaiser
So it would seem.
Indeed, as I had scoured all the doc pages I could find. Good thing the mailing list is so helpful! :)
participants (3)
-
Aki Tuomi
-
MRob
-
Steffen Kaiser