Re: Why Last-login?

2021-03-04 Thread Greg Wildman
On Thu, 2021-03-04 at 10:54 +0100, Yassine Chaouche wrote: > This is pretty wild. Is that perl sorcery ? Used to be but as I migrated to a new server I thought I would use python this time around. -- Greg signature.asc Description: This is a digitally signed message part

Re: Why Last-login?

2021-03-04 Thread Greg Wildman
Sorry, the output didn't format properly. The takeaway fields are as follows: Last Modified : 2020-08-18 19:46:12 Last IMAP : 2021-03-04 10:52:03 Last POP3 : None Last Delivery : 2021-03-04 10:26:49 -- Greg signature.asc Description: This is a digitally signed

Re: Why Last-login?

2021-03-04 Thread Greg Wildman
On Wed, 2021-03-03 at 04:57 -0700, @lbutlr wrote: > I've noticed several threads over the last year or so about last- > login, and I was curious WHY people care about tracking this in the > database. I can see wanting to know if a user has logged in recently, > but this seems quite easy to tell by

Re: Why Last-login?

2021-03-04 Thread Yassine Chaouche
Le 3/4/21 à 10:00 AM, Greg Wildman a écrit : E.g. inspecting a mailbox config ('X' used to replace private data) Mailbox : xx...@xxx.co.za Created : 2020-08-18 17:45:34 Description : X Quota : 8G, used 6.3 GiB (78%)

Re: Why Last-login?

2021-03-04 Thread Yassine Chaouche
Le 3/3/21 à 8:16 PM, @lbutlr a écrit : On 03 Mar 2021, at 05:33, Yassine Chaouche wrote: Am I missing some reason I would need/want to keep track of that specific login time separately? What about mbox files ? Is anyone foolish enough to use mbox in 2021? You also have dovecot's variant

Re: Why Last-login?

2021-03-03 Thread Gedalya
On 3/4/21 3:21 AM, @lbutlr wrote: > On 03 Mar 2021, at 05:38, Aki Tuomi wrote: >> These days you can also replace last-login with mail-lua script, which can >> do lot more than just try to set a dict. But last-login rather useful >> information when you are debugging, or removing dormant

Re: Why Last-login?

2021-03-03 Thread Mark Moseley
On Wed, Mar 3, 2021 at 11:16 AM @lbutlr wrote: > On 03 Mar 2021, at 05:33, Yassine Chaouche > wrote: > >> Am I missing some reason I would need/want to keep track of that > specific login time separately? > > > What about mbox files ? > > Is anyone foolish enough to use mbox in 2021? > > It's

Re: Why Last-login?

2021-03-03 Thread @lbutlr
On 03 Mar 2021, at 05:38, Aki Tuomi wrote: > These days you can also replace last-login with mail-lua script, which can do > lot more than just try to set a dict. But last-login rather useful > information when you are debugging, or removing dormant accounts. And other > customer support

Re: Why Last-login?

2021-03-03 Thread @lbutlr
On 03 Mar 2021, at 05:33, Yassine Chaouche wrote: >> Am I missing some reason I would need/want to keep track of that specific >> login time separately? > What about mbox files ? Is anyone foolish enough to use mbox in 2021? It's designed for dozens of kilobytes of mail. Perhaps hundreds of

Re: Why Last-login?

2021-03-03 Thread Aki Tuomi
> On 03/03/2021 14:36 Yassine Chaouche wrote: > > > Le 3/3/21 à 1:33 PM, Yassine Chaouche a écrit : > > What about mbox files ? > > > > -- Yassine. > > An alternative would be looking into the dovecot logs, but those are > neceassrily time bound. > So either keep very large amounts of

Re: Why Last-login?

2021-03-03 Thread Yassine Chaouche
Le 3/3/21 à 1:33 PM, Yassine Chaouche a écrit : What about mbox files ? -- Yassine. An alternative would be looking into the dovecot logs, but those are neceassrily time bound. So either keep very large amounts of logs, or store just the login info (much shorter) in the db. -- Yassine.

Re: Why Last-login?

2021-03-03 Thread Yassine Chaouche
Le 3/3/21 à 12:57 PM, @lbutlr a écrit : I've noticed several threads over the last year or so about last-login, and I was curious WHY people care about tracking this in the database. I can see wanting to know if a user has logged in recently, but this seems quite easy to tell by simply

Why Last-login?

2021-03-03 Thread @lbutlr
I've noticed several threads over the last year or so about last-login, and I was curious WHY people care about tracking this in the database. I can see wanting to know if a user has logged in recently, but this seems quite easy to tell by simply looking at the time stamp and/or contents of the