]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
3 days agoauth: ldap - Fix potential crash at deinit main
Timo Sirainen [Tue, 12 Aug 2025 10:08:08 +0000 (13:08 +0300)] 
auth: ldap - Fix potential crash at deinit

Continuation of 5ff9a8686a29c423e1fcf90f2d36af521cef6f7d. It didn't fix
a situation where there were passdb requests still pending, because
passdb deinit only unreferenced db-ldap and then freed passdb settings.
Only after userdb deinit unreferenced db-ldap again did it try to abort
the ldap requests, but now the passdb settings were already NULL.

4 days agologin-common: If proxying fails due to remote having invalid SSL cert, don't reconnect
Timo Sirainen [Fri, 8 Aug 2025 09:12:51 +0000 (12:12 +0300)] 
login-common: If proxying fails due to remote having invalid SSL cert, don't reconnect

Consistently use LOGIN_PROXY_FAILURE_TYPE_INTERNAL_CONFIG type regardless of
whether the failure happens in ssl_iostream_handshake() or later.

4 days agolib-ssl-iostream, global: Rename ssl_iostream_has_[valid_]client_cert() to ssl_iostre...
Timo Sirainen [Fri, 8 Aug 2025 12:30:58 +0000 (15:30 +0300)] 
lib-ssl-iostream, global: Rename ssl_iostream_has_[valid_]client_cert() to ssl_iostream_has_[valid_]cert()

These functions can be used (and are used) for both client and server
connections, so it's confusing having the "client" in the function name.

4 days agolib-ssl-iostream: Replace ssl_iostream.has_[valid_]client_cert() with new ssl_iostrea...
Timo Sirainen [Fri, 8 Aug 2025 12:17:35 +0000 (15:17 +0300)] 
lib-ssl-iostream: Replace ssl_iostream.has_[valid_]client_cert() with new ssl_iostream.get_cert_validity()

4 days agolib-ssl-iostream: Remove ssl_iostream_has_handshake_failed()
Timo Sirainen [Fri, 8 Aug 2025 11:57:02 +0000 (14:57 +0300)] 
lib-ssl-iostream: Remove ssl_iostream_has_handshake_failed()

Its meaning is a bit too ambiguous. It's better for callers to use
ssl_iostream_get_state().

4 days agolib-http, lib-smtp: Retry requests on unexpected SSL handshake failures
Timo Sirainen [Fri, 8 Aug 2025 11:54:54 +0000 (14:54 +0300)] 
lib-http, lib-smtp: Retry requests on unexpected SSL handshake failures

Retrying should be disabled only when certificate is invalid, not for other
handshake errors.

4 days agolib-ssl-iostream: Implement ssl_iostream_is_handshaked() with ssl_iostream_get_state()
Timo Sirainen [Fri, 8 Aug 2025 11:48:45 +0000 (14:48 +0300)] 
lib-ssl-iostream: Implement ssl_iostream_is_handshaked() with ssl_iostream_get_state()

4 days agolib-ssl-iostream: Add ssl_iostream_get_state()
Timo Sirainen [Fri, 8 Aug 2025 11:45:50 +0000 (14:45 +0300)] 
lib-ssl-iostream: Add ssl_iostream_get_state()

4 days agolib-ssl-iostream: Fix indent
Timo Sirainen [Fri, 8 Aug 2025 11:42:48 +0000 (14:42 +0300)] 
lib-ssl-iostream: Fix indent

4 days agolib-ssl-iostream, global: Change ssl_iostream_handshake_callback_t to return enum
Timo Sirainen [Fri, 8 Aug 2025 11:35:21 +0000 (14:35 +0300)] 
lib-ssl-iostream, global: Change ssl_iostream_handshake_callback_t to return enum

The enum gives more details what failed.

4 days agolib-ssl-iostream, global: ssl_iostream_check_cert_validity() - Change return value...
Timo Sirainen [Fri, 8 Aug 2025 11:27:20 +0000 (14:27 +0300)] 
lib-ssl-iostream, global: ssl_iostream_check_cert_validity() - Change return value to enum

The enum gives more details what failed.

