You are not logged in.

#1 2012-08-01 01:22:26

shaurz
Member
Registered: 2004-02-02
Posts: 360

Dovecot unreliability

I have a recurring problem with Dovecot which means I have to manually restart it on a regular basis (a few times a day normally). For no particular reason it will get in to a bad state and just stop working (Thunderbird will fail to connect or request the username and password) until I restart Dovecot. This has been going on for a long time (over a year), so it's not a recent problem.

It might just be my own fault through misconfiguration, but I have no idea what that might be. It could be a bug in Thunderbird which is causing Dovecot some issues. Note that I also use K9 on Android connected to the same server, so maybe it's a concurrent access issue.

I am using Postfix to deliver to the Maildir.

I noticed that one thing that seems to trigger it a lot is quickly switching to the trash folder immediately after deleting an e-mail.

In the log the only clue I get is this:

dovecot: imap-login: Maximum number of connections from user+IP exceeded (mail_max_userip_connections=10)

I guess Thunderbird is creating too many connections and maybe not closing them correctly? How can I increase the max number of connections?

Offline

#2 2012-08-01 01:26:56

shaurz
Member
Registered: 2004-02-02
Posts: 360

Re: Dovecot unreliability

You know, that sometimes when you try to explain your problems you inadvertently solve them...

I found the setting for mail_max_userip_connections in /etc/dovecot/conf.d/20-imap.conf and I changed it to 100. I don't know if that will solve the problem longterm but I guess it might help for now.

I still would like to know why I was making too many connections in the first place though.

Offline

Board footer

Powered by FluxBB