Source

iredmail / iRedMail / samples / dovecot / dovecot2.conf

Diff from to

iRedMail/samples/dovecot/dovecot2.conf

     postmaster_address = root
 }
 protocol imap {
+    mail_plugins = $mail_plugins imap_quota autocreate
     imap_client_workarounds = tb-extra-mailbox-sep
-    mail_plugins = $mail_plugins imap_quota autocreate
+
+    # Maximum number of IMAP connections allowed for a user from each IP address.
+    # NOTE: The username is compared case-sensitively.
+    # Default is 10.
+    # Increase it to avoid issue like below:
+    # "Maximum number of concurrent IMAP connections exceeded"
+    #mail_max_userip_connections = 20
 }
 protocol pop3 {
     mail_plugins = $mail_plugins
     pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
     pop3_uidl_format = %08Xu%08Xv
+
+    # Maximum number of IMAP connections allowed for a user from each IP address.
+    # NOTE: The username is compared case-sensitively.
+    # Default is 10.
+    #mail_max_userip_connections = 20
 }
 
 # Login processes. Refer to Dovecot wiki for more details: