From: Timo Sirainen Date: Sun, 19 Feb 2017 23:24:09 +0000 (+0200) Subject: example-config: Add mail_sort_max_read_count setting. X-Git-Tag: 2.3.0.rc1~2048 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1ab4c39b19512a0a389bbab88e4cbf3dd89f2bd;p=thirdparty%2Fdovecot%2Fcore.git example-config: Add mail_sort_max_read_count setting. --- diff --git a/doc/example-config/conf.d/10-mail.conf b/doc/example-config/conf.d/10-mail.conf index a13b3ab98e..4665cef6fa 100644 --- a/doc/example-config/conf.d/10-mail.conf +++ b/doc/example-config/conf.d/10-mail.conf @@ -248,6 +248,11 @@ namespace inbox { # These should exist only after Dovecot dies in the middle of saving mails. #mail_temp_scan_interval = 1w +# How many slow mail accesses sorting can perform before it returns failure. +# With IMAP the reply is: NO [LIMIT] Requested sort would have taken too long. +# The untagged SORT reply is still returned, but it's likely not correct. +#mail_sort_max_read_count = 0 + protocol !indexer-worker { # If folder vsize calculation requires opening more than this many mails from # disk (i.e. mail sizes aren't in cache already), return failure and finish