Hi Aki and Alex,

 

Perfect, thanks for both suggestions!

 

From: dovecot [mailto:dovecot-bounces@dovecot.org] On Behalf Of Aki Tuomi
Sent: sexta-feira, 12 de Janeiro de 2018 15:56
To: dovecot@dovecot.org; Alex JOST
Subject: Re: Save login's to a table

 

 

On January 12, 2018 at 5:41 PM Alex JOST wrote:


Am 12.01.2018 um 16:23 schrieb Jorge Bastos:

Hi,



I'd like to have the logins that the accounts do, saved in a *sql table,
with login name | IP | datetime, for audit porposes.



How could I achieve that, if possible?



Thanks in advanced,


A post-login script could do that:

https://wiki.dovecot.org/PostLoginScripting

--
Alex JOST

or https://wiki2.dovecot.org/Plugins/LastLogin

---
Aki Tuomi