]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
6 months agolib-smtp: test-smtp-server-errors - Apply -D command line option to client connection
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

6 months agolib-smtp: smtp-server-connection - Update hostname in settings upon TLS SNI
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

6 months agolib-smtp: Reformat smtp-server-connection.c
Stephan Bosch [Sat, 17 Aug 2024 23:49:12 +0000 (01:49 +0200)] 
lib-smtp: Reformat smtp-server-connection.c

6 months agologin-common: Use application protocol negotiation
Aki Tuomi [Tue, 14 May 2024 16:32:09 +0000 (19:32 +0300)] 
login-common: Use application protocol negotiation

6 months agolib-ssl-iostream: Add application protocols to parameters
Aki Tuomi [Fri, 15 Nov 2024 07:48:18 +0000 (09:48 +0200)] 
lib-ssl-iostream: Add application protocols to parameters

6 months agolib-ssl-iostream: Add autocreate parameters to client and server
Aki Tuomi [Fri, 15 Nov 2024 07:36:14 +0000 (09:36 +0200)] 
lib-ssl-iostream: Add autocreate parameters to client and server

6 months agolib-ssl-iostream: Support application protocol negotiation
Aki Tuomi [Tue, 14 May 2024 16:32:01 +0000 (19:32 +0300)] 
lib-ssl-iostream: Support application protocol negotiation

6 months agologin-common: Free settings if reload fails
Aki Tuomi [Tue, 14 May 2024 09:37:11 +0000 (12:37 +0300)] 
login-common: Free settings if reload fails

6 months agologin-common: Add haproxied hostname to event as local_name in alloc
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.

6 months agologin-common: Defer notify auth ready until TLS is ready
Aki Tuomi [Fri, 3 May 2024 11:47:14 +0000 (14:47 +0300)] 
login-common: Defer notify auth ready until TLS is ready

6 months agologin-common: Move client auth ready notification check to client_notify_auth_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

6 months agosubmission-login: Add reload_config handler
Aki Tuomi [Fri, 3 May 2024 11:24:37 +0000 (14:24 +0300)] 
submission-login: Add reload_config handler

6 months agologin-common: Expose client_sni_callback()
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

6 months agolmtp: Update server greeting after getting new settings when doing SNI
Aki Tuomi [Thu, 14 Nov 2024 12:13:00 +0000 (14:13 +0200)] 
lmtp: Update server greeting after getting new settings when doing SNI

6 months agolib-smtp: Fix connection_tls_sni_callback()
Aki Tuomi [Fri, 2 Aug 2024 05:51:13 +0000 (08:51 +0300)] 
lib-smtp: Fix connection_tls_sni_callback()

6 months agolib-smtp: Add smtp_server_connection_set_greeting()
Aki Tuomi [Fri, 2 Aug 2024 05:56:04 +0000 (08:56 +0300)] 
lib-smtp: Add smtp_server_connection_set_greeting()

6 months agolib-smtp: Add smtp_server_connection_is_started()
Aki Tuomi [Thu, 25 Jul 2024 10:06:26 +0000 (13:06 +0300)] 
lib-smtp: Add smtp_server_connection_is_started()

6 months agolib-ssl-iostream: Emit error if sni_callback() fails
Aki Tuomi [Fri, 16 Aug 2024 05:46:16 +0000 (08:46 +0300)] 
lib-ssl-iostream: Emit error if sni_callback() fails

6 months agolib-ssl-iostream: Drop SSL_get_servername_type() check
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.

6 months agolib-ssl-iostream: Use constants for extension id's
Aki Tuomi [Wed, 27 Nov 2024 12:15:00 +0000 (14:15 +0200)] 
lib-ssl-iostream: Use constants for extension id's

6 months agolib-ssl-iostream: Process ServerName in ssl_clienthello_callback() when possible
Aki Tuomi [Tue, 26 Nov 2024 22:30:36 +0000 (00:30 +0200)] 
lib-ssl-iostream: Process ServerName in ssl_clienthello_callback() when possible

6 months agolib-ssl-iostream: Move ServerName handling to ssl_servername_process()
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

6 months agosubmission-login: Remove useless includes
Aki Tuomi [Fri, 3 May 2024 07:23:05 +0000 (10:23 +0300)] 
submission-login: Remove useless includes

6 months agopop3-login: client - Remove useless includes
Aki Tuomi [Fri, 3 May 2024 11:02:57 +0000 (14:02 +0300)] 
pop3-login: client - Remove useless includes

