From: Timo Sirainen Date: Mon, 22 Feb 2010 14:58:12 +0000 (+0200) Subject: dbox: Save POP3 UIDL if it's specified. X-Git-Tag: 2.0.beta4~166 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a8bc64d2ec8babb5109fa23aa3c90383de61cd69;p=thirdparty%2Fdovecot%2Fcore.git dbox: Save POP3 UIDL if it's specified. --HG-- branch : HEAD --- diff --git a/src/lib-storage/index/dbox-common/dbox-save.c b/src/lib-storage/index/dbox-common/dbox-save.c index afd7ec0db5..836c5a87f7 100644 --- a/src/lib-storage/index/dbox-common/dbox-save.c +++ b/src/lib-storage/index/dbox-common/dbox-save.c @@ -131,6 +131,10 @@ void dbox_save_write_metadata(struct mail_save_context *ctx, i_unreached(); str_printfa(str, "%c%llx\n", DBOX_METADATA_VIRTUAL_SIZE, (unsigned long long)vsize); + if (ctx->pop3_uidl != NULL) { + str_printfa(str, "%c%s\n", DBOX_METADATA_POP3_UIDL, + ctx->pop3_uidl); + } guid = ctx->guid; if (guid != NULL)