Re: [Dovecot] mail_max_userip_connections exceeded.
Simon Brereton <simon.brereton@buongiorno.com> writes:
IMAP proxy or lack of proxy?
IMAP proxy could be a problem if the user had opened more than 10 (unique) mailboxes. The proxy would keep this connection open until a timeout, and after some time, could accumulate more connections than your limit.
The lack of proxy could solve your problem if for some reason your webmail software is not closing the IMAP connection properly (I assume IMP does a connect/authenticate/IMAP command/logout for every webmail operation). Every connection (even to the same mailbox) would open up a new connection. The proxy software will recognize the reconnnection and funnel it through its cached connection.
You can lsof the user's IMAP processes (or troll through /proc/{imap-process} or what you have) to figure out which mailboxes it has opened. On my system, file descriptor 9 and 11 gives you the names of the index files that indicate which mailboxes are being accessed.
Joseph Tam <jtam.home@gmail.com>
On 1/20/2012 4:48 PM, Joseph Tam wrote:
I'm not sure that I saw the beginning of this thread but I got the same error. I traced it to the fact that my destktop and my phone email programs were both trying to access my imap from the same local network. I changed it to 20 and I haven't seen any more problems. I don't know if that would be a problem on a really heavily used server or not.
--
Knute Johnson
participants (2)
-
Joseph Tam
-
Knute Johnson