]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
example-config: Add mail_sort_max_read_count setting.
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Sun, 19 Feb 2017 23:24:09 +0000 (01:24 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Sun, 19 Feb 2017 23:24:09 +0000 (01:24 +0200)
doc/example-config/conf.d/10-mail.conf

index a13b3ab98e851a88312d355da7bf9839b876ef93..4665cef6fab060ee06c58ee3da3ef1142e19df4e 100644 (file)
@@ -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