Hi, Modoboa currently uses a script to update the last login of a user. Dovecot supports database queries to do the same. Modoboa should make use of that : https://doc.dovecot.org/configuration_manual/lastlogin_plugin/ .