In some strange situations you may get “connection refused error” while trying to access the server via POP3. The error details are pasted below:
Maximum number of connections from user - IP exceeded
Form server log:
22 03:55:10 host5 dovecot: pop3-login: Maximum number of connections from user+IP exceeded (mail_max_userip_connections=3): user=, method=PLAIN, rip=22.214.171.124, lip=126.96.36.199
You can see that the root cause of the error from error log 🙂 . Yes, the “mail_max_userip_connections” value in the ‘dovecot’ configuration file is causing the issue.
Edit the configuration file and change the value to a higher one to resolve the issue.
vi /etc/dovecot.conf --- mail_max_userip_connections = 3 ---