From 1a1c693a77d5c8af9aee96ff08888fdbd8091c82 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 30 May 2017 21:57:06 +0300 Subject: [PATCH] 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. --- src/plugins/quota/quota-imapc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/quota/quota-imapc.c b/src/plugins/quota/quota-imapc.c index a3d64941dd..66a14ea8ba 100644 --- a/src/plugins/quota/quota-imapc.c +++ b/src/plugins/quota/quota-imapc.c @@ -68,6 +68,7 @@ static int imapc_quota_init(struct quota_root *_root, const char *args, } 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;