Re: Find last day of login

2019-05-18 Thread Lefteris Tsintjelis via dovecot

On 18/05/2019 19:47, Aki Tuomi via dovecot wrote:

Or you can use last_login plugin, bundled with dovecot.

https://wiki.dovecot.org/Plugins/LastLogin

Aki


That is a very nice one Aki, thank you. This is what I needed. I only 
wish I had that before.


Lefteris


Re: Find last day of login

2019-05-18 Thread Lefteris Tsintjelis via dovecot
Hi, not everyone is using roundcube so this is a problem and postfix 
does not have this field from what I have checked. The timestamp of the 
email files though do not change from what I see (unless I am missing 
something) so I guess this is the only safe way here but only in the 
files left in the "new" folder.


On 18/05/2019 19:43, Durga Prasad Malyala via dovecot wrote:

Hi
You may find some Plugins if you use a front-end like round cube.
I recall seeing a field in the postfix MySQL database.
I'm not sure on Maildirs since mails would be delivered and timestamps
changed even if user is not logging in.

Cheers/DP

On Fri, May 17, 2019, 18:21 Lefteris Tsintjelis via dovecot
 wrote:


I am using dovecot virtual maildir accounts. Is it possible to find
last
day of login for an account by checking the last modification time
of
the maildir files?

Lefteris


Re: Find last day of login

2019-05-18 Thread Aki Tuomi via dovecot
Or you can use last_login plugin, bundled with dovecot.

https://wiki.dovecot.org/Plugins/LastLogin

Aki

> On 18 May 2019 19:43 Durga Prasad Malyala via dovecot  
> wrote:
> 
> 
> Hi
> You may find some Plugins if you use a front-end like round cube.
> I recall seeing a field in the postfix MySQL database.
> I'm not sure on Maildirs since mails would be delivered and timestamps 
> changed even if user is not logging in.
> 
> 
> Cheers/DP
> 
> 
> On Fri, May 17, 2019, 18:21 Lefteris Tsintjelis via dovecot 
>  wrote:
> > I am using dovecot virtual maildir accounts. Is it possible to find last 
> >  day of login for an account by checking the last modification time of 
> >  the maildir files?
> >  
> >  Lefteris
> >


Re: Find last day of login

2019-05-18 Thread Durga Prasad Malyala via dovecot
Hi
You may find some Plugins if you use a front-end like round cube.
I recall seeing a field in the postfix MySQL database.
I'm not sure on Maildirs since mails would be delivered and timestamps
changed even if user is not logging in.

Cheers/DP

On Fri, May 17, 2019, 18:21 Lefteris Tsintjelis via dovecot <
dovecot@dovecot.org> wrote:

> I am using dovecot virtual maildir accounts. Is it possible to find last
> day of login for an account by checking the last modification time of
> the maildir files?
>
> Lefteris
>


Find last day of login

2019-05-17 Thread Lefteris Tsintjelis via dovecot
I am using dovecot virtual maildir accounts. Is it possible to find last 
day of login for an account by checking the last modification time of 
the maildir files?


Lefteris