Plesk 17.x courier-imaps: Maximum connection limit reached for IP

Imagine you got 5 people in the office and IMAP randomly fails for some people, you are unable to receive or send emails and Apple Mail gives you a vague error “Verify that the username and password are correct”.

Chances are you are hitting the PERIP limit.
Take a look at /var/log/maillog, look for these errors:

Jan 1 12:41:34 109 courier-imapd: Maximum connection limit reached for ::ffff:XXX.XXX.XXX.XXX
Jan 1 12:41:34 109 courier-imapd: Maximum connection limit reached for ::ffff:XXX.XXX.XXX.XXX

Edit these 2 files
/etc/courier-imap/imapd
/etc/courier-imap/imapd-ssl

Edit both of them, you need to change these 2 lines in the first one, and add to the -ssl version:

MAXDAEMONS = 160
MAXPERIP = 120

You can make the same changes in /etc/courier-imap/pop3d and pop3d-ssl

You need to restart imap service for these settings to take affect, on regular centos you run

~# systemctl restart courier-imap

but if you are running Plesk, the service won’t even exist, instead you need to do

~# /usr/local/psa/admin/sbin/mailmng --restart-service

Write a Comment

Comment

Webmentions

  • kamagra přenocování v sobotu

    kamagra sobotní dodací kód

    porovnat ceny kamagra

  • cheap rifaximin usa mastercard

    cheap rifaximin without a script

    cheap rifaximin generic when will be available

  • cheap xifaxan generic south africa

    Ordering xifaxan online no membership overnight delivery

    online order xifaxan purchase generic

  • buy cheap staxyn buy online uk

    cheap medication staxyn

    buy cheap staxyn cheap no prescription

  • cheap avodart cheap drugs

    discount avodart overnight no rx

    purchase avodart uk order

  • ordering itraconazole us pharmacies

    order itraconazole uk buy online

    purchase itraconazole purchase online safely

  • cheapest buy gabapentin cheap from india

    Buy gabapentin without a r x

    purchase gabapentin generic canada no prescription

  • online order flexeril cyclobenzaprine cheap real

    purchase flexeril cyclobenzaprine usa sales

    ordering flexeril cyclobenzaprine generic in canada

  • order dutasteride generic is good

    buy dutasteride online france

    cheapest buy dutasteride buy virginia

  • buy cheap androxal canadian pharmacy no prescription

    order androxal cheap canadian pharmacy

    discount androxal real price

  • purchase enclomiphene mastercard buy

    buy enclomiphene medication interactions

    ordering enclomiphene buy dallas

  • canadien kamagra pour achat

    acheter kamagra generique achat

    generique kamagra sens ordonnance gratuit comprime