A user's last access time
Victor Sudakov
vas at sibptus.ru
Tue Oct 20 18:22:46 EEST 2020
Aki Tuomi wrote:
>
> On 20.10.2020 9.30, Matthias Lay wrote:
> > Am Tue, 20 Oct 2020 09:31:16 +0700
> > schrieb Victor Sudakov <vas at sibptus.ru>:
> >
> >
> >> Hello Sami,
> >>
> >> I have seen this but I do not want this information in a database. If
> >> you know how to make the lastlogin_plugin write to a local file, that
> >> would be very helpful. Even a local sqlite database would do.
> >>
> >> The documentation for the plugin seems very scarce.
> >>
> >>
> > you could touch a file in the postlogin script
>
>
> You can use lastlogin plugin to write to a file too. It's not just database.
>
> plugin {
>
> last_login_dict = file:/somewhere/lastlogin
>
> }
Thanks, works this way.
The contents of the lastlogin text file looks odd, but there is nothing AWK cannot transform :-)
--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
2:5005/49 at fidonet http://vas.tomsk.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <https://dovecot.org/pipermail/dovecot/attachments/20201020/1741a9a8/attachment.sig>
More information about the dovecot
mailing list