--- 20-imap.conf.orig	2015-12-13 17:48:21.000000000 +0100
+++ 20-imap.conf	2016-10-04 15:43:31.000000000 +0200
@@ -32,7 +32,7 @@
 
 # How long to wait between "OK Still here" notifications when client is
 # IDLEing.
-#imap_idle_notify_interval = 2 mins
+imap_idle_notify_interval = 29 mins
 
 # ID field names and values to send to clients. Using * as the value makes
 # Dovecot use the default value. The following fields have default values
@@ -67,7 +67,7 @@
 
 protocol imap {
   # Space separated list of plugins to load (default is global mail_plugins).
-  #mail_plugins = $mail_plugins
+  mail_plugins = $mail_plugins imap_zlib
 
   # Maximum number of IMAP connections allowed for a user from each IP address.
   # NOTE: The username is compared case-sensitively.