changeset 22146:88d2ad3f2463

quota: Fix imapc backend not to try to find out mail's size. This removes unnecessary FETCH RFC822.SIZE command sent to server when expunging mails.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Tue, 30 May 2017 21:57:06 +0300
parents f8723d47b785
children edc9369f9d60
files src/plugins/quota/quota-imapc.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/quota/quota-imapc.c	Tue May 30 10:37:24 2017 +0300
+++ b/src/plugins/quota/quota-imapc.c	Tue May 30 21:57:06 2017 +0300
@@ -68,6 +68,7 @@
 	}
 	if (root->box_name == NULL && root->root_name == NULL)
 		root->box_name = "INBOX";
+	_root->auto_updating = TRUE;
 	/* we'll never try to enforce the quota - it's just a lot of
 	   unnecessary remote GETQUOTA calls. */
 	_root->no_enforcing = TRUE;