]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Aki Tuomi [Fri, 15 Nov 2024 09:39:45 +0000 (11:39 +0200)]
lib-http: Advertize http/1.1 application support with TLS
Stephan Bosch [Sun, 18 Aug 2024 00:47:54 +0000 (02:47 +0200)]
lib-smtp: test-smtp-server-errors - Adjust TLS SNI test with delayed start
This tests whether TLS handshake happens even though connection is not started
yet.
Stephan Bosch [Sun, 18 Aug 2024 01:13:06 +0000 (03:13 +0200)]
lib-smtp: smtp-server-connection - Add debug message for connection start
Stephan Bosch [Sun, 18 Aug 2024 00:34:46 +0000 (02:34 +0200)]
lib-smtp: smtp-server-connection - Perform TLS handshake even if connection is not started yet
Stephan Bosch [Sun, 18 Aug 2024 00:42:10 +0000 (02:42 +0200)]
lib-smtp: smtp-server-connection - Move common connection creation code to separate function
Stephan Bosch [Sun, 18 Aug 2024 00:33:37 +0000 (02:33 +0200)]
lib-smtp: test-smtp-server-errors - Add TLS SNI test
Stephan Bosch [Sun, 18 Aug 2024 01:23:35 +0000 (03:23 +0200)]
lib-smtp: test-smtp-server-errors - Add smtp server connection object to test server connection struct
Stephan Bosch [Sun, 18 Aug 2024 01:20:41 +0000 (03:20 +0200)]
lib-smtp: test-smtp-server-errors - Apply -D command line option to client connection
Stephan Bosch [Sun, 18 Aug 2024 00:37:04 +0000 (02:37 +0200)]
lib-smtp: smtp-server-connection - Update hostname in settings upon TLS SNI
Stephan Bosch [Sat, 17 Aug 2024 23:49:12 +0000 (01:49 +0200)]
lib-smtp: Reformat smtp-server-connection.c
Aki Tuomi [Tue, 14 May 2024 16:32:09 +0000 (19:32 +0300)]
login-common: Use application protocol negotiation
Aki Tuomi [Fri, 15 Nov 2024 07:48:18 +0000 (09:48 +0200)]
lib-ssl-iostream: Add application protocols to parameters
Aki Tuomi [Fri, 15 Nov 2024 07:36:14 +0000 (09:36 +0200)]
lib-ssl-iostream: Add autocreate parameters to client and server
Aki Tuomi [Tue, 14 May 2024 16:32:01 +0000 (19:32 +0300)]
lib-ssl-iostream: Support application protocol negotiation
Aki Tuomi [Tue, 14 May 2024 09:37:11 +0000 (12:37 +0300)]
login-common: Free settings if reload fails
Aki Tuomi [Fri, 3 May 2024 12:15:37 +0000 (15:15 +0300)]
login-common: Add haproxied hostname to event as local_name in alloc
This makes settings filters work consistently.
Aki Tuomi [Fri, 3 May 2024 11:47:14 +0000 (14:47 +0300)]
login-common: Defer notify auth ready until TLS is ready
Aki Tuomi [Fri, 3 May 2024 11:50:02 +0000 (14:50 +0300)]
login-common: Move client auth ready notification check to client_notify_auth_ready
Aki Tuomi [Fri, 3 May 2024 11:24:37 +0000 (14:24 +0300)]
submission-login: Add reload_config handler
Aki Tuomi [Fri, 3 May 2024 11:20:38 +0000 (14:20 +0300)]
login-common: Expose client_sni_callback()
It is needed by submission-login
Aki Tuomi [Thu, 14 Nov 2024 12:13:00 +0000 (14:13 +0200)]
lmtp: Update server greeting after getting new settings when doing SNI
Aki Tuomi [Fri, 2 Aug 2024 05:51:13 +0000 (08:51 +0300)]
lib-smtp: Fix connection_tls_sni_callback()
Aki Tuomi [Fri, 2 Aug 2024 05:56:04 +0000 (08:56 +0300)]
lib-smtp: Add smtp_server_connection_set_greeting()
Aki Tuomi [Thu, 25 Jul 2024 10:06:26 +0000 (13:06 +0300)]
lib-smtp: Add smtp_server_connection_is_started()
Aki Tuomi [Fri, 16 Aug 2024 05:46:16 +0000 (08:46 +0300)]
lib-ssl-iostream: Emit error if sni_callback() fails
Aki Tuomi [Wed, 27 Nov 2024 11:23:55 +0000 (13:23 +0200)]
lib-ssl-iostream: Drop SSL_get_servername_type() check
It's not useful. We know if host is not NULL that we already got
host_name from previous call.
Aki Tuomi [Wed, 27 Nov 2024 12:15:00 +0000 (14:15 +0200)]
lib-ssl-iostream: Use constants for extension id's
Aki Tuomi [Tue, 26 Nov 2024 22:30:36 +0000 (00:30 +0200)]
lib-ssl-iostream: Process ServerName in ssl_clienthello_callback() when possible
Aki Tuomi [Tue, 26 Nov 2024 22:29:01 +0000 (00:29 +0200)]
lib-ssl-iostream: Move ServerName handling to ssl_servername_process()
Simplifies next commit
Aki Tuomi [Fri, 3 May 2024 07:23:05 +0000 (10:23 +0300)]
submission-login: Remove useless includes
Aki Tuomi [Fri, 3 May 2024 11:02:57 +0000 (14:02 +0300)]
pop3-login: client - Remove useless includes
Timo Sirainen [Wed, 20 Nov 2024 13:43:14 +0000 (15:43 +0200)]
lib-storage: Remove plugin settings and related functions
Timo Sirainen [Wed, 20 Nov 2024 13:42:31 +0000 (15:42 +0200)]
doveadm: Remove unused doveadm_plugin_getenv()
Timo Sirainen [Wed, 20 Nov 2024 13:39:14 +0000 (15:39 +0200)]
config: Replace comments using plugin/key examples
Timo Sirainen [Wed, 20 Nov 2024 13:36:49 +0000 (15:36 +0200)]
lib-settings: Remove special cases for plugin settings
Timo Sirainen [Tue, 19 Nov 2024 11:08:00 +0000 (13:08 +0200)]
lib: Add backtrace to "Growing data stack" debug log message
Timo Sirainen [Tue, 19 Nov 2024 10:28:13 +0000 (12:28 +0200)]
lib: Fix "Growing data stack" debug message to show a more useful frame
It always used the data stack frame in t_malloc_real(), which isn't useful.
Instead, change it to log about the previous frame.
Timo Sirainen [Mon, 18 Nov 2024 14:06:50 +0000 (16:06 +0200)]
config: Don't try to auto-prefix named filter setting keys
These can cause conflicts with other settings, and auto-prefixing isn't very
useful for named filters anyway.
Timo Sirainen [Mon, 18 Nov 2024 10:46:33 +0000 (12:46 +0200)]
lib-var-expand: Add "generate" provider
This can be used to generate guid, guid128 and uuid with various formats.
Timo Sirainen [Wed, 13 Nov 2024 11:22:10 +0000 (13:22 +0200)]
lib: Add event_set_forced_never_debug()
Timo Sirainen [Fri, 22 Nov 2024 10:23:53 +0000 (12:23 +0200)]
auth: Change auth_policy_request_attributes setting to strlist type
Timo Sirainen [Fri, 22 Nov 2024 10:31:23 +0000 (12:31 +0200)]
lib-settings, config: Allow clearing out strlist settings with "key="
If a non-empty value is given, it's an error.
Timo Sirainen [Fri, 22 Nov 2024 10:41:06 +0000 (12:41 +0200)]
lib-settings, config: Rename SET_BOOLLIST_* to SET_LIST_*
This is in preparation for STRLIST to use them as well.
Timo Sirainen [Wed, 20 Nov 2024 11:09:03 +0000 (13:09 +0200)]
lib-lda: Don't check for tempfail if deliver_mail() hook returns 0
This fixes plugins that want lib-lda to continue saving the mail by
returning 0. This may have wrongly caused temporary failure,
depending on what happened to be in mail_storage's error.
Aki Tuomi [Thu, 31 Oct 2024 13:25:57 +0000 (15:25 +0200)]
lib-lua: dlua-http - Use settings to configure HTTP client
This allows inheriting HTTP settings from Dovecot configuration.
Aki Tuomi [Fri, 1 Nov 2024 10:43:48 +0000 (12:43 +0200)]
lib-lua: test-lua-http-client - Fix HTTP client test
Timo Sirainen [Fri, 8 Nov 2024 11:14:13 +0000 (13:14 +0200)]
doveconf: Don't show requested settings where only prefix matches
For example asking for "doveconf passdb" could have returned passdb_lua
and other (default) named filters where the name started with "passdb".
Timo Sirainen [Fri, 8 Nov 2024 11:11:47 +0000 (13:11 +0200)]
config: Avoid panic if using auth settings inside local/remote filter
Change it to a normal error instead.
Timo Sirainen [Thu, 7 Nov 2024 16:48:03 +0000 (18:48 +0200)]
config: doveconf - Add -f filter parameters
Timo Sirainen [Fri, 8 Nov 2024 10:18:41 +0000 (12:18 +0200)]
config: Rename config_filter.service to protocol
Timo Sirainen [Fri, 8 Nov 2024 09:55:32 +0000 (11:55 +0200)]
config: Split off config_filter_parse()
Timo Sirainen [Fri, 8 Nov 2024 09:51:23 +0000 (11:51 +0200)]
config: Split off config_filter_match_no_recurse()
Timo Sirainen [Wed, 16 Oct 2024 09:59:31 +0000 (12:59 +0300)]
doveconf: Reorder if-branches
Timo Sirainen [Wed, 16 Oct 2024 09:52:18 +0000 (12:52 +0300)]
doveconf: Remove obsolete -m and -p parameters entirely
Aki Tuomi [Wed, 20 Nov 2024 10:12:20 +0000 (12:12 +0200)]
lib-dict, lib-settings: Link tests with libdl
Aki Tuomi [Wed, 20 Nov 2024 10:09:18 +0000 (12:09 +0200)]
lib-language: Link tests against libdovecot.la
Aki Tuomi [Wed, 20 Nov 2024 10:09:08 +0000 (12:09 +0200)]
lib-compression: Link tests against libdovecot.la
Aki Tuomi [Mon, 18 Nov 2024 12:15:53 +0000 (14:15 +0200)]
lib-var-expand: Move var-expand-crypt-plugin to lib-var-expand-crypto
Aki Tuomi [Mon, 18 Nov 2024 08:19:07 +0000 (10:19 +0200)]
var-expand-crypt: Ensure iv or salt is given in raw mode
Would generate non-decryptable output otherwise.
Aki Tuomi [Sun, 17 Nov 2024 10:21:34 +0000 (12:21 +0200)]
var-expand-crypt: Add aes-128-ecb tests
This ensures ecb mode works too
Aki Tuomi [Mon, 18 Nov 2024 13:56:03 +0000 (15:56 +0200)]
var-expand-crypt: Reduce random test loops to 100
It takes too long with valgrind otherwise.
Aki Tuomi [Sun, 17 Nov 2024 10:01:30 +0000 (12:01 +0200)]
var-expand-crypt: Support key material generation with key and salt
Aki Tuomi [Mon, 18 Nov 2024 12:59:44 +0000 (14:59 +0200)]
var-expand-crypt: Move structured input parsing to parse_parameters()
Aki Tuomi [Sun, 17 Nov 2024 11:35:43 +0000 (13:35 +0200)]
var-expand-crypt: Do not bail out early in var_expand_crypt_settings()
Simplifies next change.
Aki Tuomi [Sun, 17 Nov 2024 10:04:15 +0000 (12:04 +0200)]
var-expand-crypt: Defer creating key and iv in context
Simplifies next change.
Aki Tuomi [Sun, 17 Nov 2024 10:49:02 +0000 (12:49 +0200)]
var-expand-crypt: Make test_var_expand_crypt_random() stop on first error
Aki Tuomi [Sun, 17 Nov 2024 11:00:03 +0000 (13:00 +0200)]
var-expand-crypt: Split test into two
Aki Tuomi [Sun, 17 Nov 2024 11:09:46 +0000 (13:09 +0200)]
var-expand-crypt: Initialize/deinitialize with test runner
Aki Tuomi [Sun, 17 Nov 2024 10:38:04 +0000 (12:38 +0200)]
var-expand-crypt: Reformat test-var-expand-crypt.c
Aki Tuomi [Sun, 17 Nov 2024 10:20:41 +0000 (12:20 +0200)]
lib-dcrypt: Allow missing IV
This is needed for e.g. ECB mode.
Stephan Bosch [Thu, 14 Nov 2024 12:10:09 +0000 (13:10 +0100)]
lib-storage: mailbox-list - Use mkdir_get_executable_mode() instead of local static version
Stephan Bosch [Thu, 14 Nov 2024 12:09:12 +0000 (13:09 +0100)]
lib: mkdir-parents - Add mkdir_get_executable_mode()
Makes get_dir_mode() from src/lib-sieve/mailbox-list.c public.
Stephan Bosch [Wed, 28 Aug 2024 01:10:58 +0000 (03:10 +0200)]
lda: main - Use user event as event parent for lib-lda
This makes user variable expansions available for settings parsed by lib-lda and
lda plugins.
Stephan Bosch [Wed, 28 Aug 2024 00:50:26 +0000 (02:50 +0200)]
lmtp: lmtp-local - Use user event as event parent for lib-lda
This makes user variable expansions available for settings parsed by lib-lda and
lda plugins.
Stephan Bosch [Wed, 6 Mar 2024 00:57:26 +0000 (01:57 +0100)]
lib-settings: settings - Add settings_root_override_remove()
Timo Sirainen [Wed, 13 Nov 2024 08:28:16 +0000 (10:28 +0200)]
fs-posix: Change fs_posix_autodelete_empty_directories to be a hidden setting
Timo Sirainen [Wed, 13 Nov 2024 08:25:50 +0000 (10:25 +0200)]
fs-posix: Change fs_posix_autodelete_empty_directories default to no
Timo Sirainen [Fri, 8 Nov 2024 12:14:19 +0000 (14:14 +0200)]
config: Fix grouping settings under a named filter
Aki Tuomi [Fri, 8 Nov 2024 07:30:14 +0000 (09:30 +0200)]
auth: Move username matching to auth when listing users
Auth process knows how to match users correctly in each userdb,
so it is better to do it there.
Aki Tuomi [Fri, 8 Nov 2024 06:55:37 +0000 (08:55 +0200)]
auth: userdb-passwd-file - Support iterating variable paths if variables are provided
This still does not fix '*', but at least it can list users if you
provide domain.
Aki Tuomi [Wed, 13 Nov 2024 09:42:05 +0000 (11:42 +0200)]
auth: db-passwd-file - Normalize path with db_passwd_fix_path()
Otherwise there is a chance that we leak one ../
Aki Tuomi [Wed, 13 Nov 2024 09:38:30 +0000 (11:38 +0200)]
auth: db-passwd-file - Add db_passwd_fix_path()
Aki Tuomi [Fri, 8 Nov 2024 07:06:46 +0000 (09:06 +0200)]
auth: db-passwd-file - Include event in var_expand_params
Aki Tuomi [Fri, 8 Nov 2024 06:30:45 +0000 (08:30 +0200)]
auth: userdb-passwd-file - Use container_of() macro
Timo Sirainen [Tue, 12 Nov 2024 20:39:53 +0000 (22:39 +0200)]
lib-storage: Add metacache_service_user_module
This is a bit of a kludge to keep it in core, but it is wanted independently
by both obox and fts_dovecot plugins.
Timo Sirainen [Mon, 11 Nov 2024 20:49:21 +0000 (22:49 +0200)]
lib-storage: Add mailbox_list_lost_mailbox_prefix hidden setting
This replaces mail_storage.lost_mailbox_prefix.
Timo Sirainen [Mon, 11 Nov 2024 13:32:15 +0000 (15:32 +0200)]
lib-storage: Add mail_storage_service_user.module_contexts
This allows plugins to add plugin-specific fields to
mail_storage_service_user.
Timo Sirainen [Mon, 11 Nov 2024 13:23:07 +0000 (15:23 +0200)]
lib-storage: Make struct mail_storage_service_user public
Mainly to allow plugin-specific module_contexts in the next commit.
Timo Sirainen [Wed, 9 Oct 2024 21:15:18 +0000 (00:15 +0300)]
config: Add @metric_defaults = proxy/backend
Timo Sirainen [Thu, 19 Sep 2024 10:49:36 +0000 (13:49 +0300)]
config: Don't run settings check functions inside @groups
The groups can be included from different places, so alone they don't have a
usable context for the checks.
Timo Sirainen [Thu, 19 Sep 2024 10:18:04 +0000 (13:18 +0300)]
config: Allow specifying service settings inside @groups
Timo Sirainen [Wed, 9 Oct 2024 06:49:26 +0000 (09:49 +0300)]
doveconf: Added -I parameter to dump config imported from plugins
Timo Sirainen [Wed, 18 Sep 2024 12:58:20 +0000 (15:58 +0300)]
config: Support importing configuration from settings plugins
Add to the settings plugin:
const char *<plugin name>_config_import = "..."
This is mainly intended to be used for adding default @groups.
Aki Tuomi [Tue, 5 Nov 2024 11:56:43 +0000 (13:56 +0200)]
lib-storage: Check that mail_server_admin is valid URI
Aki Tuomi [Tue, 5 Nov 2024 12:01:11 +0000 (14:01 +0200)]
lib: test-uri - Fix sip tests
In RFC 3261 the tag is clearly outside the URI.
Aki Tuomi [Tue, 5 Nov 2024 11:36:40 +0000 (13:36 +0200)]
lib: uri - Allow host after scheme with 'iax' scheme
Aki Tuomi [Tue, 5 Nov 2024 11:19:49 +0000 (13:19 +0200)]
lib: uri - Allow parameters directly with semicolon
Fixes AAA validation.
Aki Tuomi [Tue, 5 Nov 2024 11:23:03 +0000 (13:23 +0200)]
lib: test-uri - Add test for [IPv6] with http scheme
Aki Tuomi [Tue, 5 Nov 2024 11:27:46 +0000 (13:27 +0200)]
lib: test-uri - Print error when RFC URI parsing fails
Timo Sirainen [Thu, 7 Nov 2024 11:55:30 +0000 (13:55 +0200)]
config: Fail with error if trying to use settings inside groups which don't work