]> 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)
committerGitLab <gitlab@git.dovecot.net>
Sun, 4 Jun 2017 16:11:42 +0000 (19:11 +0300)
This removes unnecessary FETCH RFC822.SIZE command sent to server when
expunging mails.

src/plugins/quota/quota-imapc.c

index eb1ec50b5f586eebd3e323d79b8aaf7b98821aff..7ec82a7ac8bde475f63edfe082c5943749904a66 100644 (file)
@@ -67,6 +67,8 @@ static int imapc_quota_init(struct quota_root *_root, const char *args,
                {.param_name = NULL}
        };
 
+       _root->auto_updating = TRUE;
+
        if (quota_parse_parameters(_root, &args, error_r, imapc_params, FALSE) < 0)
                return -1;