A user's last access time

Aki Tuomi aki.tuomi at open-xchange.com
Tue Oct 20 09:33:37 EEST 2020


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

}

Aki


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://dovecot.org/pipermail/dovecot/attachments/20201020/4e023f8b/attachment-0001.sig>


More information about the dovecot mailing list