7 days agoauth: Deinitialize userdb before freeing up settings
Timo Sirainen [Fri, 8 Aug 2025 10:13:03 +0000 (13:13 +0300)] 
auth: Deinitialize userdb before freeing up settings

Some userdbs need the settings during deinitialization.

This was done for passdbs in 054ee6ae3b9a0ec7f669724037cca9059251b138.

7 days agologin-common: Initialize rawlog after TLS handshake
Aki Tuomi [Thu, 31 Jul 2025 11:27:47 +0000 (14:27 +0300)] 
login-common: Initialize rawlog after TLS handshake

8 days agologin-common: Reload client settings before proxying
Aki Tuomi [Thu, 31 Jul 2025 06:27:58 +0000 (09:27 +0300)] 
login-common: Reload client settings before proxying

This allows expanding settings that need username.

8 days agologin-common: Extract client_reload_settings()
Aki Tuomi [Mon, 4 Aug 2025 14:47:21 +0000 (17:47 +0300)] 
login-common: Extract client_reload_settings()

9 days agolib-dict-extra: dict-client - Retry transactions on errors if possible
Timo Sirainen [Tue, 5 Aug 2025 06:54:13 +0000 (09:54 +0300)] 
lib-dict-extra: dict-client - Retry transactions on errors if possible

If transaction has "atomic inc" operation, it cannot be retried.

9 days agolib-dict-extra: dict-client - Delay sending transactions to dict-server until commit
Timo Sirainen [Tue, 5 Aug 2025 06:52:06 +0000 (09:52 +0300)] 
lib-dict-extra: dict-client - Delay sending transactions to dict-server until commit

9 days agolib-dict-extra: dict-client - Retry commands when disconnected from server
Timo Sirainen [Mon, 4 Aug 2025 13:07:33 +0000 (16:07 +0300)] 
lib-dict-extra: dict-client - Retry commands when disconnected from server

Commands were previously retried when sending the command failed, but not
afterwards.

9 days agolib-dict-extra: dict-client - Add LF to stored query strings
Timo Sirainen [Tue, 5 Aug 2025 06:42:12 +0000 (09:42 +0300)] 
lib-dict-extra: dict-client - Add LF to stored query strings

This simplifies the following changes.

9 days agolib-dict-extra: dict-client - Add client_dict_cmd_get_log_query() wrapper
Timo Sirainen [Tue, 5 Aug 2025 07:41:02 +0000 (10:41 +0300)] 
lib-dict-extra: dict-client - Add client_dict_cmd_get_log_query() wrapper

10 days agolib: unicode-transform - Fix integer comparisons in Hangul functions
Stephan Bosch [Mon, 4 Aug 2025 23:50:02 +0000 (01:50 +0200)] 
lib: unicode-transform - Fix integer comparisons in Hangul functions

11 days agolib: iostream-rawlog - Do not log errors for permissions
Aki Tuomi [Thu, 31 Jul 2025 09:23:37 +0000 (12:23 +0300)] 
lib: iostream-rawlog - Do not log errors for permissions

If permissions are not sufficient, fail silently.

11 days agoconfig: Fix chaining $SET variables to a setting with $variables
Timo Sirainen [Mon, 4 Aug 2025 09:21:10 +0000 (12:21 +0300)] 
config: Fix chaining $SET variables to a setting with $variables

11 days agoconfig: Allow config_write_keyvariable() to fail at expansion time without panic
Timo Sirainen [Mon, 4 Aug 2025 09:58:25 +0000 (12:58 +0300)] 
config: Allow config_write_keyvariable() to fail at expansion time without panic

Needed by the next commit.

11 days agoconfig: Prepare for config_get_value() to return different errors
Timo Sirainen [Mon, 4 Aug 2025 10:03:02 +0000 (13:03 +0300)] 
config: Prepare for config_get_value() to return different errors

11 days agoconfig: Remove special service_* -> $SET:default_* handling
Timo Sirainen [Thu, 31 Jul 2025 12:21:24 +0000 (15:21 +0300)] 
config: Remove special service_* -> $SET:default_* handling

This now works by setting them with regular setting_keyvalues.

11 days agoconfig: Assume config parser end hook wants to change default settings
Timo Sirainen [Thu, 31 Jul 2025 12:47:53 +0000 (15:47 +0300)] 
config: Assume config parser end hook wants to change default settings

