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
I hope I am not of topic, but you can have a look on my implementation, using
post login script feature of Dovecot.
I am using an SQlite database to send a monthly report:
https://homebox.readthedocs.io/en/latest/email-access-monitoring/
An exemple is at the end of the page.
Feel free to cop