Mercurial > dovecot > core-2.2
changeset 21613:4f619a893c9f
example-config: Add mail_sort_max_read_count setting.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Mon, 20 Feb 2017 01:24:09 +0200 |
parents | d7be00aa2cea |
children | 6629c995bb2a |
files | doc/example-config/conf.d/10-mail.conf |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/example-config/conf.d/10-mail.conf Mon Feb 20 01:16:56 2017 +0200 +++ b/doc/example-config/conf.d/10-mail.conf Mon Feb 20 01:24:09 2017 +0200 @@ -248,6 +248,11 @@ # 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