dovecot-2.2: dsync: Tell search that we want to fetch mail strea...

dovecot at dovecot.org dovecot at dovecot.org
Sun Nov 17 17:15:55 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/aec5d4170e74
changeset: 16974:aec5d4170e74
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Nov 17 16:58:42 2013 +0200
description:
dsync: Tell search that we want to fetch mail streams so prefetching works.

diffstat:

 src/doveadm/dsync/dsync-mailbox-export.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r 12b6698e91a9 -r aec5d4170e74 src/doveadm/dsync/dsync-mailbox-export.c
--- a/src/doveadm/dsync/dsync-mailbox-export.c	Sun Nov 17 16:11:31 2013 +0200
+++ b/src/doveadm/dsync/dsync-mailbox-export.c	Sun Nov 17 16:58:42 2013 +0200
@@ -724,7 +724,9 @@
 				    MAIL_FETCH_GUID |
 				    MAIL_FETCH_UIDL_BACKEND |
 				    MAIL_FETCH_POP3_ORDER |
-				    MAIL_FETCH_RECEIVED_DATE, NULL);
+				    MAIL_FETCH_RECEIVED_DATE |
+				    MAIL_FETCH_STREAM_HEADER |
+				    MAIL_FETCH_STREAM_BODY, NULL);
 	mail_search_args_unref(&search_args);
 	return array_count(&sarg->value.seqset) > 0 ? 1 : 0;
 }


More information about the dovecot-cvs mailing list