GFI Software

Welcome to the GFI Software community forum! For support please open a ticket from https://support.gfi.com.

Home » GFI User Forums » Kerio Connect » Where increase simultaneous IMAP Connections?
icon5.gif  Where increase simultaneous IMAP Connections? [message #34274] Thu, 02 March 2006 17:12 Go to next message
brianz is currently offline  brianz
Messages: 2
Registered: March 2006
Location: Germany
Where can I increase the number of simultaneous IMAP Connections?
I?m geting the Error Message: [02/Mar/2006 17:05:03] IMAP connection from IP address xxxxxx rejected: too many simultaneous connections (101 connections, limit 100)


Mac OSX 10.4.5 - Kerio MailServer 6.1.3
Re: Where increase simultaneous IMAP Connections? [message #34275 is a reply to message #34274] Thu, 02 March 2006 17:16 Go to previous messageGo to next message
j.turley is currently offline  j.turley
Messages: 30
Registered: October 2004
Admin console -> Services -> IMAP -> Access

Hope that helps!
Re: Where increase simultaneous IMAP Connections? [message #34276 is a reply to message #34274] Thu, 02 March 2006 17:22 Go to previous messageGo to next message
Kerio_ktrumbull is currently offline  Kerio_ktrumbull
Messages: 6
Registered: November 2005
Location: Santa Clara
The solution that j.turley mentioned is not correct. You are hitting the per-ip limit. The solution j.turley mentioned is the server-wide limit.

To change the per-ip limit, stop the Kerio MailServer, open the mailserver.cfg and find the following section:
<table name="service-imap">
  <variable name="Port">143</variable>
  <variable name="AutoStart">1</variable>
  <variable name="Acl"></variable>
  <variable name="MaxConnections">1000</variable>
  <variable name="RecvTimeout">120</variable>
  <variable name="SendTimeout">120</variable>
  <variable name="MaxConnectionsIP">100</variable>
  <variable name="NoLimitAcl"></variable>
</table>

Change the "MaxConnectionsIP" to something higher than 100. I assume you are on a DMZ or other network configuration where all traffic to your KMS comes from a single IP address. If so then you have to increase the per-ip limit as mentioned.


Kevin Trumbull
Kerio Technical Support Team Leader
http://support.kerio.com
Re: Where increase simultaneous IMAP Connections? [message #34305 is a reply to message #34276] Fri, 03 March 2006 09:47 Go to previous messageGo to next message
brianz is currently offline  brianz
Messages: 2
Registered: March 2006
Location: Germany
sorry - but where can I find the mailserver.cfg? Or do I have to "go terminal"?
Re: Where increase simultaneous IMAP Connections? [message #36132 is a reply to message #34305] Fri, 12 May 2006 04:47 Go to previous messageGo to next message
chrishenley is currently offline  chrishenley
Messages: 1
Registered: May 2006
in Linux /opt/kerio/mailserver/
Re: Where increase simultaneous IMAP Connections? [message #36143 is a reply to message #34274] Fri, 12 May 2006 18:46 Go to previous messageGo to next message
Kerio_ktrumbull is currently offline  Kerio_ktrumbull
Messages: 6
Registered: November 2005
Location: Santa Clara
Wow, talk about resurrecting a thread Smile

The default locations:

Windows: C:\Program Files\Kerio\MailServer\mailserver.cfg
Mac OS X: /usr/local/kerio/mailserver/mailserver.cfg
Linux: /opt/kerio/mailserver/mailserver.cfg


Kevin Trumbull
Kerio Technical Support Team Leader
http://support.kerio.com
Re: Where increase simultaneous IMAP Connections? [message #48389 is a reply to message #34276] Tue, 20 November 2007 13:25 Go to previous messageGo to next message
maa1 is currently offline  maa1
Messages: 90
Registered: April 2005
Kerio_ktrumbull
To change the per-ip limit, stop the Kerio MailServer, open the mailserver.cfg and find the following section

Why this settings ("MaxConnectionsIP") is not present in GUI??
Re: Where increase simultaneous IMAP Connections? [message #104723 is a reply to message #48389] Mon, 15 July 2013 18:21 Go to previous messageGo to next message
MarkTTU is currently offline  MarkTTU
Messages: 22
Registered: July 2013
maa1 wrote on Tue, 20 November 2007 06:25
Kerio_ktrumbull
Why this settings ("MaxConnectionsIP") is not present in GUI??

An excellent question! Mad
Re: Where increase simultaneous IMAP Connections? [message #104761 is a reply to message #104723] Tue, 16 July 2013 16:24 Go to previous messageGo to next message
Lisa Lyons (Kerio) is currently offline  Lisa Lyons (Kerio)
Messages: 139
Registered: May 2008
Hi, Mark

Firstly, please bear in mind that this original thread is from 2007, so things MAY change during such a massive amount of time.

Sadly, this is one item that has not.

However, the reason for this is that this indicates an issue either with an incorrectly configured firewall or problem on the network. Most individual clients should never reach 100 connections, which is why this is not a GUI option.

I see only the following scenarios as reasons why an individual user would reach 100 concurrent connections.

1: A listserv server running in the background on your network. However, this shouldn't really reach 100 connections, as most listservs will be able to handle the load without creating a single connection for every email.

2: A firewall or switch incorrectly configured, masking the client's IP Addresss, which makes it very difficult to configure security settings on the server.

For those rare cases where this does occur (and we have only seen a handful in the last five years!) it has usually been a misconfigured network causing an obfuscation of the users' IP and therefore causing the issue you see.

If you need to work around this issue, you may use the fix above, but it is not going to be entered into the GUI, as it is a setting that in most cases will never need to be used.


Kerio Technical Support
Log Support Incidents here: http://www.kerio.com/support
Also, please use our KB: http://kb.kerio.com

[Updated on: Tue, 16 July 2013 16:26]

Report message to a moderator

Re: Where increase simultaneous IMAP Connections? [message #104767 is a reply to message #104761] Tue, 16 July 2013 17:06 Go to previous messageGo to next message
MarkTTU is currently offline  MarkTTU
Messages: 22
Registered: July 2013
Hi Lisa,

I appreciate the comment and thought. In my case I have one mail server that hosts multiple domains for multiple customers (mostly small businesses), the largest of them has about 30 mailboxes. It was that largest customer who had issues and frankly they make perfect sense. Single IP from a single office with around 30 people with a computer, iPhone, and many with an iPad as well all with IMAP connections that are kept open all the time. Pretty small group can run into 100+ IMAP connections pretty quickly.

I'm taking the time to explain this situation as I believe your being a bit short sighted and that this will become more of an issue in the future. Also, I wanted to point out there is at least one way this can come up when nothing is misconfigured and people are using things exactly as intended.

I have worked around the issue using the above fix so its no longer an issue for me, but this seems like something that is maybe rare, but not so rare as to not be in the GUI. My bet is that my situation is more common than most realize and that most simply never put the error message together with client devices apparently randomly disconnecting. I bet the client devices or network get blamed and the problem never gets fixed in most cases.
Re: Where increase simultaneous IMAP Connections? [message #104794 is a reply to message #104767] Wed, 17 July 2013 11:50 Go to previous messageGo to next message
Lisa Lyons (Kerio) is currently offline  Lisa Lyons (Kerio)
Messages: 139
Registered: May 2008
Hi, Mark

Thanks for your frank comments. Our developers are aware of the situation as you see it.

It's comments like this that help when evaluating changes, so please don't hold back. Smile


Kerio Technical Support
Log Support Incidents here: http://www.kerio.com/support
Also, please use our KB: http://kb.kerio.com
Re: Where increase simultaneous IMAP Connections? [message #104930 is a reply to message #104794] Tue, 23 July 2013 23:48 Go to previous messageGo to next message
macinfosys is currently offline  macinfosys
Messages: 33
Registered: December 2007
I had to make the change TODAY since we started running into this situation. Our client hosts 11 different domains, they have approx 18 users with each user using iPad's, iPhone's, Laptop and a desktop almost always at the same time. To top it all off, most users actively have anywhere from 3-11 different email accounts active and polling the server on all of the devices listed above at the same time.

I also think this situation will become something of a norm where more users will have multiple devices polling for mail actively creating an issue with a limit of 100 being no longer a high number.
Re: Where increase simultaneous IMAP Connections? [message #104990 is a reply to message #104930] Thu, 25 July 2013 19:15 Go to previous messageGo to next message
Machete
Messages: 187
Registered: February 2012
Location: United States
In my opinion, this is probably going to continue to grow as a problem for hosted providers as Kerio continues to encourage the use of IMAP over ActiveSync...based on past comments from Kerio suggesting using open source platforms and now charging extra for active sync...
Re: Where increase simultaneous IMAP Connections? [message #115674 is a reply to message #104990] Tue, 26 August 2014 00:04 Go to previous messageGo to next message
blswjames is currently offline  blswjames
Messages: 76
Registered: January 2012
Location: Kansas City
Regardless of how old this thread is, I thought I'd toss this in since it's relevant.

We started getting this message a LOT after deploying Kerio Operator. Operator appears to open an IMAP connection for every user when you have the voicemail integration feature enabled.

For us, it was the global IMAP setting in the GUI we changed (not the per IP in the cfg file).
Re: Where increase simultaneous IMAP Connections? [message #121119 is a reply to message #34274] Wed, 06 May 2015 02:18 Go to previous message
Agador is currently offline  Agador
Messages: 47
Registered: March 2015
We are having this IMAP > 100 IPs issue due to remote sites needing to access multiple accounts.

10 members behind a NAT device with one WAN IP. Those members have multiple devices, (phone, ipad, desktop and laptop) and are using multiple accounts (3 to 20 different accounts). This problem of having to edit the mailserver configuration manually is NOT USER friendly and needs to be added to the GUI.

Configuring a WAN IP for each USER is neither practical nor even recommended "best practice".

Please add this option to the GUI.

Jim
Previous Topic: Transfer License to new Owner
Next Topic: How to creat kerio connect logserver
Goto Forum:
  


Current Time: Sun Mar 26 05:09:35 CEST 2023

Total time taken to generate the page: 0.04464 seconds