This is what Pigeonhole wants at least. This was already happening a bit
accidentally. Make thie explicit, because the next commit removes the
accidental method.

11 days agoconfig: Delay expanding $SET variables until the whole config is parsed
Timo Sirainen [Tue, 29 Jul 2025 12:00:03 +0000 (15:00 +0300)] 
config: Delay expanding $SET variables until the whole config is parsed

This most importantly fixes using $SET in built-in group settings which
prevents changing the setting in the config file before it is already
expanded.

11 days agoconfig: Prepare for storing unexpanded $SET variables into setting values
Timo Sirainen [Tue, 29 Jul 2025 10:00:37 +0000 (13:00 +0300)] 
config: Prepare for storing unexpanded $SET variables into setting values

11 days agoconfig: Add and use set_str_expanded() to simplify the following changes
Timo Sirainen [Tue, 29 Jul 2025 09:34:48 +0000 (12:34 +0300)] 
config: Add and use set_str_expanded() to simplify the following changes

11 days agoconfig: Prepare for expanding $SET variables later
Timo Sirainen [Tue, 29 Jul 2025 09:06:55 +0000 (12:06 +0300)] 
config: Prepare for expanding $SET variables later

11 days agoconfig: Fix $SET expansion handling between default/non-default settings
Timo Sirainen [Thu, 31 Jul 2025 10:14:32 +0000 (13:14 +0300)] 
config: Fix $SET expansion handling between default/non-default settings

This becomes more important after following changes, which otherwise would
cause e.g. built-in $SET:default_idle_kill_interval to not use
default_idle_kill_interval from dovecot.conf.

11 days agoconfig: config_write_keyvariable() - Add filter_parser parameter
Timo Sirainen [Tue, 29 Jul 2025 11:47:55 +0000 (14:47 +0300)] 
config: config_write_keyvariable() - Add filter_parser parameter

11 days agoconfig: Refactor config_get_value()
Timo Sirainen [Thu, 31 Jul 2025 11:57:32 +0000 (14:57 +0300)] 
config: Refactor config_get_value()

11 days agoconfig: Move config_filters_find_child()
Timo Sirainen [Thu, 31 Jul 2025 11:51:41 +0000 (14:51 +0300)] 
config: Move config_filters_find_child()

11 days agoconfig: Move config_get_value()
Timo Sirainen [Tue, 29 Jul 2025 11:31:53 +0000 (14:31 +0300)] 
config: Move config_get_value()

11 days agoconfig: config_get_value() - Add filter_parser parameter
Timo Sirainen [Tue, 29 Jul 2025 11:31:04 +0000 (14:31 +0300)] 
config: config_get_value() - Add filter_parser parameter

11 days agoconfig: Split config_module_parser.array to list and filter_array
Timo Sirainen [Tue, 29 Jul 2025 09:41:17 +0000 (12:41 +0300)] 
config: Split config_module_parser.array to list and filter_array

The list is used for SET_STRLIST and SET_BOOLLIST, while filter_array is
used for SET_FILTER_ARRAY.

11 days agoconfig: Rename config_apply_line() to config_apply_key_value()
Timo Sirainen [Tue, 29 Jul 2025 08:55:27 +0000 (11:55 +0300)] 
config: Rename config_apply_line() to config_apply_key_value()

11 days agolib-settings, global: Add prefix parameter to settings_parse_read_file()
Timo Sirainen [Tue, 29 Jul 2025 09:59:37 +0000 (12:59 +0300)] 
lib-settings, global: Add prefix parameter to settings_parse_read_file()

11 days agodoveconf: Fix crash when asking for specific settings but config is unusable
Timo Sirainen [Tue, 29 Jul 2025 12:36:00 +0000 (15:36 +0300)] 
doveconf: Fix crash when asking for specific settings but config is unusable

2 weeks agoauth: auth-cache - Drop auth_cache_parse_key()
Aki Tuomi [Fri, 25 Jul 2025 09:00:57 +0000 (12:00 +0300)] 
auth: auth-cache - Drop auth_cache_parse_key()

It's only used by tests and can now just call
auth_cache_parse_key_and_fields().

