How to allow QMail to support more connections per IP

Sunday, January 08 2012 @ 12:24 PM UTC

Contributed by: Admin

If you have a large number of web domains on a single Web server and want to read mails in account every of these domains from the same mail client, you may have random connection failures…

If your Web server uses QMail as mail agent, the problem is due to the fact that QMail has a parameter fixing the max number of connections per IP:
in files:

edit the MAXPERIP parameter which is by default fixed to 4 and increase it to your taste. restart the daemon afterwards:

sudo /etc/init.d/courier-imap restart