Re: A user's last access time

2020-10-21 Thread infoomatic
On 21.10.20 18:27, @lbutlr wrote: > How is SQLite different from MySQL? I have both on my system. They are both > on-disk database files. > sqlite is accessed through a library, data is stored in a file. whereas mysql needs a running service/daemon (which takes care of storing the data into fil

Re: A user's last access time

2020-10-21 Thread @lbutlr
On 20 Oct 2020, at 20:08, Victor Sudakov wrote: > @lbutlr wrote: >> On 19 Oct 2020, at 20:31, Victor Sudakov wrote: >>> I have seen this but I do not want this information in a database. >> … >> >>> Even a local sqlite database would do. >> >> What? >> > > This meant that an external DMBS/da

Re: A user's last access time

2020-10-20 Thread Victor Sudakov
@lbutlr wrote: > On 20 Oct 2020, at 00:33, Aki Tuomi wrote: > > plugin { > > > >last_login_dict = file:/somewhere/lastlogin > > > > } > > It may be worth nothing that this can be specified as ~/.lastlogin > As well as something along the liens of /usr/local/virtual/%d/%u/.lastlogin > > Dov

Re: A user's last access time

2020-10-20 Thread Victor Sudakov
@lbutlr wrote: > On 19 Oct 2020, at 20:31, Victor Sudakov wrote: > > I have seen this but I do not want this information in a database. > … > > > Even a local sqlite database would do. > > What? > This meant that an external DMBS/daemon process (MySQL, Redis etc) was not desirable, but any on

Re: A user's last access time

2020-10-20 Thread @lbutlr
On 20 Oct 2020, at 00:33, Aki Tuomi wrote: > plugin { > >last_login_dict = file:/somewhere/lastlogin > > } It may be worth nothing that this can be specified as ~/.lastlogin As well as something along the liens of /usr/local/virtual/%d/%u/.lastlogin Dovecot is smart enough to do the expans

Re: A user's last access time

2020-10-20 Thread @lbutlr
On 19 Oct 2020, at 20:31, Victor Sudakov wrote: > I have seen this but I do not want this information in a database. … > Even a local sqlite database would do. What? -- I desire the things that will destroy me in the end.

Re: A user's last access time

2020-10-20 Thread Victor Sudakov
Aki Tuomi wrote: > > On 20.10.2020 9.30, Matthias Lay wrote: > > Am Tue, 20 Oct 2020 09:31:16 +0700 > > schrieb Victor Sudakov : > > > > > >> Hello Sami, > >> > >> I have seen this but I do not want this information in a database. If > >> you know how to make the lastlogin_plugin write to a local

Re: A user's last access time

2020-10-20 Thread Sami Ketola
> On 20. Oct 2020, at 5.31, Victor Sudakov wrote: > > Sami Ketola wrote: >> >> >>> On 19. Oct 2020, at 18.54, Victor Sudakov wrote: >>> >>> Dear Colleagues, >>> >>> Is there a file or directory within a user's Maildir, whose date of >>> modification or access indicates the last time the us

Re: A user's last access time

2020-10-19 Thread Reio Remma
On 20/10/2020 05:31, Victor Sudakov wrote: Sami Ketola wrote: On 19. Oct 2020, at 18.54, Victor Sudakov wrote: Dear Colleagues, Is there a file or directory within a user's Maildir, whose date of modification or access indicates the last time the user accessed his/her E-mail via IMAP or POP

Re: A user's last access time

2020-10-19 Thread Aki Tuomi
On 20.10.2020 9.30, Matthias Lay wrote: > Am Tue, 20 Oct 2020 09:31:16 +0700 > schrieb Victor Sudakov : > > >> Hello Sami, >> >> I have seen this but I do not want this information in a database. If >> you know how to make the lastlogin_plugin write to a local file, that >> would be very helpful.

Re: A user's last access time

2020-10-19 Thread Matthias Lay
Am Tue, 20 Oct 2020 09:31:16 +0700 schrieb Victor Sudakov : > Hello Sami, > > I have seen this but I do not want this information in a database. If > you know how to make the lastlogin_plugin write to a local file, that > would be very helpful. Even a local sqlite database would do. > > The doc

Re: A user's last access time

2020-10-19 Thread Victor Sudakov
Sami Ketola wrote: > > > > On 19. Oct 2020, at 18.54, Victor Sudakov wrote: > > > > Dear Colleagues, > > > > Is there a file or directory within a user's Maildir, whose date of > > modification or access indicates the last time the user accessed his/her > > E-mail via IMAP or POP3? > > > > I'

Re: A user's last access time

2020-10-19 Thread Sami Ketola
> On 19. Oct 2020, at 18.54, Victor Sudakov wrote: > > Dear Colleagues, > > Is there a file or directory within a user's Maildir, whose date of > modification or access indicates the last time the user accessed his/her > E-mail via IMAP or POP3? > > I'd like to figure out the time a user las

A user's last access time

2020-10-19 Thread Victor Sudakov
Dear Colleagues, Is there a file or directory within a user's Maildir, whose date of modification or access indicates the last time the user accessed his/her E-mail via IMAP or POP3? I'd like to figure out the time a user last logged in into his/her mail account, not the last time a mail was deli