]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
quota: Fix imapc backend not to try to find out mail's size.
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Tue, 30 May 2017 18:57:06 +0000 (21:57 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 12 Jun 2017 07:19:20 +0000 (10:19 +0300)
This removes unnecessary FETCH RFC822.SIZE command sent to server when
expunging mails.

src/plugins/quota/quota-imapc.c

index a3d64941dde85b35a19f14b70a6f97df82055200..66a14ea8bae20ff8907f2a6366f05bc6213f4c1d 100644 (file)
@@ -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;