We have a problem where our Plesk Virtuozzo server was not allowing enough connections to Courier-IMAP so we increased the connection allowances in /etc/courier-imap/imapd configuration file by changing these lines MAXDAEMONS from 40 to 100 and MAXPERIP from 4 to 80.
then we restarted the container to allow the new settings to take effect. after that we could not assess web-mail or mail via Thunderbird.
Ran a telnet localhost check on port 110 Pop3 that seams fine and ran another one on IMAP port 143 and I get a connection refused.
tried reversing the settings but no change.
not quite sure what is wrong and I just don't have the time to fix it myself.
Need a quick fix on this.