6 months agolib-storage: Remove plugin settings and related functions
Timo Sirainen [Wed, 20 Nov 2024 13:43:14 +0000 (15:43 +0200)] 
lib-storage: Remove plugin settings and related functions

6 months agodoveadm: Remove unused doveadm_plugin_getenv()
Timo Sirainen [Wed, 20 Nov 2024 13:42:31 +0000 (15:42 +0200)] 
doveadm: Remove unused doveadm_plugin_getenv()

6 months agoconfig: Replace comments using plugin/key examples
Timo Sirainen [Wed, 20 Nov 2024 13:39:14 +0000 (15:39 +0200)] 
config: Replace comments using plugin/key examples

6 months agolib-settings: Remove special cases for plugin settings
Timo Sirainen [Wed, 20 Nov 2024 13:36:49 +0000 (15:36 +0200)] 
lib-settings: Remove special cases for plugin settings

6 months agolib: Add backtrace to "Growing data stack" debug log message
Timo Sirainen [Tue, 19 Nov 2024 11:08:00 +0000 (13:08 +0200)] 
lib: Add backtrace to "Growing data stack" debug log message

6 months agolib: Fix "Growing data stack" debug message to show a more useful frame
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.

6 months agoconfig: Don't try to auto-prefix named filter setting keys
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.

6 months agolib-var-expand: Add "generate" provider
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.

6 months agolib: Add event_set_forced_never_debug()
Timo Sirainen [Wed, 13 Nov 2024 11:22:10 +0000 (13:22 +0200)] 
lib: Add event_set_forced_never_debug()

6 months agoauth: Change auth_policy_request_attributes setting to strlist type
Timo Sirainen [Fri, 22 Nov 2024 10:23:53 +0000 (12:23 +0200)] 
auth: Change auth_policy_request_attributes setting to strlist type

6 months agolib-settings, config: Allow clearing out strlist settings with "key="
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.

6 months agolib-settings, config: Rename SET_BOOLLIST_* to SET_LIST_*
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.

6 months agolib-lda: Don't check for tempfail if deliver_mail() hook returns 0
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.

6 months agolib-lua: dlua-http - Use settings to configure HTTP client
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.

6 months agolib-lua: test-lua-http-client - Fix HTTP client test
Aki Tuomi [Fri, 1 Nov 2024 10:43:48 +0000 (12:43 +0200)] 
lib-lua: test-lua-http-client - Fix HTTP client test

6 months agodoveconf: Don't show requested settings where only prefix matches
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".

6 months agoconfig: Avoid panic if using auth settings inside local/remote filter
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.

6 months agoconfig: doveconf - Add -f filter parameters
Timo Sirainen [Thu, 7 Nov 2024 16:48:03 +0000 (18:48 +0200)] 
config: doveconf - Add -f filter parameters

6 months agoconfig: Rename config_filter.service to protocol
Timo Sirainen [Fri, 8 Nov 2024 10:18:41 +0000 (12:18 +0200)] 
config: Rename config_filter.service to protocol

6 months agoconfig: Split off config_filter_parse()
Timo Sirainen [Fri, 8 Nov 2024 09:55:32 +0000 (11:55 +0200)] 
config: Split off config_filter_parse()

6 months agoconfig: Split off config_filter_match_no_recurse()
Timo Sirainen [Fri, 8 Nov 2024 09:51:23 +0000 (11:51 +0200)] 
config: Split off config_filter_match_no_recurse()

6 months agodoveconf: Reorder if-branches
Timo Sirainen [Wed, 16 Oct 2024 09:59:31 +0000 (12:59 +0300)] 
doveconf: Reorder if-branches

6 months agodoveconf: Remove obsolete -m and -p parameters entirely
Timo Sirainen [Wed, 16 Oct 2024 09:52:18 +0000 (12:52 +0300)] 
doveconf: Remove obsolete -m and -p parameters entirely

6 months agolib-dict, lib-settings: Link tests with libdl
Aki Tuomi [Wed, 20 Nov 2024 10:12:20 +0000 (12:12 +0200)] 
lib-dict, lib-settings: Link tests with libdl

6 months agolib-language: Link tests against libdovecot.la
Aki Tuomi [Wed, 20 Nov 2024 10:09:18 +0000 (12:09 +0200)] 
lib-language: Link tests against libdovecot.la

