Re: About TLS variables

2021-03-03 Thread Aki Tuomi
This information is not passed currently to auth process, so no, it's not currently possible. Aki > On 04/03/2021 08:34 Henry wrote: > > > Hello, > > I found the Variable %c only has TLS, Can it be using "TLSv1,  > TLSv1.1,TLSv1.2,TLSv1.3" instead of only TLS like as dovecot logging, this

About TLS variables

2021-03-03 Thread Henry
Hello, I found the Variable %c only has TLS, Can it be using "TLSv1, TLSv1.1, TLSv1.2,  TLSv1.3" instead of only TLS  like as dovecot logging, this is really a most meaningful , thanks  Variable %cLong name securedDescription “TLS” with established SSL/TLS connections, “TLS

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: t/s expired cert error

2021-03-03 Thread Joseph Tam
On Wed, 3 Mar 2021, Yassine Chaouche wrote: Le 3/2/21 ? 9:02 PM, Matthias Kneer a ?crit : # echo | openssl s_client -connect emu.sbt.net.au:110 2>/dev/null | openssl x509 -noout -enddate I am intrigued about the function of echo in that command line ? It just a dummy input so that

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

LDA File Permissions

2021-03-03 Thread David Morsberger
All, I am looking for an easy way to setup LDA so that it creates files with group read permission. Currently LDA/Sieve create the '.dovecot.lda-dupes’ file with ‘0600’. My backup process needs to be able to read the file because it runs as a user that is in the same group as the LDA process.

Re: t/s expired cert error

2021-03-03 Thread @lbutlr
On 03 Mar 2021, at 02:13, Yassine Chaouche wrote: > Le 3/2/21 à 9:02 PM, Matthias Kneer a écrit : >> echo | openssl s_client -connect emu.sbt.net.au:110 -starttls pop3 >> 2>/dev/null | openssl x509 -noout -enddate > I am intrigued about the function of echo in that command line ? Did you try

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

Re: Can Dovecot honor Outlook's "leave mail on server for X days" setting?

2021-03-03 Thread @lbutlr
On 03 Mar 2021, at 00:19, Joseph Tam wrote: > On Tue, 2 Mar 2021, Steve Dondley wrote: >> I've got a linux box running dovecot/postfix using maildir format. I >> was surprised to learn that a client that had many GBs of email was >> running POP3, not IMAP. It turns out they had a setting to

Re: Bug in renaming folder hierarchies - any reaction ?

2021-03-03 Thread Aki Tuomi
Hi, this might be caused by FULLDIRNAME=DbOx-mAiLs (as far fetched as it sounds). Would it be possible for you to try it out if it happens if you remove this setting? Aki > On 02/03/2021 21:35 Klaus Steinberger > wrote: > > > Hi, > > no comments on this? This is definitly with two

Re: last login plugins

2021-03-03 Thread Henry
oh! cannot see the last_login_key at logging Mar  3 17:57:10 cnt8-testing dovecot[650754]: imap(em...@testing.com)<650774>: Debug: Added userdb setting: plugin/quota_rule=*:backend=19922944SMar  3 17:57:10 cnt8-testing dovecot[650754]: imap(em...@testing.com)<650774>: Debug: Effective

Re: last login plugins

2021-03-03 Thread Aki Tuomi
Can you enable `mail_debug=yes` and see what the last_login_key value is when imap session starts? It should show up on logs. Aki > On 03/03/2021 11:12 Henry wrote: > > > but when I remove the last_login_key at plugins, error log as below > > > > Error: last_login_dict: Failed to write

Re: t/s expired cert error

2021-03-03 Thread Yassine Chaouche
Le 3/2/21 à 9:02 PM, Matthias Kneer a écrit : # echo | openssl s_client -connect emu.sbt.net.au:110 2>/dev/null | openssl x509 -noout  -enddate unable to load certificate 139830305752976:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:707:Expecting: TRUSTED CERTIFICATE Your

Re: last login plugins

2021-03-03 Thread Henry
but when I remove the last_login_key at plugins, error log as below Error: last_login_dict: Failed to write value: dict-server returned failure: sql dict set: Invalid/unmapped key: shared/last-login/em...@testing.com (reply took 0.006 secs (0.000 in dict wait, 0.002 in other ioloops, 0.001 in

Re: t/s expired cert error

2021-03-03 Thread Yassine Chaouche
Le 3/2/21 à 9:04 PM, Arjen de Korte a écrit : Citeren Voytek Eymont : On Wed, March 3, 2021 1:17 am, Yassine Chaouche wrote: hmm, just tried this, 110/143 gives error, 995/993 doesn't: I'll try changing in TB to SSL/TLS not StartTLS, 995 or 993, etc, and, see if error goes # echo |

Re: last login plugins

2021-03-03 Thread Aki Tuomi
Looks promising, can you try removing "plugin { last_login_key=.. }" from your configuration file completely and see if it works then? Aki > On 03/03/2021 10:17 Henry wrote: > > > Dear Aki > > > Below for output, it is normal? > > [root@cnt8-testing dovecot]# doveadm user

Re: last login plugins

2021-03-03 Thread Henry
Dear Aki Below for output, it is normal? [root@cnt8-testing dovecot]# doveadm user em...@testing.com  doveadm user email@testing.comfield   valueuid     89gid     89home    /home/vpopmail/domains/2/6/x/testing.com/emailmail