In the mean time I found this article: https://siamogeek.com/2014/10/dovecot-sql-ultimo-login/ witch explains how this could be done. It is clear to me that I have to add a new column to the table, in order to keep last login time. I'm not sure what type of the filed will be: DATE, DATETIME or TIMESTAMP.
On Tue, Aug 30, 2016 at 3:14 PM, Philon <bytesplit@gmail.com> wrote:
Hi Adrian
it seems likely that what’s documented on the page you refer to just works…
in the configured >>dictionary<< <— follow the white rabbit eh blue link
So I’d go replace: last_login_dict = redis:host=127.0.0.1:port=6379 with this: last_login_dict = sql:my_sql_config_file.conf
Please test it out as I myself haven’t used the plugin yet.
Philon
Am 30.08.2016 um 13:59 schrieb Adrian M <adrian.minta@gmail.com>:
Hello, is it possible to use Last Login Plugin with mysql instead of redis ? http://wiki2.dovecot.org/Plugins/LastLogin
.-- Best regards, Adrian Minta