Hum,
I can add
Protocol = $protocol ?
The variables below are the valid ones right?
https://wiki.dovecot.org/Variables
From: dovecot dovecot-bounces@dovecot.org On Behalf Of Jorge Bastos via dovecot Sent: Thursday, June 20, 2019 21:49 To: dovecot@dovecot.org Subject: RE: LastLogin update
Hi,
Cool howto, and for protocol would this have that option also?
From: dovecot
Hi,
this seems to work very well:
https://docs.iredmail.org/track.user.last.login.html
You could also add "rip = $rip" in "fields" for the ip address.
On 6/20/19 3:24 PM, Jorge Bastos via dovecot wrote:
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,
-- Best regards, Adrian Minta