2 weeks agoauth: auth-cache - Require cache key to contain at least one variable
Aki Tuomi [Fri, 25 Jul 2025 08:41:03 +0000 (11:41 +0300)] 
auth: auth-cache - Require cache key to contain at least one variable

2 weeks agoauth: auth-cache - Treat cache key parsing errors as fatals
Aki Tuomi [Fri, 25 Jul 2025 08:52:36 +0000 (11:52 +0300)] 
auth: auth-cache - Treat cache key parsing errors as fatals

Avoids accidentically turning off caching

2 weeks agoauth: auth-cache - Change auth_cache_parse_key_exclude() to return error
Aki Tuomi [Fri, 25 Jul 2025 08:51:16 +0000 (11:51 +0300)] 
auth: auth-cache - Change auth_cache_parse_key_exclude() to return error

Simplifies following commit

2 weeks agoauth: auth-cache - Deduplicate auth_cache_parse_key() to use auth_cache_parse_key_and...
Aki Tuomi [Fri, 25 Jul 2025 08:48:43 +0000 (11:48 +0300)] 
auth: auth-cache - Deduplicate auth_cache_parse_key() to use auth_cache_parse_key_and_fields()

Simplifies following commit

2 weeks agoauth: auth-cache - Refactor auth_cache_parse_key_and_fields()
Aki Tuomi [Wed, 30 Jul 2025 06:42:20 +0000 (09:42 +0300)] 
auth: auth-cache - Refactor auth_cache_parse_key_and_fields()

Call auth_cache_parse_key_exclude() at the function end,
simplifies next commit.

2 weeks agoauth: Use AUTH_CACHE_KEY_USER instead of per-database constants
Aki Tuomi [Fri, 25 Jul 2025 05:16:52 +0000 (08:16 +0300)] 
auth: Use AUTH_CACHE_KEY_USER instead of per-database constants

Fixes cache key issue where users would end up overwriting
each other in cache due to cache key being essentially static
string because we no longer support %u.

Forgotten in 2e298e7ee98b6df61cf85117f000290d60a473b8

2 weeks agolib-language: Substitute libicu lowercase mapping implementation with our own
Stephan Bosch [Tue, 1 Apr 2025 02:43:33 +0000 (04:43 +0200)] 
lib-language: Substitute libicu lowercase mapping implementation with our own

2 weeks agolib: unicode-transform - Implement case mapping
Stephan Bosch [Tue, 1 Apr 2025 02:23:15 +0000 (04:23 +0200)] 
lib: unicode-transform - Implement case mapping

2 weeks agolib: unicode-data - Add case folding mappings
Stephan Bosch [Tue, 1 Apr 2025 01:07:30 +0000 (03:07 +0200)] 
lib: unicode-data - Add case folding mappings

2 weeks agolib: unicode-data - Add special case mappings for upper and lower case
Stephan Bosch [Mon, 31 Mar 2025 21:23:01 +0000 (23:23 +0200)] 
lib: unicode-data - Add special case mappings for upper and lower case

2 weeks agolib-language: Drop old word break and word boundary lookup implementation
Stephan Bosch [Fri, 21 Mar 2025 18:40:01 +0000 (19:40 +0100)] 
lib-language: Drop old word break and word boundary lookup implementation

2 weeks agolib-language: lang-tokenizer-generic - Use the new Unicode character database
Stephan Bosch [Fri, 21 Mar 2025 18:34:44 +0000 (19:34 +0100)] 
lib-language: lang-tokenizer-generic - Use the new Unicode character database

2 weeks agolib: unicode-data - Add relevant word break and boundary bits
Stephan Bosch [Fri, 21 Mar 2025 17:18:07 +0000 (18:18 +0100)] 
lib: unicode-data - Add relevant word break and boundary bits

2 weeks agolib: unicode-transform - Add Unicode conformance test for NF* normalizations as unit...
Stephan Bosch [Mon, 7 Apr 2025 22:17:09 +0000 (00:17 +0200)] 
lib: unicode-transform - Add Unicode conformance test for NF* normalizations as unit test

2 weeks agolib: unicode-transform - Implement streaming Unicode Normalization
Stephan Bosch [Wed, 27 Nov 2024 00:36:43 +0000 (01:36 +0100)] 
lib: unicode-transform - Implement streaming Unicode Normalization

