From: Timo Sirainen Date: Mon, 11 May 2020 14:41:24 +0000 (+0300) Subject: doveadm dump: Support hdr-pop3-uidl index header extension X-Git-Tag: 2.3.15~231 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2c9d83a6407c42b469055800f5d8d18b92d09f99;p=thirdparty%2Fdovecot%2Fcore.git doveadm dump: Support hdr-pop3-uidl index header extension --- diff --git a/src/doveadm/doveadm-dump-index.c b/src/doveadm/doveadm-dump-index.c index a8021b309e..765e5bd1d4 100644 --- a/src/doveadm/doveadm-dump-index.c +++ b/src/doveadm/doveadm-dump-index.c @@ -321,6 +321,12 @@ static void dump_extension_header(struct mail_index *index, printf("header ........ = %s\n", binary_to_hex(data, ext->hdr_size)); dump_box_name_header(data, ext->hdr_size); + } else if (strcmp(ext->name, "hdr-pop3-uidl") == 0) { + const struct mailbox_index_pop3_uidl *hdr = data; + + printf("header\n"); + printf(" - max_uid_with_pop3_uidl = %u\n", + hdr->max_uid_with_pop3_uidl); } else { printf("header ........ = %s\n", binary_to_hex(data, ext->hdr_size));