Doveadm field for message body without attachments
Happy new year to all,
what is the message field in doveadm data model representing the body without attachments? I need to dump the message body without the attachments so as to avoid unnecessary size of the exported files and while I am also not interested in this part of the message.
with kind regards Athanasios
On January 10, 2018 at 11:49 AM Athanasios Viennas <aviennas@vtopia.gr> wrote:
Happy new year to all,
what is the message field in doveadm data model representing the body without attachments? I need to dump the message body without the attachments so as to avoid unnecessary size of the exported files and while I am also not interested in this part of the message.
with kind regards Athanasios
You could try doveadm fetch -u victim body.0 (or body.1)
another alternative is to parse bodystructure to figure out which body part is the one you want and do doveadm fetch -u victim body.partno
sub-parts are numbered as body.part.subpart
Aki
Thank you very much, Aki! One more question please, are there any suggested sources of advanced examples? The man pages are not that detailed as to the usage of some command parameters. Even a book reference with examples (cookbook style of reference) would be most suitable.
with kind regards Athanasios
On 10/01/2018 09:18 PM, Aki Tuomi wrote:
On January 10, 2018 at 11:49 AM Athanasios Viennas <aviennas@vtopia.gr> wrote:
Happy new year to all,
what is the message field in doveadm data model representing the body without attachments? I need to dump the message body without the attachments so as to avoid unnecessary size of the exported files and while I am also not interested in this part of the message.
with kind regards Athanasios
You could try doveadm fetch -u victim body.0 (or body.1)
another alternative is to parse bodystructure to figure out which body part is the one you want and do doveadm fetch -u victim body.partno
sub-parts are numbered as body.part.subpart
Aki
--
Mr. Athanasios G. Viennas Informatics Engineer Vtopia I.T. Solutions Mavromichali 190, 11472, Athens Greece T: +30 210 6426369 M: +30 697 4427522 E: aviennas@vtopia.gr
participants (2)
-
Aki Tuomi
-
Athanasios Viennas