Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Dovecot mail_max_userip_connections default

Got problems with your B2 or B3? Share and get helped!
Post Reply
Cheeseboy
Posts: 789
Joined: 08 Apr 2007, 12:16

Dovecot mail_max_userip_connections default

Post by Cheeseboy »

Hi all,

I've been getting a lot of these in my syslog lately:

Code: Select all

Jul 14 20:41:05 b3 dovecot: imap-login: Maximum number of connections from user+IP exceeded (mail_max_userip_connections): user=<niklas>, method=PLAIN, rip=192.168.10.60, lip=xx.xx.xx.xx, TLS
Looking in /etc/dovecot, I see that dovecot.conf is linked to /etc/bubba/dovecot.conf, which doesn't have the mail_max_userip_connections setting.

Do you know what the default is? In the comments of /etc/dovecot/dovecot.conf.bubba-distrib, it is set to 10. If the default is 10, I cannot see why I would get this message with only one PC and one phone accessing it at the same time...

Cheers,

Cheeseboy
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: Dovecot mail_max_userip_connections default

Post by Ubi »

1) is 192.168.10.60 the phone or the desktop?
2) did you run iptraf to see what was happening?
3) no matter what the current setting; does changing mail_max_userip_connections to 12 make it go away?

My lame guess here would be that you have a IMAP mail client that closes the connection repeatedly but does not tell the server, which sees the new connections arrive while the other ones are still active.
Cheeseboy
Posts: 789
Joined: 08 Apr 2007, 12:16

Re: Dovecot mail_max_userip_connections default

Post by Cheeseboy »

1) is 192.168.10.60 the phone or the desktop?
2) did you run iptraf to see what was happening?
3) no matter what the current setting; does changing mail_max_userip_connections to 12 make it go away?

My lame guess here would be that you have a IMAP mail client that closes the connection repeatedly but does not tell the server, which sees the new connections arrive while the other ones are still active.
Hi Ubi,

1) 192.168.10.60 is the desktop.
2) No I have done no network analysis yet.
3) I haven't tried to change the setting yet, I wanted to know what the default value was before I did so...

I suspect the same thing, and I think the Android app "K-9 Mail" is to blame rather than Evolution. But this is not a new configuration, and it is a new problem. So what introduced it?

Cheers,

CheeseBoy
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: Dovecot mail_max_userip_connections default

Post by Ubi »

could be anything from a dodgy cable to a driver issue to a software problem really.
Cheeseboy
Posts: 789
Joined: 08 Apr 2007, 12:16

Re: Dovecot mail_max_userip_connections default

Post by Cheeseboy »

Well, yes, I realize that.
The purpose of the post was this:
"Does anyone know what the default value is?"
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: Dovecot mail_max_userip_connections default

Post by Ubi »

in new versions it's 10, in old versions it's 3. The .dist value should give you the default.
Cheeseboy
Posts: 789
Joined: 08 Apr 2007, 12:16

Re: Dovecot mail_max_userip_connections default

Post by Cheeseboy »

Thanks for your reply, Ubi.

I've added the following to /etc/bubba/dovecot.conf:

Code: Select all

protocol imap {
   mail_max_userip_connections = 15
}
I'll leave it for a few days and see what happens.

Cheers,

Nik
Post Reply