Zhang Huangbin avatar Zhang Huangbin committed 06b850a

Add sample by commented Dovecot2 setting: mail_max_userip_connections.

Comments (0)

Files changed (1)

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:
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.