multiple IMAP sessions when connecting from one client

Jochen Bern Jochen.Bern at LINworks.de
Wed Aug 27 14:11:17 UTC 2014


On -10.01.-28163 20:59, Martin Vegter wrote:
> I have noticed that every time I connect with Thunderbird to my
> server via IMAP, not one but 4 connections are being logged [...]
> Is this normal behavior?

>From the point of view of dovecot, as a *server* implementation, it is
pretty normal to answer as many IMAP connections as a legitimate client
sees fit to start. After all, the IMAP protocol is *designed* to allow
multiple concurrent connections for the same user/mailbox even from
*different* clients (and NATed clients exist).

Note, however, that dovecot has various limits set and active by
default, the most relevant for this matter probably being a
mail_max_userip_connections of 10.

>From the client's perspective, there may be good reasons to have several
connections at once (in particular, ability to run several operations in
parallel), and then there obviously are less convincing ones as well
(I've seen appliances checking for new mail every couple minutes,
connecting for less than 1s, but opening *TWO* connections to do so).

Regards,
								J. Bern
-- 
*NEU* - NEC IT-Infrastruktur-Produkte im <http://www.linworks-shop.de/>:
Server--Storage--Virtualisierung--Management SW--Passion for Performance
Jochen Bern, Systemingenieur --- LINworks GmbH <http://www.LINworks.de/>
Postfach 100121, 64201 Darmstadt | Robert-Koch-Str. 9, 64331 Weiterstadt
PGP (1024D/4096g) FP = D18B 41B1 16C0 11BA 7F8C DCF7 E1D5 FAF4 444E 1C27
Tel. +49 6151 9067-231, Zentr. -0, Fax -299 - Amtsg. Darmstadt HRB 85202
Unternehmenssitz Weiterstadt, Geschäftsführer Metin Dogan, Oliver Michel


More information about the dovecot mailing list