Re: LastLogin update

2019-08-12 Thread Reio Remma via dovecot
    } } -- dovecot.conf: plugin { ... ...     # Track last login time on imap and pop3     last_login_dict = proxy::lastlogin     last_login_key = last-login/%u/%d/%r/%s } Result on mysql: mysql> select * from last_login where username = 'ju...@xxx.com

RE: LastLogin update

2019-06-26 Thread Jorge Bastos via dovecot
Cool thanks, From: dovecot On Behalf Of Júlio Covolato via dovecot Sent: 25 de junho de 2019 17:06 To: dovecot@dovecot.org Subject: Re: LastLogin update Em 24/06/2019 18:39, Jorge Bastos via dovecot escreveu: Hi Julio, Could you share with us your "acl" config for sha

Re: LastLogin update

2019-06-25 Thread Júlio Covolato via dovecot
Em 24/06/2019 18:39, Jorge Bastos via dovecot escreveu: Hi Julio, Could you share with us your "acl" config for shared folder? May be interesting for me, Jorge, Hi Jorge. Currently I'm not using the shared folder. Maybe you could be interested in this tutorial from iRedmail:

RE: LastLogin update

2019-06-24 Thread Jorge Bastos via dovecot
Hi Julio, Could you share with us your "acl" config for shared folder? May be interesting for me, Jorge, -Original Message- From: dovecot On Behalf Of Júlio Covolato via dovecot Sent: Monday, June 24, 2019 16:15 To: dovecot@dovecot.org Subject: Re: LastLogin update Em 24/

Re: LastLogin update

2019-06-24 Thread Júlio Covolato via dovecot
Em 24/06/2019 11:48, @lbutlr via dovecot escreveu: On 24 Jun 2019, at 08:25, Júlio Covolato via dovecot wrote: #$ cat dovecot-last-login.conf [ … ] dovecot.conf: plugin { # Track last login time on imap and pop3 last_login_dict = proxy::lastlogin last_login_key = last

Re: LastLogin update

2019-06-24 Thread @lbutlr via dovecot
On 24 Jun 2019, at 08:25, Júlio Covolato via dovecot wrote: > #$ cat dovecot-last-login.conf [ … ] > dovecot.conf: > > plugin { > # Track last login time on imap and pop3 > last_login_dict = proxy::lastlogin > last_login_key = last-login/%u/%d/%r/%s > }

Re: LastLogin update

2019-06-24 Thread Júlio Covolato via dovecot
{ ... ...     # Track last login time on imap and pop3     last_login_dict = proxy::lastlogin     last_login_key = last-login/%u/%d/%r/%s } Result on mysql: mysql> select * from last_login where username = 'ju...@xxx.com.br'; +--+++---+---+ | usern

Re: LastLogin update

2019-06-22 Thread Zhang Huangbin via dovecot
> On Jun 23, 2019, at 4:43 AM, @lbutlr via dovecot wrote: > >> https://docs.iredmail.org/track.user.last.login.html > > This is cool, but I have a question: > >> For MySQL/MariaDB backends, we create the sql table in database vmail. > > Would this interfere with or confuse postfixadmin? I

Re: LastLogin update

2019-06-22 Thread @lbutlr via dovecot
> On 20 Jun 2019, at 11:36, Adrian Minta via dovecot > wrote: > > this seems to work very well: > > https://docs.iredmail.org/track.user.last.login.html This is cool, but I have a question: > For MySQL/MariaDB backends, we create the sql table in database vmail. Would this interfere

RE: LastLogin update

2019-06-20 Thread Jorge Bastos via dovecot
Hum, I can add Protocol = $protocol ? The variables below are the valid ones right? https://wiki.dovecot.org/Variables From: dovecot On Behalf Of Jorge Bastos via dovecot Sent: Thursday, June 20, 2019 21:49 To: dovecot@dovecot.org Subject: RE: LastLogin update Hi, Cool

RE: LastLogin update

2019-06-20 Thread Jorge Bastos via dovecot
Hi, Cool howto, and for protocol would this have that option also? From: dovecot On Behalf Of Adrian Minta via dovecot Sent: Thursday, June 20, 2019 18:37 To: dovecot@dovecot.org Subject: Re: LastLogin update Hi, this seems to work very well: https://docs.iredmail.org

Re: LastLogin update

2019-06-20 Thread Adrian Minta via dovecot
, and i want to have the lastlogin of them, what is the native option for this: * Using last_login plugin which will give me the last login? * Use postlogin for imap and pop3n which will give me besides lastlogin the IP and protocol? Thanks in advanced, -- Best regards, Adrian Minta

Re: LastLogin update

2019-06-20 Thread azurit--- via dovecot
Bastos via dovecot : Howdy, I'd like an adive on what to use. I have sql users, and i want to have the lastlogin of them, what is the native option for this: * Using last_login plugin which will give me the last login? * Use postlogin for imap and pop3n which will give me besides

LastLogin update

2019-06-20 Thread Jorge Bastos via dovecot
Howdy, I'd like an adive on what to use. I have sql users, and i want to have the lastlogin of them, what is the native option for this: * Using last_login plugin which will give me the last login? * Use postlogin for imap and pop3n which will give me besides lastlogin the IP

Re: two unrelated issues, lastlogin, and an out of memory fatal error

2018-04-12 Thread David Mehler
Reio >>> >>> On 11.04.2018 21:39, David Mehler wrote: >>>> Hi, >>>> >>>> Can I get the database display to display those timestamps in a >>>> particular format? >>>> >>>> Thanks. >>>> Dave. >>>&g

Re: two unrelated issues, lastlogin, and an out of memory fatal error

2018-04-11 Thread Reio Remma
On 11.04.18 18:23, David Mehler wrote: Hello Aki, Thanks for your suggestion. I followed it and the wiki at: https://wiki.dovecot.org/Plugins/LastLogin Good news, I get a record in the users table, with the username that just logged in. This is good. Bad news is I got unexpected output from

Re: two unrelated issues, lastlogin, and an out of memory fatal error

2018-04-11 Thread Thomas Zajic
* David Mehler, 2018-04-11 17:23 > [...] > The issue is the 1523459718 I was expecting something like a time > stamp. Is this fixable? Also, can I use last_login to see on which IP > the user last logged in from? > [...] This is in fact a timestamp: [zlatko@disclosure:~]$ date -d @1523459718

Re: two unrelated issues, lastlogin, and an out of memory fatal error

2018-04-11 Thread David Mehler
Hello Aki, Thanks for your suggestion. I followed it and the wiki at: https://wiki.dovecot.org/Plugins/LastLogin Good news, I get a record in the users table, with the username that just logged in. This is good. Bad news is I got unexpected output from the last_login time stamp. Here's

Re: two unrelated issues, lastlogin, and an out of memory fatal error

2018-04-11 Thread Aki Tuomi
ache takes more memory than you have anticipated. > Any help appreciated on either issue. > Thanks. > Dave. > > doveconf -n > # 2.3.1 (8e2f634): /usr/local/etc/dovecot/dovecot.conf > # Pigeonhole version 0.5.1 (d9bc6dfe) > # OS: FreeBSD 11.1-RELEASE-p4 amd64 > # Hostname: local

two unrelated issues, lastlogin, and an out of memory fatal error

2018-04-10 Thread David Mehler
domain.com auth_mechanisms = plain login dict { acl = mysql:/usr/local/etc/dovecot/dovecot-dict-sql.conf.ext lastlogin = mysql:/usr/local/etc/dovecot/dovecot-dict-sql.conf.ext quota = mysql:/usr/local/etc/dovecot/dovecot-dict-sql.conf.ext } first_valid_gid = 999 first_valid_uid = 999 hostname = xx

dovecot lastlogin tracking

2018-04-02 Thread David Mehler
dovecot-dict-sql.conf.ext file: map { pattern = shared/last-login/$username table = accounts username_field = username value_field = lastlogin fields { username = $username } } I've got all users in the accounts table and there is a lastlogin column: descr

Re: LastLogin

2014-11-25 Thread brd
. According to http://wiki2.dovecot.org/Plugins/LastLogin the plugin uses redis, but can use other dictionaries If I have MySQL as userbase backend what field(s) should be created to have this information recordered in the database? Ciao, luigi - -- / +--[Luigi Rosa]-- \ Afternoon

smtp lastlogin

2014-10-29 Thread Eduardo Ramos
Hey guys! I've been googling without success. Do anyone know if there is a way to track last login of a smtp authentication? I've tried without success using: service auth { executable = auth lastlogin unix_listener auth-userdb { } unix_listener /var/spool/postfix/private/auth

Re: smtp lastlogin

2014-10-29 Thread Pascal Volk
On 10/29/2014 05:54 PM, Eduardo Ramos wrote: Hey guys! I've been googling without success. Do anyone know if there is a way to track last login of a smtp authentication? I've tried without success using: service auth { executable = auth lastlogin unix_listener auth-userdb

Re: smtp lastlogin

2014-10-29 Thread Gedalya
googling without success. Do anyone know if there is a way to track last login of a smtp authentication? I've tried without success using: service auth { executable = auth lastlogin unix_listener auth-userdb { } unix_listener /var/spool/postfix/private/auth { mode = 0660 group

LastLogin

2014-10-16 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen wrote on 14/10/2014 18:53: + Added last-login plugin to set user's last-login timestamp on login. According to http://wiki2.dovecot.org/Plugins/LastLogin the plugin uses redis, but can use other dictionaries If I have MySQL