6 months agolib-compression: 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

6 months agolib-var-expand: Move var-expand-crypt-plugin to lib-var-expand-crypto
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

6 months agovar-expand-crypt: Ensure iv or salt is given in raw mode
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.

6 months agovar-expand-crypt: Add aes-128-ecb tests
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

6 months agovar-expand-crypt: Reduce random test loops to 100
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.

6 months agovar-expand-crypt: Support key material generation with key and salt
Aki Tuomi [Sun, 17 Nov 2024 10:01:30 +0000 (12:01 +0200)] 
var-expand-crypt: Support key material generation with key and salt

6 months agovar-expand-crypt: Move structured input parsing to parse_parameters()
Aki Tuomi [Mon, 18 Nov 2024 12:59:44 +0000 (14:59 +0200)] 
var-expand-crypt: Move structured input parsing to parse_parameters()

6 months agovar-expand-crypt: Do not bail out early in var_expand_crypt_settings()
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.

6 months agovar-expand-crypt: Defer creating key and iv in context
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.

6 months agovar-expand-crypt: Make test_var_expand_crypt_random() stop on first error
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

6 months agovar-expand-crypt: Split test into two
Aki Tuomi [Sun, 17 Nov 2024 11:00:03 +0000 (13:00 +0200)] 
var-expand-crypt: Split test into two

6 months agovar-expand-crypt: Initialize/deinitialize with test runner
Aki Tuomi [Sun, 17 Nov 2024 11:09:46 +0000 (13:09 +0200)] 
var-expand-crypt: Initialize/deinitialize with test runner

6 months agovar-expand-crypt: Reformat test-var-expand-crypt.c
Aki Tuomi [Sun, 17 Nov 2024 10:38:04 +0000 (12:38 +0200)] 
var-expand-crypt: Reformat test-var-expand-crypt.c

6 months agolib-dcrypt: Allow missing IV
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.

6 months agolib-storage: mailbox-list - Use mkdir_get_executable_mode() instead of local static...
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

6 months agolib: mkdir-parents - Add mkdir_get_executable_mode()
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.

6 months agolda: main - Use user event as event parent for lib-lda
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.

6 months agolmtp: lmtp-local - Use user event as event parent for lib-lda
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.

6 months agolib-settings: settings - Add settings_root_override_remove()
Stephan Bosch [Wed, 6 Mar 2024 00:57:26 +0000 (01:57 +0100)] 
lib-settings: settings - Add settings_root_override_remove()

6 months agofs-posix: Change fs_posix_autodelete_empty_directories to be a hidden setting
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

6 months agofs-posix: Change fs_posix_autodelete_empty_directories default to no
Timo Sirainen [Wed, 13 Nov 2024 08:25:50 +0000 (10:25 +0200)] 
fs-posix: Change fs_posix_autodelete_empty_directories default to no

6 months agoconfig: Fix grouping settings under a named filter
Timo Sirainen [Fri, 8 Nov 2024 12:14:19 +0000 (14:14 +0200)] 
config: Fix grouping settings under a named filter

6 months agoauth: Move username matching to auth when listing users
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.

6 months agoauth: userdb-passwd-file - Support iterating variable paths if variables are provided
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.

6 months agoauth: db-passwd-file - Normalize path with db_passwd_fix_path()
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 ../

6 months agoauth: db-passwd-file - Add db_passwd_fix_path()
Aki Tuomi [Wed, 13 Nov 2024 09:38:30 +0000 (11:38 +0200)] 
auth: db-passwd-file - Add db_passwd_fix_path()

6 months agoauth: db-passwd-file - Include event in var_expand_params
Aki Tuomi [Fri, 8 Nov 2024 07:06:46 +0000 (09:06 +0200)] 
auth: db-passwd-file - Include event in var_expand_params

6 months agoauth: userdb-passwd-file - Use container_of() macro
Aki Tuomi [Fri, 8 Nov 2024 06:30:45 +0000 (08:30 +0200)] 
auth: userdb-passwd-file - Use container_of() macro

6 months agolib-storage: Add metacache_service_user_module
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.

6 months agolib-storage: Add mailbox_list_lost_mailbox_prefix hidden setting
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.

6 months agolib-storage: Add mail_storage_service_user.module_contexts
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.

6 months agolib-storage: Make struct mail_storage_service_user public
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.

