In 2.3x series, we could have one table for the users login's and disconnect's.
It could be a table with the folowing format:
user,dateandtime,ip,server (values are pop or imap),action (values are login or exit),bytes_transfered
It could exist another column in the dbmail_user table to enable/disable for each user this function. This could be very handy for estatistics for example, or to keep track or other situations. If anyone has some idea to improve this, just alter this page with it.