All standard forms are supported: NFD, NFKD, NFC, NFKC.

2 weeks agolib: unicode-transform - Add generic Unicode string transformation API
Stephan Bosch [Sun, 30 Mar 2025 01:02:58 +0000 (03:02 +0200)] 
lib: unicode-transform - Add generic Unicode string transformation API

2 weeks agolib: unicode-data - Add fields needed for Unicode normalization
Stephan Bosch [Tue, 22 Apr 2025 00:04:43 +0000 (02:04 +0200)] 
lib: unicode-data - Add fields needed for Unicode normalization

2 weeks agolib: unicode-transform - Make Hangul base and count definitions global
Stephan Bosch [Fri, 21 Mar 2025 05:19:57 +0000 (06:19 +0100)] 
lib: unicode-transform - Make Hangul base and count definitions global

2 weeks agolib: unicode-transform - Implement RFC5051 API in UTF32 and use it
Stephan Bosch [Fri, 21 Mar 2025 04:59:48 +0000 (05:59 +0100)] 
lib: unicode-transform - Implement RFC5051 API in UTF32 and use it

2 weeks agolib: unicode-transform - Rename chr variables/parameters to cp
Stephan Bosch [Fri, 21 Mar 2025 05:09:21 +0000 (06:09 +0100)] 
lib: unicode-transform - Rename chr variables/parameters to cp

These are code points and not characters per se.

2 weeks agolib: unicode-transform - Rename uni_ucs4_decompose_hangul() to unicode_hangul_decompose()
Stephan Bosch [Fri, 21 Mar 2025 05:04:19 +0000 (06:04 +0100)] 
lib: unicode-transform - Rename uni_ucs4_decompose_hangul() to unicode_hangul_decompose()

2 weeks agolib: unicode-transform - Avoid unichar_t in unicode modules
Stephan Bosch [Fri, 21 Mar 2025 05:02:49 +0000 (06:02 +0100)] 
lib: unicode-transform - Avoid unichar_t in unicode modules

2 weeks agolib: unichar - Move uni_ucs4_decompose_one_utf8() to unicode-transform.c
Stephan Bosch [Fri, 21 Mar 2025 04:48:48 +0000 (05:48 +0100)] 
lib: unichar - Move uni_ucs4_decompose_one_utf8() to unicode-transform.c

2 weeks agolib: unichar - Move Hangul syllable handling to unicode-transform.c
Stephan Bosch [Fri, 21 Mar 2025 04:45:07 +0000 (05:45 +0100)] 
lib: unichar - Move Hangul syllable handling to unicode-transform.c

2 weeks agolib: Drop the old Unicode Character Database implementation
Stephan Bosch [Fri, 21 Mar 2025 15:07:14 +0000 (16:07 +0100)] 
lib: Drop the old Unicode Character Database implementation

2 weeks agolib: unichar - Implement uni_utf8_to_decomposed_titlecase() using the new Unicode...
Stephan Bosch [Fri, 21 Mar 2025 15:06:05 +0000 (16:06 +0100)] 
lib: unichar - Implement uni_utf8_to_decomposed_titlecase() using the new Unicode character database

2 weeks agolib: unichar - Implement uni_ucs4_to_titlecase() using the new Unicode character...
Stephan Bosch [Fri, 21 Mar 2025 04:06:20 +0000 (05:06 +0100)] 
lib: unichar - Implement uni_ucs4_to_titlecase() using the new Unicode character database

2 weeks agolib: unichar - Split off uni_ucs4_decompose_hangul()
Stephan Bosch [Fri, 21 Mar 2025 03:49:57 +0000 (04:49 +0100)] 
lib: unichar - Split off uni_ucs4_decompose_hangul()

2 weeks agolib: unichar - Update hangul syllable decomposition to the latest standard
Stephan Bosch [Fri, 21 Mar 2025 03:47:24 +0000 (04:47 +0100)] 
lib: unichar - Update hangul syllable decomposition to the latest standard

2 weeks agolib: test-unichar - Move collation test to separate function
Stephan Bosch [Fri, 21 Mar 2025 04:14:26 +0000 (05:14 +0100)] 
lib: test-unichar - Move collation test to separate function

