From 2d07c751bde36f1c06cb8c6c1cb2f118ea065470 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 23 Sep 2015 16:08:33 +0300 Subject: [PATCH] example-config: Added imap_hibernate_timeout --- doc/example-config/conf.d/20-imap.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/example-config/conf.d/20-imap.conf b/doc/example-config/conf.d/20-imap.conf index 918c78abd5..b7dd95dfa0 100644 --- a/doc/example-config/conf.d/20-imap.conf +++ b/doc/example-config/conf.d/20-imap.conf @@ -2,6 +2,12 @@ ## IMAP specific settings ## +# If nothing happens for this long while client is IDLEing, move the connection +# to imap-hibernate process and close the old imap process. This saves memory, +# because connections use very little memory in imap-hibernate process. The +# downside is that recreating the imap process back uses some resources. +#imap_hibernate_timeout = 0 + # Maximum IMAP command line length. Some clients generate very long command # lines with huge mailboxes, so you may need to raise this if you get # "Too long argument" or "IMAP command line too large" errors often. -- 2.47.3