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

index dfae29d19c588af82356ea52f6e346ce1565355d..29f72246654e0d6ce88e1bc2eaaa421a7b2f6094 100644 (file)
 # Enable IMAP LITERAL- extension (replaces LITERAL+)
 #imap_literal_minus = no
 
+# 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