2 weeks agolib: unicode-data - Add data for first and full code point decomposition
Stephan Bosch [Tue, 22 Apr 2025 00:55:05 +0000 (02:55 +0200)] 
lib: unicode-data - Add data for first and full code point decomposition

2 weeks agolib: Start new Unicode Character Database implementation
Stephan Bosch [Fri, 21 Mar 2025 03:26:50 +0000 (04:26 +0100)] 
lib: Start new Unicode Character Database implementation

It uses a pre-compiled trie structure and will in later commits feature full
support for the data necessary for Unicode normalization. Stuff needed for
lib-language can be migrated here as well.

2 weeks agolib: Move Unicode Character Database (UCD) files to ./ucd
Stephan Bosch [Mon, 17 Mar 2025 02:55:38 +0000 (03:55 +0100)] 
lib: Move Unicode Character Database (UCD) files to ./ucd

2 weeks agolib-test: Add test_assert_memcmp*()
Stephan Bosch [Fri, 25 Jul 2025 01:31:44 +0000 (03:31 +0200)] 
lib-test: Add test_assert_memcmp*()

2 weeks agolib-test: test-common - Drop spurious spaces in function prototype
Stephan Bosch [Sat, 26 Jul 2025 00:25:22 +0000 (02:25 +0200)] 
lib-test: test-common - Drop spurious spaces in function prototype

2 weeks agolib-storage: mail_storage_settings_ext_check() - Add warning for deprecated mailbox_d...
Karl Fleischmann [Tue, 1 Jul 2025 13:00:57 +0000 (15:00 +0200)] 
lib-storage: mail_storage_settings_ext_check() - Add warning for deprecated mailbox_directory_name_legacy setting

2 weeks agolib-storage: mail-storage-settings - Disable mailbox_directory_name_legacy by default
Karl Fleischmann [Tue, 1 Jul 2025 12:43:35 +0000 (14:43 +0200)] 
lib-storage: mail-storage-settings - Disable mailbox_directory_name_legacy by default

2 weeks agoconfig: Setting changes may have updated the included group's settings
Timo Sirainen [Tue, 29 Jul 2025 17:10:03 +0000 (20:10 +0300)] 
config: Setting changes may have updated the included group's settings

If group include was done before other settings, any further updates
changed the group's settings. For example:

group @test foo {
  default_internal_user = A
}
service imap {
  @test = foo
  default_internal_user = B
}
service pop3 {
  @test = foo
}

This caused service pop3 to also have default_internal_user=B.

2 weeks agomaster: Check that no other fd than DOVECOT_CONFIG_FD leaks
Aki Tuomi [Tue, 29 Jul 2025 11:19:57 +0000 (14:19 +0300)] 
master: Check that no other fd than DOVECOT_CONFIG_FD leaks

This fd is needed for configuration reading.

2 weeks agolib-master: Ensure cache fd is closed on exec
Aki Tuomi [Tue, 29 Jul 2025 11:19:41 +0000 (14:19 +0300)] 
lib-master: Ensure cache fd is closed on exec

Prevents it from leaking by accident.

2 weeks agolib-storage: fs - Initialize roots in iteration always
Aki Tuomi [Tue, 29 Jul 2025 06:35:51 +0000 (09:35 +0300)] 
lib-storage: fs - Initialize roots in iteration always

Fixes segmentation fault when running force-resync with missing folder.

2 weeks agolib-storage: Remove diversions to mailbox_list_subscriptions_iter_*()
Marco Bettini [Fri, 27 Jun 2025 14:07:29 +0000 (14:07 +0000)] 
lib-storage: Remove diversions to mailbox_list_subscriptions_iter_*()

2 weeks agolib-storage: drivers - Remove *_list_iter_next() driver specific code
Marco Bettini [Mon, 21 Jul 2025 12:24:30 +0000 (12:24 +0000)] 
lib-storage: drivers - Remove *_list_iter_next() driver specific code

2 weeks agolib-storage: mailbox_list_iter_next_call() - Handle subscriptions
Marco Bettini [Tue, 8 Jul 2025 09:25:42 +0000 (09:25 +0000)] 
lib-storage: mailbox_list_iter_next_call() - Handle subscriptions
directly here

