Hello.
I've just found out that there are no smtp, imap, sieve last logins updates in Mailcow admin UI when using your ldap auth solution. I think that issue might be somewhere in /data/conf/dovecot/lua/passwd-verify.lua as there is a REPLACE INTO sasl_log sql query.
Maybe you have some suggestions how to fix?