Connection statistics per user and IP

Joseph Tam jtam.home at
Fri Jul 12 00:50:24 EEST 2019

On Thu, 11 Jul 2019, Lefteris Tsintjelis wrote:

> Is it possible to enable statistics and keep track of the maximum number of 
> connections per user and also per IP?

If you can't get what you want from the stats module, you can always
post process the logs.  Filter on user/IP, then keep a rolling session
counter that increments on logins, decrements on logouts.

You can then observe how certain MacOSX client operations would ramp to
maximum allowable connections, then exit all connections before iterating
on the next bunch of mailboxes, or other clients keep a steady count of
sessions going.

Joseph Tam <jtam.home at>

More information about the dovecot mailing list