# HG changeset patch # User Timo Sirainen # Date 1487545205 -7200 # Node ID 20d399c6aea98a4062ff1c174f5ef844962dc662 # Parent 50c907a9d31b13f1506f0a11193804f2e194f85d example-config: Add imap_fetch_failure setting. diff -r 50c907a9d31b -r 20d399c6aea9 doc/example-config/conf.d/20-imap.conf --- 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