changeset 21611:20d399c6aea9

example-config: Add imap_fetch_failure setting.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Mon, 20 Feb 2017 01:00:05 +0200
parents 50c907a9d31b
children d7be00aa2cea
files doc/example-config/conf.d/20-imap.conf
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/example-config/conf.d/20-imap.conf	Mon Feb 20 00:26:28 2017 +0200
+++ b/doc/example-config/conf.d/20-imap.conf	Mon Feb 20 01:00:05 2017 +0200
@@ -65,6 +65,19 @@
 # Host allowed in URLAUTH URLs sent by client. "*" allows all.
 #imap_urlauth_host =
 
+# What happens when FETCH fails due to some internal error:
+#   disconnect-immediately:
+#     The FETCH is aborted immediately and the IMAP client is disconnected.
+#   disconnect-after:
+#     The FETCH runs for all the requested mails returning as much data as
+#     possible. The client is finally disconnected without a tagged reply.
+#   no-after:
+#     Same as disconnect-after, but tagged NO reply is sent instead of
+#     disconnecting the client. If the client attempts to FETCH the same failed
+#     mail more than once, the client is disconnected. This is to avoid clients
+#     from going into infinite loops trying to FETCH a broken mail.
+#imap_fetch_failure = disconnect-immediately
+
 protocol imap {
   # Space separated list of plugins to load (default is global mail_plugins).
   #mail_plugins = $mail_plugins