Re: username_filter settings in passdb

2024-08-04 Thread Aki Tuomi via dovecot
This is fixed in main with https://github.com/dovecot/core/commit/7bad6a24160e34bce8f10e73dbbf9e5fbbcd1904.patch and will be fixed in 2.4.0 Aki > On 05/08/2024 09:07 EEST Aki Tuomi via dovecot wrote: > > > Hi! > > Thanks John for triage, we'll take a look at this. > > Aki > > > On 05/08/

Re: dsync crashing

2024-08-04 Thread Aki Tuomi via dovecot
Hi! We have seen this before but were unable to reproduce the issue. Could you please send directly to me the core file processed with https://raw.githubusercontent.com/dovecot/core/master/src/util/dovecot-sysreport You should use dovecot-sysreport --core /path/to/core /usr/lib/dovecot/imap

Re: username_filter settings in passdb

2024-08-04 Thread Aki Tuomi via dovecot
Hi! Thanks John for triage, we'll take a look at this. Aki > On 05/08/2024 05:50 EEST John Fawcett via dovecot wrote: > > > Hi > > in my opinion you found a bug. In the function passdb_preinit(..) in > file src/auth/passdb.c the username_filters are copied from > set->username_filter to p

dsync crashing

2024-08-04 Thread Benjamin Rose via dovecot
Hello, I am running Dovecot 2.3.16 (7e2e900c1a) on RHEL 9.2. I attach my "doveconf -n" configuration. I have replication enabled between 2 servers, both very beefy with 16 cores of Intel(R) Xeon(R) Gold 6244 CPU @ 3.60GHz, 768gb memory, and 100-gig ethernet. The configs are the same except th

Re: username_filter settings in passdb

2024-08-04 Thread John Fawcett via dovecot
Hi in my opinion you found a bug. In the function passdb_preinit(..) in file src/auth/passdb.c the username_filters are copied from set->username_filter to passdb->username_filter. However that code only gets to be executed if this line returns NULL passdb = passdb_find(set->driver, set->arg

Re: Event Export (auth_request_finished)

2024-08-04 Thread John Fawcett via dovecot
On 04/08/2024 13:17, Serhii via dovecot wrote: I am trying to implement logging of all failed authentication attempts to catch bruteforce automatically. Currently, I have the following configuration: ... But for me it doesn't look like what is specified in docs[1]: Field | Description ---

Event Export (auth_request_finished)

2024-08-04 Thread Serhii via dovecot
I am trying to implement logging of all failed authentication attempts to catch bruteforce automatically. Currently, I have the following configuration: event_exporter log { format = json format_args = time-rfc3339 transport = log } metric auth_fail { filter = event=auth_request_finish