2 weeks agolib-storage: Make mailbox_tree_deinit() and mailbox_tree_iterate_deinit() no-ops...
Marco Bettini [Tue, 15 Jul 2025 08:09:09 +0000 (08:09 +0000)] 
lib-storage: Make mailbox_tree_deinit() and mailbox_tree_iterate_deinit() no-ops on NULLs

2 weeks agofts: fts_parser_script_try_init() - Initialize filename
Marco Bettini [Fri, 25 Jul 2025 12:52:56 +0000 (12:52 +0000)] 
fts: fts_parser_script_try_init() - Initialize filename

Found by clang scan-build static analysis.

3 weeks agolib-imap: test_imap_write_capabilities() - Add missing NULL to terminate the array
Marco Bettini [Thu, 24 Jul 2025 10:18:13 +0000 (10:18 +0000)] 
lib-imap: test_imap_write_capabilities() - Add missing NULL to terminate the array

3 weeks agofts: Work harder to find attachment filename
Fred Morcos [Fri, 18 Jul 2025 08:38:38 +0000 (10:38 +0200)] 
fts: Work harder to find attachment filename

3 weeks agologin-common: Handle different dsasl_client_results failures better
Timo Sirainen [Fri, 18 Jul 2025 11:14:34 +0000 (14:14 +0300)] 
login-common: Handle different dsasl_client_results failures better

3 weeks ago*-login: Deduplicate shared SASL step handling code to login_proxy_sasl_step()
Timo Sirainen [Fri, 18 Jul 2025 11:13:23 +0000 (14:13 +0300)] 
*-login: Deduplicate shared SASL step handling code to login_proxy_sasl_step()

3 weeks ago*-login: Add LOGIN_PROXY_FAILURE_TYPE_AUTH_NOT_REPLIED
Timo Sirainen [Fri, 18 Jul 2025 11:28:47 +0000 (14:28 +0300)] 
*-login: Add LOGIN_PROXY_FAILURE_TYPE_AUTH_NOT_REPLIED

3 weeks ago*-commin: Rename LOGIN_PROXY_FAILURE_TYPE_AUTH to LOGIN_PROXY_FAILURE_TYPE_AUTH_REPLIED
Timo Sirainen [Fri, 18 Jul 2025 11:26:21 +0000 (14:26 +0300)] 
*-commin: Rename LOGIN_PROXY_FAILURE_TYPE_AUTH to LOGIN_PROXY_FAILURE_TYPE_AUTH_REPLIED

3 weeks agolib-sasl: Add more results to enum dsasl_client_result
Timo Sirainen [Fri, 18 Jul 2025 11:02:36 +0000 (14:02 +0300)] 
lib-sasl: Add more results to enum dsasl_client_result

3 weeks agolib-sasl, global: Change dsasl_client_input/output() to return enum
Timo Sirainen [Fri, 18 Jul 2025 10:55:43 +0000 (13:55 +0300)] 
lib-sasl, global: Change dsasl_client_input/output() to return enum

4 weeks agoimap-urlauth: Remove dead assignment
Timo Sirainen [Fri, 18 Jul 2025 11:55:25 +0000 (14:55 +0300)] 
imap-urlauth: Remove dead assignment

4 weeks agolib-var-expand-crypt: Fix linking issues
Timo Sirainen [Wed, 16 Jul 2025 06:50:56 +0000 (09:50 +0300)] 
lib-var-expand-crypt: Fix linking issues

This fixes at least OSX linking issues.

4 weeks agodoveadm: Fix boolean-parameter:false handling in doveadm HTTP API
Timo Sirainen [Mon, 7 Jul 2025 08:17:42 +0000 (11:17 +0300)] 
doveadm: Fix boolean-parameter:false handling in doveadm HTTP API

doveadm_cmd_param_flag() returned TRUE if the parameter was set, regardless
of whether its value was set to true or false.

4 weeks agolib-http: Fix memory leak when accessing HTTP server via UNIX socket
Timo Sirainen [Wed, 2 Jul 2025 11:01:38 +0000 (14:01 +0300)] 
lib-http: Fix memory leak when accessing HTTP server via UNIX socket