Save login's to a table

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Save login's to a table

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,

Reply | Threaded
Open this post in threaded view
|

Re: Save login's to a table

Alex JOST
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
Reply | Threaded
Open this post in threaded view
|

Re: Save login's to a table

Aki Tuomi-2


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

Reply | Threaded
Open this post in threaded view
|

RE: Save login's to a table

Jorge Bastos

Hi Aki and Alex,

 

Perfect, thanks for both suggestions!

 

From: dovecot [mailto:[hidden email]] On Behalf Of Aki Tuomi
Sent: sexta-feira, 12 de Janeiro de 2018 15:56
To: [hidden email]; 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