LastLogin update

azurit at pobox.sk azurit at pobox.sk
Thu Jun 20 15:41:00 EEST 2019


Hi,

we were trying both ways but:
  - using last_login plugin is a little complicated
  - postlogin was lowering performance really much

Finnaly, we ended up with a script parsing the mail.log and updating  
values in database (we run it once per day, with log rotation).

azur




Citát Jorge Bastos via dovecot <dovecot at dovecot.org>:

> Howdy,
>
>
>
> I'd like an adive on what to use.
>
> I have sql users, and i want to have the lastlogin of them, what is the
> native option for this:
>
>
>
> *	Using last_login plugin which will give me the last login?
> *	Use postlogin for imap and pop3n which will give me besides
> lastlogin the IP and protocol?
>
>
>
> Thanks in advanced,





More information about the dovecot mailing list