Anyone kwon the last-login plugins can using Authentication variables such as?%m mechanism, %a local_port . we want to record this in DB, thanks? -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20210218/339610a0/attachment.html>
> On 18/02/2021 08:57 Henry <hl1723 at yahoo.com.hk> wrote: > > > > > Anyone kwon the last-login plugins can using Authentication variables such as?%m mechanism, %a local_port . > we want to record this in DB, thanksYou can use this syntax to add further fields for last_login plugin. map { pattern = shared/last-login/$user/$domain table = last_login value_field = last_login value_type = uint fields { username = $user domain = $domain rip = $rip } } Aki