[Dovecot] IMAP connection timeout value?

William Blunn bill+dovecot at blunn.org
Thu Aug 19 14:02:12 EEST 2010


On 19/08/2010 11:04, Tamas Kadar wrote:
> So we're having some ISP issues lately, meaning we have to reboot our 
> cable modem like 2-3 times a day. An unfortunate side-effect I've 
> found is, once the users max out their connection limit (which I've 
> set to 10, and many people do), if we reboot the cable modem, they 
> can't log in cause their connections get 'stuck' until I `doveadm 
> kick` them, or wait for the connections to timeout which takes ??? 
> minutes. Can I adjust that value to something like 30 seconds?

Is it:

(a) your server is on the Internet, and your clients are behind the 
dodgy cable modem, or

(b) your mail server behind the dodgy cable modem and the clients are 
out on the Internet

?

Either way I would suggest an improvement to your architecture would be 
to put the mail server on the same side of the dodgy cable modem as the 
majority of users.

If you have a mix of office users and out-of-office users, I would say 
put the mail server on the Internet side. At least then the people 
struggling out in a hotel in the middle of nowhere won't have to fight 
your dodgy cable modem as well as their dodgy foreign internet connection.

Bill


More information about the dovecot mailing list