6 months agoconfig: Add @metric_defaults = proxy/backend
Timo Sirainen [Wed, 9 Oct 2024 21:15:18 +0000 (00:15 +0300)] 
config: Add @metric_defaults = proxy/backend

6 months agoconfig: Don't run settings check functions inside @groups
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.

6 months agoconfig: Allow specifying service settings inside @groups
Timo Sirainen [Thu, 19 Sep 2024 10:18:04 +0000 (13:18 +0300)] 
config: Allow specifying service settings inside @groups

6 months agodoveconf: Added -I parameter to dump config imported from plugins
Timo Sirainen [Wed, 9 Oct 2024 06:49:26 +0000 (09:49 +0300)] 
doveconf: Added -I parameter to dump config imported from plugins

6 months agoconfig: Support importing configuration from settings 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.

6 months agolib-storage: Check that mail_server_admin is valid URI
Aki Tuomi [Tue, 5 Nov 2024 11:56:43 +0000 (13:56 +0200)] 
lib-storage: Check that mail_server_admin is valid URI

6 months agolib: test-uri - Fix sip tests
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.

6 months agolib: uri - Allow host after scheme with 'iax' scheme
Aki Tuomi [Tue, 5 Nov 2024 11:36:40 +0000 (13:36 +0200)] 
lib: uri - Allow host after scheme with 'iax' scheme

6 months agolib: uri - Allow parameters directly with semicolon
Aki Tuomi [Tue, 5 Nov 2024 11:19:49 +0000 (13:19 +0200)] 
lib: uri - Allow parameters directly with semicolon

Fixes AAA validation.

6 months agolib: test-uri - Add test for [IPv6] with http scheme
Aki Tuomi [Tue, 5 Nov 2024 11:23:03 +0000 (13:23 +0200)] 
lib: test-uri - Add test for [IPv6] with http scheme

6 months agolib: test-uri - Print error when RFC URI parsing fails
Aki Tuomi [Tue, 5 Nov 2024 11:27:46 +0000 (13:27 +0200)] 
lib: test-uri - Print error when RFC URI parsing fails

6 months agoconfig: Fail with error if trying to use settings inside groups which don't work
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

6 months agoconfig: doveconf - When asking for specific settings, show also defaults
Timo Sirainen [Wed, 6 Nov 2024 13:52:55 +0000 (15:52 +0200)] 
config: doveconf - When asking for specific settings, show also defaults

6 months agodoveconf: Expand include @groups when asking for specific settings
Timo Sirainen [Wed, 30 Oct 2024 20:45:45 +0000 (22:45 +0200)] 
doveconf: Expand include @groups when asking for specific settings

For example if you have:

group @example foo {
  namespace_separator = /
}

namespace inbox {
  @example = foo
}

Asking for "doveconf namespace/inbox/separator" will now output "/".

6 months agoconfig: Fail if trying to use unknown @group label or name
Timo Sirainen [Fri, 18 Oct 2024 07:17:04 +0000 (10:17 +0300)] 
config: Fail if trying to use unknown @group label or name

6 months agoconfig: Add config_filters_equal_no_recursion()
Timo Sirainen [Wed, 30 Oct 2024 20:45:32 +0000 (22:45 +0200)] 
config: Add config_filters_equal_no_recursion()

6 months agoconfig: Replace config_module_parsers_get_setting() with config_parsed_get_setting()
Timo Sirainen [Wed, 6 Nov 2024 13:44:28 +0000 (15:44 +0200)] 
config: Replace config_module_parsers_get_setting() with config_parsed_get_setting()

The new function looks up both explicitly changed settings and default
settings.

6 months agomaster, config: Add default_* service settings
Timo Sirainen [Mon, 4 Nov 2024 10:45:38 +0000 (12:45 +0200)] 
master, config: Add default_* service settings

Added default_process_limit, default_client_limit,
default_idle_kill_interval and default_vsz_limit settings. The global
service_* settings default to using these.

These settings are added into a new global "default settings" filter.
Other default settings are kept mixed with explicit settings, because
for them it doesn't matter that they are mixed, and it simplifies
settings value lookups.

6 months agoconfig: Initialize STRLIST and BOOLLIST arrays with defaults
Timo Sirainen [Wed, 6 Nov 2024 14:18:32 +0000 (16:18 +0200)] 
config: Initialize STRLIST and BOOLLIST arrays with defaults

This will be needed by the following changes. Otherwise doveconf output
shows only the elements in config file, not the built-in defaults.