Post-login script on proxy side
azurit at pobox.sk
azurit at pobox.sk
Wed Jul 12 14:35:48 EEST 2017
Citát Sami Ketola <sami.ketola at dovecot.fi>:
>> On 12 Jul 2017, at 10.36, azurit at pobox.sk wrote:
>>
>> Backends don't have access to user database and i wanted to keep it
>> like this :(
>
> Then probably your only possibility is to update last_login
> information with the authentication
> policy framework introduced in dovecot 2.2.25:
> https://wiki2.dovecot.org/Authentication/Policy
>
> just build your custom auth policy server that updates last_login
> information after successfull
> passdb authentication
>
> Sami
Thanks for suggestion but this seems too complex for such simple
thing. I will probably create a small cron script which will parse
logs and update last login datetime in DB.
azur
More information about the dovecot
mailing list