> I'm trying to determine the last login time for my IMAP users.

     There is already a built in plugin that does this without needing to
     use scripting.
     You can use it to save a timestamp to a database.

          https://doc.dovecot.org/settings/plugin/last-login-plugin/
          https://doc.dovecot.org/configuration_manual/lastlogin_plugin/

That's very helpful, thanks. The only trouble I had was that my password had a
pound sign in it and apparently it was parsed as a comment:

Jan 18 18:53:28 xavier dovecot[3549186]: dict(3552926): Warning: Configuration
file /etc/dovecot/dovecot-dict-sql.conf.ext line 1: Ambiguous '#' character in
line, treating it as comment. Add a space before it to remove this warning.

Thanks so much.

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to