Error: Courier-IMAP - imapd: Maximum connection limit reached for
You cannot connect to Courier-IMAP and see the following errors in your mail log:
Aug 08 11:25:45 server1 imapd: Maximum connection limit reached for ::ffff:18.104.22.168
Open your Courier-IMAP configuration file; on Debian it's /etc/courier/imapd:
Adjust the MAXDAEMONS and MAXPERIP settings (you might have to play around with these values)...
[...] ##NAME: MAXDAEMONS:0 # # Maximum number of IMAP servers started # MAXDAEMONS=40 ##NAME: MAXPERIP:0 # # Maximum number of connections to accept from the same IP address MAXPERIP=20 [...]
... and restart Courier-IMAP - on Debian this can be done with: