]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Marco Bettini [Wed, 17 Jul 2024 12:25:22 +0000 (12:25 +0000)]
auth: ldap - Replace deprecated ldap_result2error() with ldap_parse_result()
Marco Bettini [Fri, 12 Jul 2024 09:45:40 +0000 (09:45 +0000)]
auth: ldap - Add ldap_connection_group
Marco Bettini [Wed, 10 Jul 2024 14:47:09 +0000 (14:47 +0000)]
auth: ldap - Restore db_ldap_field_hide_password() functionality
Marco Bettini [Thu, 1 Aug 2024 12:33:02 +0000 (12:33 +0000)]
lib: strfuncs - Add str_ends_with() & str_ends_icase_with()
Marco Bettini [Wed, 10 Jul 2024 08:36:14 +0000 (08:36 +0000)]
auth: ldap - Move *attrs_names away from struct ldap connection
Multiple db instances sharing the same ldap connection were
overwriting each other attribute's fields in preinit as all
preinits are done before using the connections.
Marco Bettini [Wed, 10 Jul 2024 08:22:09 +0000 (08:22 +0000)]
auth: ldap - Make struct ldap_request_search::attributes const
Marco Bettini [Wed, 10 Jul 2024 08:11:42 +0000 (08:11 +0000)]
auth: ldap_set_attrs() - pass directly pool_t rather than ldap_connection
Marco Bettini [Mon, 8 Jul 2024 14:40:35 +0000 (14:40 +0000)]
auth: ldap - Split pre/post settings and finish the conversion
Marco Bettini [Thu, 11 Jul 2024 08:04:41 +0000 (08:04 +0000)]
auth: ldap_field_hide_password() - Disable temporarily
Marco Bettini [Wed, 27 Mar 2024 10:24:18 +0000 (10:24 +0000)]
auth: ldap - Collapse ldap_pass_filter and ldap_user_filter into ldap_filter
Marco Bettini [Mon, 25 Mar 2024 14:23:51 +0000 (14:23 +0000)]
auth: ldap - Add support for fields { .. }
Marco Bettini [Tue, 14 May 2024 14:15:58 +0000 (14:15 +0000)]
auth: db-ldap - Drop auth_sasl_bind
Now inferred by non-empty ldap_auth_sasl_mechanism.
Marco Bettini [Wed, 17 Jul 2024 08:14:05 +0000 (08:14 +0000)]
auth: ldap - Rename ldap_bind* into passdb_ldap_bind*
Marco Bettini [Fri, 5 Jul 2024 14:21:49 +0000 (14:21 +0000)]
auth: struct ldap_settings - Add auth_ prefixes
Marco Bettini [Wed, 20 Mar 2024 16:25:00 +0000 (16:25 +0000)]
auth: db-ldap-settings - Defer some checks to runtime
Marco Bettini [Wed, 20 Mar 2024 11:49:33 +0000 (11:49 +0000)]
auth: ldap - Use global passdb_use_worker from auth_passdb
Marco Bettini [Wed, 20 Mar 2024 11:42:33 +0000 (11:42 +0000)]
auth: ldap - Use passdb_default_pass_scheme from auth_passdb
Marco Bettini [Tue, 19 Mar 2024 15:08:26 +0000 (15:08 +0000)]
auth: db-ldap - Use also ssl_settings
ldap_tls_require_cert=demand/allow has replaced by ssl_client_require_valid_cert=yes/no.
The other values of the original setting are no longer supported.
Marco Bettini [Tue, 19 Mar 2024 13:50:45 +0000 (13:50 +0000)]
auth: db-ldap - Move validation to settings
Marco Bettini [Thu, 21 Mar 2024 10:26:19 +0000 (10:26 +0000)]
auth: struct ldap_settings - Rename parsed fields into parsed_xxx
Marco Bettini [Tue, 19 Mar 2024 14:55:26 +0000 (14:55 +0000)]
auth: struct ldap_settings - Rename tls into starttls
Marco Bettini [Thu, 1 Aug 2024 08:36:37 +0000 (08:36 +0000)]
auth: db_ldap_set_options() - Fix protocol_version to reflect actual setting name
Marco Bettini [Wed, 20 Mar 2024 16:13:16 +0000 (16:13 +0000)]
auth: struct ldap_settings - Fix ldap_ldap_version -> ldap_version
Marco Bettini [Fri, 15 Mar 2024 10:17:54 +0000 (10:17 +0000)]
auth: struct ldap-settings - Drop ldaprc_path
Marco Bettini [Fri, 15 Mar 2024 09:31:44 +0000 (09:31 +0000)]
auth: ldap - Read settings from main config
Marco Bettini [Fri, 15 Mar 2024 10:05:40 +0000 (10:05 +0000)]
auth: struct ldap_settings - Reorder fields by type [BUILD-BROKEN]
(build broken until next commits)
Marco Bettini [Tue, 12 Mar 2024 14:13:37 +0000 (14:13 +0000)]
auth: struct ldap_settings - Move to db-ldap-settings.[ch] [BUILD-BROKEN]
(build broken until next commits)
Marco Bettini [Thu, 1 Aug 2024 09:35:17 +0000 (09:35 +0000)]
auth: struct ldap_connection - Change set into a pointer
Marco Bettini [Wed, 24 Jul 2024 15:50:47 +0000 (15:50 +0000)]
auth: db_ldap_set_options() - Move variables local to their usage
Specifically, int value could cause an unused warning/error
if LDAP_OPT_DEBUG_LEVEL is not defined
Marco Bettini [Tue, 19 Mar 2024 14:11:08 +0000 (14:11 +0000)]
auth: db-ldap - Remove conn->config_path from messages
Marco Bettini [Mon, 20 May 2024 09:17:31 +0000 (09:17 +0000)]
auth: db-ldap - Drop subqueries
Subqueries are replaced by multiple passdb/userdb stanzas,
where the successive one sets ldap_base to the dn fetched/composed
using the fields of the previous one.
Marco Bettini [Fri, 14 Jun 2024 15:14:49 +0000 (15:14 +0000)]
auth: auth-request - Add auth_request_set_(pass|user)db_fields_ex()
Timo Sirainen [Tue, 27 Feb 2024 20:52:32 +0000 (22:52 +0200)]
lib-settings: Support overriding include groups via cli/userdb
For example namespace/inbox/@mailboxes=foo is equivalent to:
namespace inbox {
@mailboxes = foo
}
Timo Sirainen [Tue, 27 Feb 2024 20:47:54 +0000 (22:47 +0200)]
lib-settings, config: Add support for including groups
It works like:
group @label name {
..any settings here..
}
any filter {
@label = name
}
For example:
group @mailboxes defaults {
mailbox Sent {
special_use = \Sent
auto = subscribe
}
}
namespace inbox {
@mailboxes = defaults
}
Timo Sirainen [Tue, 22 Oct 2024 12:32:35 +0000 (15:32 +0300)]
lib-settings: Move seen_filter to struct settings_apply_ctx
Simplifies the following changes.
Timo Sirainen [Mon, 3 Jun 2024 16:47:05 +0000 (19:47 +0300)]
config: Split off config_dump_full_write_filter()
Timo Sirainen [Mon, 3 Jun 2024 16:46:04 +0000 (19:46 +0300)]
config: Split off config_dump_full_stdout_write_filter()
Timo Sirainen [Tue, 27 Feb 2024 20:43:35 +0000 (22:43 +0200)]
config: Add some comments to config dumping code
Marco Bettini [Fri, 26 Jul 2024 07:43:39 +0000 (07:43 +0000)]
plugins: acl_backend_user_is_in_group() - Retrofit array_bsearch() in place of array_get() + i_bsearch()
Timo Sirainen [Tue, 22 Oct 2024 12:37:30 +0000 (15:37 +0300)]
lib: Add event_filter_has_field_prefix()
Marco Bettini [Thu, 25 Jul 2024 15:40:41 +0000 (15:40 +0000)]
lib: array - Make array_bsearch() const
Marco Bettini [Fri, 26 Jul 2024 09:04:05 +0000 (09:04 +0000)]
lib: array - Add array_bsearch_modifiable()
Marco Bettini [Fri, 26 Jul 2024 08:56:54 +0000 (08:56 +0000)]
lib: array - Generalize ARRAY_LSEARCH_CALL() into ARRAY_SEARCH_CALL()
Marco Bettini [Fri, 26 Jul 2024 07:49:17 +0000 (07:49 +0000)]
lib: sort - Rename bsearch_(case)strcmp() into search_(case)strcmp()
Aki Tuomi [Fri, 26 Jul 2024 10:54:37 +0000 (13:54 +0300)]
dict: Add dict_name to command event
Vincent Kenbeek [Wed, 10 Jul 2024 09:19:41 +0000 (11:19 +0200)]
lib-settings, config: Differentiate between doveconf and config binaries
Karl Fleischmann [Wed, 10 Jul 2024 12:03:02 +0000 (14:03 +0200)]
auth: passdb-bsdauth - Move settings from "args" to individual settings
This commit enables bsdauth lookups caching by default while previously
it was necessary to supply a specific argument.
Karl Fleischmann [Tue, 9 Jul 2024 12:27:38 +0000 (14:27 +0200)]
auth: passdb-bsdauth - Add support for passdb_fields
Timo Sirainen [Thu, 21 Mar 2024 22:25:36 +0000 (00:25 +0200)]
dict: Support accessing non-legacy dicts
The dicts can be configured inside dict_server { .. } filter, e.g.:
dict_server {
dict cassandra {
..
}
dict cassandra2 {
driver = cassandra
..
}
}
Timo Sirainen [Thu, 21 Mar 2024 22:25:18 +0000 (00:25 +0200)]
lib-dict: Add dict_init_filter_auto()
Timo Sirainen [Thu, 21 Mar 2024 22:09:06 +0000 (00:09 +0200)]
dict: Rename dict_settings variables to server_settings
Timo Sirainen [Thu, 21 Mar 2024 22:03:53 +0000 (00:03 +0200)]
dict: Rename dict_init_cache_get() to dict_init_cache_get_legacy()
Timo Sirainen [Thu, 21 Mar 2024 22:01:35 +0000 (00:01 +0200)]
dict: Rename dict_server_settings.dicts to legacy_dicts
Timo Sirainen [Sat, 23 Mar 2024 11:45:58 +0000 (13:45 +0200)]
lib: Update pool_add_external_ref() comment
Timo Sirainen [Wed, 29 May 2024 20:28:43 +0000 (23:28 +0300)]
lib-storage: Don't keep SETTINGS_EVENT_FILTER_NAME=storage_name in mailbox_list.event
This fixes fts_dovecot, which was wrongly using obox's default fs settings.
Karl Fleischmann [Tue, 26 Mar 2024 13:18:24 +0000 (14:18 +0100)]
lib-imap-client: Fix infinite reconnection loop on some connect/certificate failures
Karl Fleischmann [Wed, 28 Feb 2024 16:49:50 +0000 (17:49 +0100)]
auth: passdb-imap - Add support for passdb_fields
Karl Fleischmann [Thu, 29 Feb 2024 11:58:34 +0000 (12:58 +0100)]
lib-imap-client: Differentiate time settings in imap client settings
Karl Fleischmann [Thu, 29 Feb 2024 13:17:13 +0000 (14:17 +0100)]
lib-imap-client: Remove obsolete imapc_client_settings
Karl Fleischmann [Mon, 25 Mar 2024 14:00:53 +0000 (15:00 +0100)]
lib-imap-client, lib-storage: Remove imapc_ssl_verify setting
In its place `ssl_client_require_valid_cert` must be used.
Karl Fleischmann [Mon, 8 Apr 2024 13:35:39 +0000 (15:35 +0200)]
lib-imap-client: imapc_settings - Explicitly disallow setting imapc_max_line_length to 0
Karl Fleischmann [Wed, 13 Mar 2024 16:15:08 +0000 (17:15 +0100)]
lib-imap-client: Copy attributes from settings into imapc_client struct
This allows overriding the settings' attributes via the imap client
creation parameters while maintain the constness of the settings struct.
Karl Fleischmann [Fri, 1 Mar 2024 12:16:55 +0000 (13:16 +0100)]
lib-imap-client, global: Consolidate imap-client settings into imapc_client_init()
Settings should not be implicitly overwritten as is currently done with
the imapc-client creation. This commit moves the settings-loading
mechanisms inside of imapc_client_init().
Karl Fleischmann [Fri, 1 Mar 2024 12:07:46 +0000 (13:07 +0100)]
lib-imap-client, global: Replace imapc_client_settings with imapc_settings
Karl Fleischmann [Thu, 4 Apr 2024 11:34:08 +0000 (13:34 +0200)]
lib-imap-client, lib-storage: Move imapc_host validation into imapc_connection_connect
Karl Fleischmann [Thu, 29 Feb 2024 15:31:18 +0000 (16:31 +0100)]
lib-imap-client, global: Split off imap client creation parameters
This commit helps differentiate imapc-specific settings from dynamic
options that the caller needs to set individually.
Karl Fleischmann [Wed, 28 Feb 2024 16:00:04 +0000 (17:00 +0100)]
lib-imap-client: Add necessary imap-client settings
These attributes will be necessary in the next commit to fully replace
the imap-client settings handling from inside imapc_client_init().
Karl Fleischmann [Wed, 28 Feb 2024 16:08:04 +0000 (17:08 +0100)]
lib-imap-client: Add new imapc_parameters struct
This will be necessary to allow a caller of imapc_client_init() to
dynamically change attributes.
Karl Fleischmann [Thu, 15 Feb 2024 15:44:43 +0000 (16:44 +0100)]
lib-imap-client: imapc-client - Remove debug setting
The parent event's debug flag is sufficient.
Karl Fleischmann [Tue, 13 Feb 2024 14:15:08 +0000 (15:15 +0100)]
lib-storage/index/imapc, lib-imap-client: Move imapc_settings into lib-imap-client
Karl Fleischmann [Wed, 28 Feb 2024 16:00:51 +0000 (17:00 +0100)]
lib-imap-client: Make %{owner_user} the default imapc_user setting
Karl Fleischmann [Mon, 18 Mar 2024 14:17:20 +0000 (15:17 +0100)]
auth: %{original_domain} wasn't escaped and may have caused a crash
Karl Fleischmann [Thu, 14 Mar 2024 13:44:52 +0000 (14:44 +0100)]
auth: Add %{owner_user} alias for %{user}
Aki Tuomi [Thu, 29 Feb 2024 13:26:23 +0000 (14:26 +0100)]
lib-storage: Fix parent event for mailbox_list
This is mainly intended to allow mailbox_list->event access %{owner_*} variables in
shared namespaces, which is needed by the following imapc change.
Aki Tuomi [Thu, 29 Feb 2024 13:27:23 +0000 (14:27 +0100)]
lib-storage: Fix base event for imapc storage creation
Timo Sirainen [Wed, 13 Mar 2024 21:35:25 +0000 (23:35 +0200)]
dict-sql: Implement new init() API
Timo Sirainen [Wed, 13 Mar 2024 20:53:01 +0000 (22:53 +0200)]
dict-sql: Split off struct dict_sql_map_settings from dict_sql_legacy_settings
Timo Sirainen [Wed, 13 Mar 2024 19:40:36 +0000 (21:40 +0200)]
lib-dict-backend: Rename dict-sql-settings to dict-sql-legacy-settings
Timo Sirainen [Wed, 13 Mar 2024 21:34:35 +0000 (23:34 +0200)]
dict-sql: Remove unused dict_sql_map.value_fields
Timo Sirainen [Wed, 13 Mar 2024 20:38:48 +0000 (22:38 +0200)]
dict-sql: Remove obsolete value_hexblob setting
It was replaced by value_type setting long time ago.
Timo Sirainen [Tue, 21 May 2024 22:26:16 +0000 (01:26 +0300)]
lib-sql: Add sql_driver event field
Timo Sirainen [Tue, 21 May 2024 22:24:37 +0000 (01:24 +0300)]
lib-dict: Rename driver event field to dict_driver
sergey.kitov [Fri, 12 Apr 2024 12:21:34 +0000 (15:21 +0300)]
lib-storage: Whitespace cleanup
sergey.kitov [Wed, 4 Oct 2023 11:59:26 +0000 (14:59 +0300)]
imap: Whitespace cleanup
sergey.kitov [Wed, 4 Oct 2023 12:41:10 +0000 (15:41 +0300)]
lib-storage: change imapc_features to BOOLLIST.
sergey.kitov [Wed, 25 Oct 2023 13:49:36 +0000 (16:49 +0300)]
doveadm: Change doveadm_allowed_commands to BOOLLIST.
sergey.kitov [Fri, 20 Oct 2023 13:17:05 +0000 (16:17 +0300)]
auth: Whitespace cleanup.
sergey.kitov [Fri, 20 Oct 2023 13:16:34 +0000 (16:16 +0300)]
auth: Change auth_realms to BOOLLIST.
sergey.kitov [Fri, 20 Oct 2023 07:37:56 +0000 (10:37 +0300)]
master: Whitespace cleanup.
sergey.kitov [Fri, 20 Oct 2023 07:31:53 +0000 (10:31 +0300)]
Change extra_groups to BOOLLIST.
sergey.kitov [Thu, 21 Sep 2023 08:43:27 +0000 (11:43 +0300)]
lib-storate & imap: change special_use to BOOLLIST.
sergey.kitov [Wed, 20 Sep 2023 15:08:41 +0000 (18:08 +0300)]
submission: change submission_backend_capabilities to BOOLLIST.
sergey.kitov [Wed, 20 Sep 2023 15:07:26 +0000 (18:07 +0300)]
submission-login: change submission_backend_capabilities to BOOLLIST.
sergey.kitov [Wed, 20 Sep 2023 14:50:14 +0000 (17:50 +0300)]
login-common: change login_plugins to BOOLLIST.
sergey.kitov [Thu, 2 May 2024 11:18:09 +0000 (14:18 +0300)]
login-common: Whitespace cleanup.
sergey.kitov [Wed, 4 Oct 2023 14:04:39 +0000 (17:04 +0300)]
submission: Whitespace cleanup.
sergey.kitov [Wed, 4 Oct 2023 12:31:03 +0000 (15:31 +0300)]
pop3: Whitespace cleanup.
sergey.kitov [Wed, 4 Oct 2023 12:02:19 +0000 (15:02 +0300)]
lmtp: lmtp-settings - Whitespace cleanup
sergey.kitov [Fri, 20 Oct 2023 08:40:49 +0000 (11:40 +0300)]
login-common: change login_source_ips to BOOLLIST.
sergey.kitov [Fri, 20 Oct 2023 08:20:22 +0000 (11:20 +0300)]
login-common: Remove '?' in the beginning of login_source_ips functionality.
This was never very useful feature, and it makes it more difficult to convert the setting to boollist.