]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Aki Tuomi [Tue, 14 Jan 2025 06:35:59 +0000 (08:35 +0200)]
version: Lock release version
Aki Tuomi [Wed, 8 Jan 2025 12:17:59 +0000 (14:17 +0200)]
NEWS: Add news for v2.4.0
Aki Tuomi [Wed, 8 Jan 2025 12:20:55 +0000 (14:20 +0200)]
NEWS: Fix formatting to match editorconfig
Aki Tuomi [Fri, 10 Jan 2025 12:38:11 +0000 (14:38 +0200)]
editorconfig: Use tabs with NEWS file
Marco Bettini [Wed, 22 Jan 2025 17:11:41 +0000 (17:11 +0000)]
fts-flatcurve: Remove fts_flatcurve_max_term_size setting
Note: the tokenizer already truncates with its own logic,
The truncation here is to ensure xapian is protected even if
tokenizer logics would change in future.
Marco Bettini [Tue, 21 Jan 2025 17:06:51 +0000 (17:06 +0000)]
fts-flatcurve: fts_flatcurve_xapian_uid_exists() - Do not return error if there was no actual error
Marco Bettini [Tue, 21 Jan 2025 11:11:00 +0000 (11:11 +0000)]
fts-flatcurve: fts_backend_flatcurve_update_build_more() - Truncate in utf8-safe manner
Marco Bettini [Fri, 17 Jan 2025 11:05:24 +0000 (11:05 +0000)]
fts-flatcurve: fts_backend_flatcurve_deinit() - Don't crash if init failed
When fts_backend_flatcurve_init() fails to find the user,
the fields are not initialized, with the exception of the event and
the preallocatd pool.
Marco Bettini [Thu, 23 Jan 2025 10:06:18 +0000 (10:06 +0000)]
fts-flatcurve: Remove stray empty lines
Stephan Bosch [Mon, 30 Nov 2020 18:12:11 +0000 (19:12 +0100)]
lib-imap-client: Add support for channel binding
Stephan Bosch [Thu, 12 Nov 2020 22:30:47 +0000 (23:30 +0100)]
doveadm: doveadm-auth - Add support for channel binding in test and login commands
Stephan Bosch [Wed, 8 Nov 2023 14:06:16 +0000 (15:06 +0100)]
doveadm: doveadm-auth - Always allocate authtest input pool
Stephan Bosch [Sun, 5 Nov 2023 20:06:07 +0000 (21:06 +0100)]
lib-sasl: mech-scram - Implement SCRAM-SHA-1-PLUS and SCRAM-SHA-256-PLUS
Stephan Bosch [Sun, 5 Nov 2023 20:04:36 +0000 (21:04 +0100)]
auth: mech-scram - Implement SCRAM-SHA-1-PLUS and SCRAM-SHA-256-PLUS
Stephan Bosch [Sun, 5 Nov 2023 20:05:51 +0000 (21:05 +0100)]
lib-auth: auth-scram-client - Add support for channel binding
Stephan Bosch [Sun, 5 Nov 2023 20:04:05 +0000 (21:04 +0100)]
lib-auth: auth-scram-server - Add support for channel binding
Stephan Bosch [Sun, 5 Nov 2023 21:29:34 +0000 (22:29 +0100)]
lib-auth: auth-scram-client - Use settings struct
Stephan Bosch [Wed, 8 Nov 2023 23:05:34 +0000 (00:05 +0100)]
lib-auth: auth-scram-server - Use settings struct
Stephan Bosch [Wed, 8 Nov 2023 23:05:22 +0000 (00:05 +0100)]
lib-sasl: dsasl-client - Add support for channel binding
Stephan Bosch [Wed, 4 Nov 2020 22:00:48 +0000 (23:00 +0100)]
login-common: sasl-server - Add support for channel binding
Stephan Bosch [Mon, 9 Nov 2020 22:00:26 +0000 (23:00 +0100)]
login-common: sasl-server - Move all mechanism filtering to sasl_server_filter_mech()
Also improve documentation of the various filtering concerns.
Stephan Bosch [Thu, 5 Nov 2020 02:00:36 +0000 (03:00 +0100)]
lib-auth-client: auth-client - Add support for channel binding
Also support channel binding for mechanisms such as GS2-KRB5, which only
involve one round trip. None of those is supported yet though. This is
implemented using out-of-band round trips that can exchange data between
auth service and login service beyond the normal SASL exchange.
Stephan Bosch [Thu, 5 Nov 2020 02:00:25 +0000 (03:00 +0100)]
auth: Add support for channel binding
Also support channel binding for mechanisms such as GS2-KRB5, which only
involve one round trip. None of those is supported yet though. This is
implemented using out-of-band round trips that can exchange data between
auth service and login service beyond the normal SASL exchange.
Stephan Bosch [Thu, 5 Nov 2020 01:31:07 +0000 (02:31 +0100)]
lib-ssl-iostream: Add support for channel binding
Stephan Bosch [Sun, 5 Nov 2023 19:48:21 +0000 (20:48 +0100)]
lib-ssl-iostream: Add ssl_iostream_get_protocol_version()
Stephan Bosch [Wed, 8 Nov 2023 03:15:03 +0000 (04:15 +0100)]
auth: auth-mech-connection - Do not announce channel binding mechanisms for minor version < 3
Otherwise, old auth clients like Postfix that don't know about channel binding
would announce these mechanisms, while using them would always fail.
Stephan Bosch [Wed, 8 Nov 2023 02:47:41 +0000 (03:47 +0100)]
auth: auth-client-connection - Send handshakes past VERSION only after client VERSION is received
Stephan Bosch [Wed, 4 Nov 2020 21:43:44 +0000 (22:43 +0100)]
auth: auth-request-handler - Finish CONT reply in separate function
Stephan Bosch [Wed, 8 Nov 2023 03:25:31 +0000 (04:25 +0100)]
auth: mech - Add channel binding mechanism security flag
Stephan Bosch [Thu, 12 Nov 2020 18:07:30 +0000 (19:07 +0100)]
lib: buffer - Add buffer_clone/t_buffer_clone()
Stephan Bosch [Wed, 8 Nov 2023 13:43:43 +0000 (14:43 +0100)]
lib-auth: auth-scram-server - Always use str_equals_timing_almost_safe() instead of strcmp()
Stephan Bosch [Sun, 5 Nov 2023 20:10:10 +0000 (21:10 +0100)]
lib-auth: auth-scram-client - Always use str_equals_timing_almost_safe() instead of strcmp()
Stephan Bosch [Wed, 8 Nov 2023 13:55:31 +0000 (14:55 +0100)]
auth: mech-scram - Use local variables for struct auth_request
Stephan Bosch [Wed, 8 Nov 2023 13:35:38 +0000 (14:35 +0100)]
lib-auth-client: auth-client - Remove ATTR_NULL
Stephan Bosch [Sun, 5 Nov 2023 21:41:03 +0000 (22:41 +0100)]
lib-auth: Reformat auth-scram-client.h
Stephan Bosch [Thu, 16 Jan 2025 03:09:49 +0000 (04:09 +0100)]
.gitignore - Add doc/dovecot.conf
Timo Sirainen [Thu, 16 Jan 2025 11:11:31 +0000 (13:11 +0200)]
lib-settings: test-settings-parser - Avoid crashing on unit test failure
Also makes scan-build happy.
Timo Sirainen [Thu, 16 Jan 2025 11:14:35 +0000 (13:14 +0200)]
global: Add asserts to make scan-build happy
Timo Sirainen [Thu, 16 Jan 2025 11:11:40 +0000 (13:11 +0200)]
global: Remove/fix dead code
Found by scan-build
Timo Sirainen [Thu, 16 Jan 2025 11:12:26 +0000 (13:12 +0200)]
lib-var-expand: Fix getopt() return type
Timo Sirainen [Thu, 16 Jan 2025 11:08:27 +0000 (13:08 +0200)]
lib-var-expand: Fix checking if index() is missing index parameter
Timo Sirainen [Thu, 16 Jan 2025 11:39:07 +0000 (13:39 +0200)]
mail-lua: lua_call and lua_file var_expand filters - check for missing parameters
Timo Sirainen [Thu, 16 Jan 2025 11:35:06 +0000 (13:35 +0200)]
quota: Fix error handling on settings lookup failure
Aki Tuomi [Thu, 16 Jan 2025 13:39:34 +0000 (15:39 +0200)]
auth: userdb sql - Fail if iterate_query is not set
Otherwise we end up with panic.
Aki Tuomi [Thu, 16 Jan 2025 14:28:51 +0000 (16:28 +0200)]
lib-sql: driver-sqlite - Allocate row only if there are columns in result
Aki Tuomi [Thu, 16 Jan 2025 07:20:27 +0000 (09:20 +0200)]
global: Add initializer for event in var_expand_params where needed
This makes gcc happy in bullseye.
Timo Sirainen [Wed, 15 Jan 2025 12:54:21 +0000 (14:54 +0200)]
config: Sort named list filters so more specific ones always override less specific ones
Aki Tuomi [Wed, 15 Jan 2025 11:57:01 +0000 (13:57 +0200)]
imap: Add mail_utf8_extensions setting
Setting this to yes will enable UTF8=ACCEPT capability if
compiled with support.
Aki Tuomi [Wed, 15 Jan 2025 11:56:28 +0000 (13:56 +0200)]
lmtp,submission: Add mail_utf8_extensions setting
Setting this to yes will enable SMTPUTF8 support if compiled with it
Aki Tuomi [Tue, 14 Jan 2025 13:08:54 +0000 (15:08 +0200)]
m4: Check that LDAP is at least 2.4
Aki Tuomi [Tue, 14 Jan 2025 13:08:12 +0000 (15:08 +0200)]
configure: Remove ldap_start_tls_s() check - it should nowadays always exist
Aki Tuomi [Thu, 2 Jan 2025 08:16:33 +0000 (10:16 +0200)]
settings: If file has var-expand template in path, expand before opening it
Aki Tuomi [Thu, 2 Jan 2025 08:16:17 +0000 (10:16 +0200)]
config: Defer opening files with var-expand templates
Aki Tuomi [Mon, 23 Dec 2024 10:56:11 +0000 (12:56 +0200)]
config, lib-settings: Preparse expansion strings
Aki Tuomi [Sat, 21 Dec 2024 21:35:47 +0000 (23:35 +0200)]
lib-var-expand: Add ability to export and import programs
This adds functions for exporting and importing var-expand programs
into strings.
Aki Tuomi [Wed, 8 Jan 2025 11:06:46 +0000 (13:06 +0200)]
doc: Update dovecot.conf for new ssl settings
Timo Sirainen [Thu, 19 Dec 2024 08:12:42 +0000 (10:12 +0200)]
lib-storage: Minor improvement to pop3_uidl_format error message
Timo Sirainen [Fri, 20 Dec 2024 11:24:22 +0000 (13:24 +0200)]
fts: Silently ignore fts if fts_driver is empty
Timo Sirainen [Fri, 20 Dec 2024 08:36:27 +0000 (10:36 +0200)]
lib-storage: Fix memory leaks when storage create() fails
Timo Sirainen [Fri, 20 Dec 2024 08:35:39 +0000 (10:35 +0200)]
mdbox: Fix crash in storage destroy() with partially finished create()
Timo Sirainen [Fri, 20 Dec 2024 09:02:18 +0000 (11:02 +0200)]
lib-settings: Optimize getting values without %variables
Timo Sirainen [Fri, 20 Dec 2024 10:56:05 +0000 (12:56 +0200)]
lib-settings: Avoid unnecessary string duplications
Timo Sirainen [Fri, 20 Dec 2024 08:58:26 +0000 (10:58 +0200)]
lib-settings: Use settings_var_expand() for expanding default settings
Timo Sirainen [Fri, 20 Dec 2024 08:50:25 +0000 (10:50 +0200)]
lib-settings: Split off settings_var_expand()
Timo Sirainen [Thu, 19 Dec 2024 21:57:40 +0000 (23:57 +0200)]
auth: Fix linking when building ldap as plugin
Timo Sirainen [Thu, 19 Dec 2024 21:33:45 +0000 (23:33 +0200)]
lib-settings: Fix non-default settings when using SETTINGS_OVERRIDE_TYPE_2ND_DEFAULT
When processing SETTINGS_OVERRIDE_TYPE_2ND_DEFAULT settings,
setting_parser_info.default_settings were overriding settings from config
file.
Timo Sirainen [Thu, 19 Dec 2024 12:40:19 +0000 (14:40 +0200)]
lib-ssl-iostream: Fix client side setting references in error messages
Timo Sirainen [Thu, 19 Dec 2024 12:36:04 +0000 (14:36 +0200)]
lib-ssl-iostream: Change openssl_iostream_load_key() to be static
Timo Sirainen [Thu, 19 Dec 2024 12:26:32 +0000 (14:26 +0200)]
lib-ssl-iostream, global: Use ssl_server_ prefix for SSL server settings
Timo Sirainen [Thu, 19 Dec 2024 12:07:24 +0000 (14:07 +0200)]
lib-ssl-iostream: Change ssl_prefer_server_ciphers boolean to ssl_prefer_ciphers enum
Timo Sirainen [Thu, 19 Dec 2024 12:24:34 +0000 (14:24 +0200)]
auth: Remove ssl_prefer_server_ciphers from oauth2 client configuration
It wasn't actually doing anything.
Timo Sirainen [Wed, 18 Dec 2024 08:51:45 +0000 (10:51 +0200)]
auth: ldap - Fail clearly if filter string is empty
Timo Sirainen [Wed, 18 Dec 2024 08:10:44 +0000 (10:10 +0200)]
lib-dict-backend: ldap - Rename ldap_filter to dict_map_ldap_filter
Timo Sirainen [Thu, 12 Dec 2024 12:49:44 +0000 (14:49 +0200)]
auth: Add passdb_ and userdb_ prefixes to auth-specific ldap_* settings
Timo Sirainen [Thu, 19 Dec 2024 13:54:39 +0000 (15:54 +0200)]
config: Add config_parser_context.dump_defaults
This is used by Pigeonhole config plugin.
Timo Sirainen [Tue, 17 Dec 2024 13:50:58 +0000 (15:50 +0200)]
lib-ssl-iostream: Change ssl_cipher_list to empty by default for ssl_client
Timo Sirainen [Tue, 17 Dec 2024 13:46:28 +0000 (15:46 +0200)]
lib-ssl-iostream: Add ssl_client and ssl_server named filters
Timo Sirainen [Wed, 18 Dec 2024 10:07:44 +0000 (12:07 +0200)]
global: Use ssl_client/server_settings_get()
Timo Sirainen [Wed, 18 Dec 2024 10:02:53 +0000 (12:02 +0200)]
lib-ssl-iostream: Add ssl_client/server_settings_get()
Timo Sirainen [Tue, 17 Dec 2024 13:09:26 +0000 (15:09 +0200)]
lib-ssl-iostream: Allow empty ssl_cipher_list and ssl_min_protocol
If empty, the OpenSSL defaults are used.
Timo Sirainen [Tue, 17 Dec 2024 12:58:37 +0000 (14:58 +0200)]
lib-ssl-iostream: Minor error message improvements
Timo Sirainen [Fri, 13 Dec 2024 16:03:40 +0000 (18:03 +0200)]
dovecot-config: Add DOVECOT_LDAP_LIBS, LIBDOVECOT_LDAP[_DEPS], LIBDOVECOT_LDAP_INCLUDE
Timo Sirainen [Fri, 13 Dec 2024 15:41:54 +0000 (17:41 +0200)]
lib-ldap, auth: Change ldap_set_*() API to return error message
Instead of i_fatal()ing on error.
Timo Sirainen [Fri, 13 Dec 2024 15:30:16 +0000 (17:30 +0200)]
lib-ldap: Install ldap-utils.h
Timo Sirainen [Fri, 13 Dec 2024 13:59:04 +0000 (15:59 +0200)]
lib-sql: cassandra - Fail clearly if cassandra_hosts or cassandra_keyspace is empty
Timo Sirainen [Tue, 26 Nov 2024 14:14:58 +0000 (16:14 +0200)]
lib-compression: Remove legacy ostream_create() API
Timo Sirainen [Wed, 27 Nov 2024 13:29:17 +0000 (15:29 +0200)]
lib-compression: Convert unit tests to use create_ostream_auto() API
Timo Sirainen [Wed, 27 Nov 2024 14:09:35 +0000 (16:09 +0200)]
fs-compress: Remove support for legacy compress ostream_init() API
Timo Sirainen [Wed, 27 Nov 2024 14:07:51 +0000 (16:07 +0200)]
imap-login: Use create_ostream_auto() compression API
Timo Sirainen [Tue, 26 Nov 2024 14:09:40 +0000 (16:09 +0200)]
lib-sql: Remove sql_init_legacy*()
Timo Sirainen [Tue, 26 Nov 2024 14:07:50 +0000 (16:07 +0200)]
lib-settings: Remove legacy API
Timo Sirainen [Tue, 26 Nov 2024 14:01:20 +0000 (16:01 +0200)]
auth: Remove legacy userdb init and userdb_args setting
Timo Sirainen [Tue, 26 Nov 2024 14:00:00 +0000 (16:00 +0200)]
auth: Remove legacy passdb init and passdb_args setting
Timo Sirainen [Tue, 26 Nov 2024 13:44:52 +0000 (15:44 +0200)]
lib-sql: sqlpool - Remove support for legacy init
Timo Sirainen [Tue, 26 Nov 2024 13:44:46 +0000 (15:44 +0200)]
lib-sql: sqlite - Remove support for legacy init
Timo Sirainen [Tue, 26 Nov 2024 13:44:40 +0000 (15:44 +0200)]
lib-sql: pgsql - Remove support for legacy init
Timo Sirainen [Tue, 26 Nov 2024 13:44:33 +0000 (15:44 +0200)]
lib-sql: mysql - Remove support for legacy init
Timo Sirainen [Tue, 26 Nov 2024 13:44:13 +0000 (15:44 +0200)]
lib-sql: cassandra - Remove Remove support for legacy init
Timo Sirainen [Tue, 26 Nov 2024 13:36:21 +0000 (15:36 +0200)]
lib-sql: Remove sql-db-cache-legacy
Timo Sirainen [Wed, 27 Nov 2024 13:40:15 +0000 (15:40 +0200)]
lib-sql: Convert unit tests to use sql_init_auto()