]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
5 months agolib-http: http-client-connection - Split off http_client_connection_handle_response()
Stephan Bosch [Thu, 19 Nov 2020 12:04:52 +0000 (13:04 +0100)] 
lib-http: http-client-connection - Split off http_client_connection_handle_response()

5 months agolib-http: http-client-connection - Restructure http_client_connection_process_response()
Stephan Bosch [Thu, 19 Nov 2020 11:18:50 +0000 (12:18 +0100)] 
lib-http: http-client-connection - Restructure http_client_connection_process_response()

5 months agolib-http: http-client-connection - Split off http_client_connection_process_response()
Stephan Bosch [Thu, 19 Nov 2020 10:57:07 +0000 (11:57 +0100)] 
lib-http: http-client-connection - Split off http_client_connection_process_response()

5 months agolib-http: http-client-peer - Do not trigger request handler for disconnected peer
Stephan Bosch [Sat, 24 Mar 2018 15:32:35 +0000 (16:32 +0100)] 
lib-http: http-client-peer - Do not trigger request handler for disconnected peer

5 months agolib-http: http-client-request - Make http_client_request_unref(NULL) a no-op
Stephan Bosch [Wed, 20 Nov 2024 00:53:25 +0000 (01:53 +0100)] 
lib-http: http-client-request - Make http_client_request_unref(NULL) a no-op

5 months agolib-http: Reformat http-client-private.h
Stephan Bosch [Tue, 20 Mar 2018 19:59:07 +0000 (20:59 +0100)] 
lib-http: Reformat http-client-private.h

5 months agolib-http: Reformat http-client-host.c
Stephan Bosch [Tue, 20 Mar 2018 19:58:46 +0000 (20:58 +0100)] 
lib-http: Reformat http-client-host.c

5 months agolib-dns: Call lookup callback on abort with EAI_CANCELED
Aki Tuomi [Thu, 6 Mar 2025 07:17:24 +0000 (09:17 +0200)] 
lib-dns: Call lookup callback on abort with EAI_CANCELED

5 months agoglobal: Ignore DNS callback result if it was aborted
Aki Tuomi [Thu, 6 Mar 2025 07:17:07 +0000 (09:17 +0200)] 
global: Ignore DNS callback result if it was aborted

5 months agoglobal: For Pro edition, default mail_temp_dir=/dev/shm/dovecot
Timo Sirainen [Mon, 3 Mar 2025 09:00:57 +0000 (11:00 +0200)] 
global: For Pro edition, default mail_temp_dir=/dev/shm/dovecot

5 months agolib-storage: For Pro edition, change default mail_always_cache_fields
Timo Sirainen [Sun, 2 Mar 2025 10:34:11 +0000 (12:34 +0200)] 
lib-storage: For Pro edition, change default mail_always_cache_fields

This shouldn't really be required anymore, but for now we'll recommend it
for Pro installations.

5 months agolib-storage: Change default mail_cache_fields
Timo Sirainen [Fri, 28 Feb 2025 11:23:45 +0000 (13:23 +0200)] 
lib-storage: Change default mail_cache_fields

The new default reflects the fields used by IMAP clients commonly nowadays.

Unit test must be changed also a bit to pass with the changes, since when
returning header from cache it drops the CR character.

5 months agolib-storage: For Pro edition, default mail_uid=vmail and vmail_gid=vmail
Timo Sirainen [Sat, 1 Mar 2025 08:29:06 +0000 (10:29 +0200)] 
lib-storage: For Pro edition, default mail_uid=vmail and vmail_gid=vmail

5 months agolib-master: For Pro edition, set default process_shutdown_filter
Timo Sirainen [Fri, 28 Feb 2025 13:09:24 +0000 (15:09 +0200)] 
lib-master: For Pro edition, set default process_shutdown_filter

Now that default service_restart_request_count are set, this helps to reduce
memory usage by restarting processes when their idling memory usage grows
too large.

5 months agoanvil: For Pro edition, disable anvil-auth-penalty socket by default
Timo Sirainen [Fri, 28 Feb 2025 11:46:57 +0000 (13:46 +0200)] 
anvil: For Pro edition, disable anvil-auth-penalty socket by default

5 months agoauth: Change auth-userdb socket's group to default_internal_group
Timo Sirainen [Fri, 28 Feb 2025 11:39:21 +0000 (13:39 +0200)] 
auth: Change auth-userdb socket's group to default_internal_group

This allows userdb lookups by mail processes even without root privileges.

5 months agodict: For Pro edition, default service/dict-async/vsz_limit=2G
Timo Sirainen [Fri, 28 Feb 2025 11:29:47 +0000 (13:29 +0200)] 
dict: For Pro edition, default service/dict-async/vsz_limit=2G

5 months agolmtp: For Pro edition, add default inet_listener in port 24
Timo Sirainen [Fri, 28 Feb 2025 10:45:27 +0000 (12:45 +0200)] 
lmtp: For Pro edition, add default inet_listener in port 24

5 months agolib-master: For glibc, default MALLOC_MMAP_THRESHOLD_=131072
Timo Sirainen [Fri, 28 Feb 2025 10:37:03 +0000 (12:37 +0200)] 
lib-master: For glibc, default MALLOC_MMAP_THRESHOLD_=131072

This helps to reduce long-running processes' memory usage.

This change isn't tracked in settings changes history. Mainly because it
would require extra code to support, but also because it's more of a system
optimization than Dovecot configuration change.

5 months agoglobal: For Pro edition, default login_proxy_max_disconnect_delay=30s
Timo Sirainen [Fri, 28 Feb 2025 10:35:20 +0000 (12:35 +0200)] 
global: For Pro edition, default login_proxy_max_disconnect_delay=30s

5 months agoglobal: For Pro edition, default verbose_proctitle=yes
Timo Sirainen [Fri, 28 Feb 2025 10:33:45 +0000 (12:33 +0200)] 
global: For Pro edition, default verbose_proctitle=yes

5 months agomaster: For Pro edition, default default_vsz_limit=1G
Timo Sirainen [Fri, 28 Feb 2025 10:24:28 +0000 (12:24 +0200)] 
master: For Pro edition, default default_vsz_limit=1G

5 months agoauth: For Pro edition, default to service_client_limit=16384
Timo Sirainen [Fri, 28 Feb 2025 10:12:03 +0000 (12:12 +0200)] 
auth: For Pro edition, default to service_client_limit=16384

This is needed to avoid warnings at startup due to the previous
changes.

5 months agoimap: For Pro edition, default to service_process_limit=10240
Timo Sirainen [Fri, 28 Feb 2025 10:16:03 +0000 (12:16 +0200)] 
imap: For Pro edition, default to service_process_limit=10240

5 months agolmtp: For Pro edition, default service_process_limit=512
Timo Sirainen [Fri, 28 Feb 2025 10:22:19 +0000 (12:22 +0200)] 
lmtp: For Pro edition, default service_process_limit=512

5 months agoimap, pop3, submission, lmtp: For Pro edition, default to service_restart_request_cou...
Timo Sirainen [Fri, 28 Feb 2025 10:06:59 +0000 (12:06 +0200)] 
imap, pop3, submission, lmtp: For Pro edition, default to service_restart_request_count=1000

5 months agolmtp: Change the default service_restart_request_count to 1
Timo Sirainen [Fri, 28 Feb 2025 10:04:05 +0000 (12:04 +0200)] 
lmtp: Change the default service_restart_request_count to 1

It had accidentally been "unlimited" by default since the beginning.
The default should be the same 1 as with other services like imap and pop3.

5 months ago*-login: For Pro edition, default to "high performance mode"
Timo Sirainen [Fri, 28 Feb 2025 09:22:54 +0000 (11:22 +0200)] 
*-login: For Pro edition, default to "high performance mode"

5 months agodoveconf: Add -U parameter to ignore unknown settings in config file
Timo Sirainen [Mon, 3 Mar 2025 13:12:34 +0000 (15:12 +0200)] 
doveconf: Add -U parameter to ignore unknown settings in config file

5 months agodovecot-config.in.in: Add missing include path for lib-dns-client
Timo Sirainen [Thu, 6 Mar 2025 11:26:49 +0000 (13:26 +0200)] 
dovecot-config.in.in: Add missing include path for lib-dns-client

Forgotten in ce0464aa105756d84cc11c7a80169688f53302ab

5 months agoconfig: Fail if local_name contains spaces
Timo Sirainen [Tue, 4 Mar 2025 14:36:26 +0000 (16:36 +0200)] 
config: Fail if local_name contains spaces

It's no longer a supported way to configure multiple matches.

5 months agoconfig: Remove handling for space-separated local_name in doveconf -f
Timo Sirainen [Tue, 4 Mar 2025 14:34:40 +0000 (16:34 +0200)] 
config: Remove handling for space-separated local_name in doveconf -f

It's not supported anymore.

5 months agolib-settings: Compare local_name as DNS wildcards
Timo Sirainen [Tue, 4 Mar 2025 14:22:52 +0000 (16:22 +0200)] 
lib-settings: Compare local_name as DNS wildcards

5 months agoglobal: Split parts of lib-dns to lib-dns-client
Timo Sirainen [Tue, 4 Mar 2025 14:15:37 +0000 (16:15 +0200)] 
global: Split parts of lib-dns to lib-dns-client

The next commit requires dns-util in lib-settings, while lib-dns-client
requires lib-settings.

5 months agolib: Add event_filter_register_cmp()
Timo Sirainen [Tue, 4 Mar 2025 14:10:14 +0000 (16:10 +0200)] 
lib: Add event_filter_register_cmp()

5 months agoglobal: Remove duplicate listing of linked libraries
Timo Sirainen [Tue, 4 Mar 2025 14:27:32 +0000 (16:27 +0200)] 
global: Remove duplicate listing of linked libraries

5 months agomaster: Don't fail doveconf output if service settings contain %variables
Timo Sirainen [Sun, 2 Mar 2025 12:28:40 +0000 (14:28 +0200)] 
master: Don't fail doveconf output if service settings contain %variables

5 months agolib-settings, config: Add SETTINGS_EVENT_NO_EXPAND for ext_check_func() callbacks
Timo Sirainen [Sun, 2 Mar 2025 12:28:07 +0000 (14:28 +0200)] 
lib-settings, config: Add SETTINGS_EVENT_NO_EXPAND for ext_check_func() callbacks

5 months agodoveconf: Write how many default setting changes there have been since configured...
Timo Sirainen [Sun, 2 Mar 2025 09:39:08 +0000 (11:39 +0200)] 
doveconf: Write how many default setting changes there have been since configured dovecot_config_version

5 months agoconfig: Support tracking setting changes for named filter paths
Timo Sirainen [Sun, 2 Mar 2025 10:13:17 +0000 (12:13 +0200)] 
config: Support tracking setting changes for named filter paths

5 months agoconfig: Support dovecot_config_version to rename settings or change default settings
Timo Sirainen [Sun, 2 Mar 2025 08:45:19 +0000 (10:45 +0200)] 
config: Support dovecot_config_version to rename settings or change default settings

5 months agoconfig: Remove most of the old-set-parser code
Timo Sirainen [Sun, 2 Mar 2025 08:48:12 +0000 (10:48 +0200)] 
config: Remove most of the old-set-parser code

5 months agoconfig: Pass dovecot_config_version to config_export_init()
Timo Sirainen [Sun, 2 Mar 2025 08:43:58 +0000 (10:43 +0200)] 
config: Pass dovecot_config_version to config_export_init()

Simplifies the next commit.

5 months agoconfig: If first line isn't dovecot_config_version, don't try to parse it
Timo Sirainen [Mon, 3 Mar 2025 07:47:25 +0000 (09:47 +0200)] 
config: If first line isn't dovecot_config_version, don't try to parse it

After following changes it can crash.

5 months agoauth: db-ldap - Free dn from ldap_get_dn()
Aki Tuomi [Wed, 5 Mar 2025 09:17:57 +0000 (11:17 +0200)] 
auth: db-ldap - Free dn from ldap_get_dn()

Broken in c2ccdab8d09dec65753ee42366f48d53d7f47cfd

5 months agolib-dcrypt: Install dcrypt_openssl.so into dovecot modules directory
Aki Tuomi [Tue, 4 Mar 2025 09:41:24 +0000 (11:41 +0200)] 
lib-dcrypt: Install dcrypt_openssl.so into dovecot modules directory

5 months agolib-dcrypt: Remove OSSL_EXCHANGE_PARAM_PAD from ECDH
Aki Tuomi [Tue, 4 Mar 2025 17:56:34 +0000 (19:56 +0200)] 
lib-dcrypt: Remove OSSL_EXCHANGE_PARAM_PAD from ECDH

This is only supported for DH/DHX

5 months agofts-flatcurve: fts_flatcurve_mail_user_deinit() - Defer deallocation of fuser->set
Marco Bettini [Tue, 18 Feb 2025 11:39:06 +0000 (11:39 +0000)] 
fts-flatcurve: fts_flatcurve_mail_user_deinit() - Defer deallocation of fuser->set

This is required to prevent premature deallocation that can cause
fts_flatcurve_xapian_need_optimize() to crash inside fts_mailbox_list_deinit()  in mail_user_unref()

5 months agoglobal: Fix code comment spelling
Josh Soref [Fri, 14 Feb 2025 02:16:07 +0000 (21:16 -0500)] 
global: Fix code comment spelling

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
5 months agolib-sasl: Support ANONYMOUS mechanism
Aki Tuomi [Mon, 17 Feb 2025 16:09:58 +0000 (18:09 +0200)] 
lib-sasl: Support ANONYMOUS mechanism

5 months agolib-storage: imapc - Check sasl mechanism
Aki Tuomi [Wed, 19 Feb 2025 09:23:17 +0000 (11:23 +0200)] 
lib-storage: imapc - Check sasl mechanism

5 months agolib-sasl: Add dsasl_client_mech_uses_password()
Aki Tuomi [Fri, 21 Feb 2025 08:47:28 +0000 (10:47 +0200)] 
lib-sasl: Add dsasl_client_mech_uses_password()

This indicates whether mechanism uses password at all.

5 months agolib-sasl: Use BIT() for flags
Aki Tuomi [Fri, 21 Feb 2025 08:41:47 +0000 (10:41 +0200)] 
lib-sasl: Use BIT() for flags

5 months agolib-imap-client: Send only CR LF if SASL output is empty
Aki Tuomi [Mon, 17 Feb 2025 16:10:09 +0000 (18:10 +0200)] 
lib-imap-client: Send only CR LF if SASL output is empty

5 months agoimap: Implement support for the REPLACE capability
Stephan Bosch [Tue, 13 Nov 2018 21:25:07 +0000 (22:25 +0100)] 
imap: Implement support for the REPLACE capability

5 months agoquota: Make new implementation for quota handling for both moving and replacing mails
Stephan Bosch [Tue, 13 Nov 2018 21:23:04 +0000 (22:23 +0100)] 
quota: Make new implementation for quota handling for both moving and replacing mails

Use the new expunged mail field recorded in the mailbox save context.

5 months agolib-storage: Add support for replacing mail using mailbox_save_begin_replace()
Stephan Bosch [Tue, 13 Nov 2018 21:24:10 +0000 (22:24 +0100)] 
lib-storage: Add support for replacing mail using mailbox_save_begin_replace()

The indicated expunged mail is expunged once saving the new mail finishes
successfully. The expunged mail is available in the mailbox save context for
plugins (like quota) that need to be able to obtain information about the mail
being replaced. The source mail for mailbox_move() is also recorded in the
context as such. This way, quota handling can be implemented identically for
moving and replacing a message.

5 months agoquota: Make quota_try_alloc() suitable for moving/replacing messages
Stephan Bosch [Tue, 13 Nov 2018 21:50:46 +0000 (22:50 +0100)] 
quota: Make quota_try_alloc() suitable for moving/replacing messages

5 months agoquota: Make quota_test_alloc() suitable for moving/replacing messages
Stephan Bosch [Tue, 13 Nov 2018 21:50:11 +0000 (22:50 +0100)] 
quota: Make quota_test_alloc() suitable for moving/replacing messages

5 months agoquota: Make quota_alloc_with_size() directly suitable for moving/replacing messages
Stephan Bosch [Thu, 13 Feb 2025 01:25:18 +0000 (02:25 +0100)] 
quota: Make quota_alloc_with_size() directly suitable for moving/replacing messages

5 months agoquota: Make quota_root_is_over() suitable for calculations involving moving/replacing...
Stephan Bosch [Tue, 13 Nov 2018 21:03:46 +0000 (22:03 +0100)] 
quota: Make quota_root_is_over() suitable for calculations involving moving/replacing messages

5 months agotrash: Properly handle situation in which quota roots have different sets of visible...
Stephan Bosch [Fri, 16 Nov 2018 11:09:05 +0000 (12:09 +0100)] 
trash: Properly handle situation in which quota roots have different sets of visible trash mailboxes

5 months agotrash: trash-plugin - Create sub-event for cleanup attempt
Stephan Bosch [Fri, 14 Feb 2025 00:25:52 +0000 (01:25 +0100)] 
trash: trash-plugin - Create sub-event for cleanup attempt

5 months agotrash: Do not modify *_ceil and *_over fields in struct quota_transaction_context
Stephan Bosch [Fri, 16 Nov 2018 15:26:22 +0000 (16:26 +0100)] 
trash: Do not modify *_ceil and *_over fields in struct quota_transaction_context

These are not supposed to be modified. Instead, increase the *_expunged fields.

5 months agoquota: Add support for recording quota resource usage reduction from sub-transactions
Stephan Bosch [Fri, 16 Nov 2018 11:08:47 +0000 (12:08 +0100)] 
quota: Add support for recording quota resource usage reduction from sub-transactions

Such transactions apply their own quota modifications, so modifying the usage
fields for the present transaction would cause such modifications to be
counted several times. However, their effect must be applied in the quota limit
calculations, so the amount of resources expunged in sub-transactions is
recorded in separate fields.

5 months agoquota: quota-util - Add quota_used_apply_expunged()
Stephan Bosch [Thu, 13 Feb 2025 01:19:36 +0000 (02:19 +0100)] 
quota: quota-util - Add quota_used_apply_expunged()

5 months agoquota: Create facilities for determining which quota root limit is exceeded
Stephan Bosch [Tue, 13 Nov 2018 20:31:11 +0000 (21:31 +0100)] 
quota: Create facilities for determining which quota root limit is exceeded

5 months agoquota: quota - Use normal for-loop in quota_transaction_begin()
Stephan Bosch [Thu, 13 Feb 2025 01:09:52 +0000 (02:09 +0100)] 
quota: quota - Use normal for-loop in quota_transaction_begin()

5 months agotrash: Perform expunge in a separate function
Stephan Bosch [Fri, 16 Nov 2018 14:27:22 +0000 (15:27 +0100)] 
trash: Perform expunge in a separate function

Also, improve the integer calculations for updating the total amount of expunged
resource usage.

5 months agotrash: Perform check for achievement of quota usage reduction target in a separate...
Stephan Bosch [Fri, 16 Nov 2018 14:18:20 +0000 (15:18 +0100)] 
trash: Perform check for achievement of quota usage reduction target in a separate function

5 months agotrash: Record resource expunge status and target in struct trash_clean
Stephan Bosch [Fri, 16 Nov 2018 14:14:43 +0000 (15:14 +0100)] 
trash: Record resource expunge status and target in struct trash_clean

Also make the value types uint64_t consistently, which matches the quota plugin API.

5 months agotrash: Substitute (uint64_t)-1 with UINT64_MAX
Stephan Bosch [Wed, 19 Feb 2025 02:31:48 +0000 (03:31 +0100)] 
trash: Substitute (uint64_t)-1 with UINT64_MAX

5 months agotrash: Limit scope of local variables to where they are used in trash_clean_execute()
Stephan Bosch [Fri, 16 Nov 2018 13:49:20 +0000 (14:49 +0100)] 
trash: Limit scope of local variables to where they are used in trash_clean_execute()

5 months agotrash: Restructure trash_try_clean_mails()
Stephan Bosch [Fri, 16 Nov 2018 13:23:42 +0000 (14:23 +0100)] 
trash: Restructure trash_try_clean_mails()

- Avoid storing temporary state in the global trash mailboxes list. Instead,
  allocate local state on the data stack.
- Avoid using goto by wrapping the core of the function in another function that
  guarantees cleanup.

5 months agoquota: quota-util - Simplify quota_is_over()
Stephan Bosch [Tue, 9 Nov 2021 22:56:55 +0000 (23:56 +0100)] 
quota: quota-util - Simplify quota_is_over()

5 months agoquota: quota-util - Assert that either ceil or over parameter equals 0 in quota_is_over()
Stephan Bosch [Tue, 9 Nov 2021 22:33:42 +0000 (23:33 +0100)] 
quota: quota-util - Assert that either ceil or over parameter equals 0 in quota_is_over()

5 months agoquota: quota-util - Rework comments in quota_is_over()
Stephan Bosch [Tue, 9 Nov 2021 22:19:23 +0000 (23:19 +0100)] 
quota: quota-util - Rework comments in quota_is_over()

5 months agoquota: quota-util - Fix bug in quota_is_over()
Stephan Bosch [Tue, 9 Nov 2021 23:01:01 +0000 (00:01 +0100)] 
quota: quota-util - Fix bug in quota_is_over()

The case were the storage is under quota even before deleting the messages and
the new allocation exceeds the quota limit was tested with reverse logic. The
original test first checks that the allocation is larger than the deletion
(which is ok) and subsequently checks that the excess is *smaller* than the
ceiling, yielding an over-quota result, which made no sense.

5 months agoquota: Make quota_root_is_visible() available for plugins
Stephan Bosch [Fri, 16 Nov 2018 12:51:22 +0000 (13:51 +0100)] 
quota: Make quota_root_is_visible() available for plugins

5 months agoquota: Move quota limit calculations from quota_transaction_is_over() to a separate...
Stephan Bosch [Tue, 13 Nov 2018 19:56:51 +0000 (20:56 +0100)] 
quota: Move quota limit calculations from quota_transaction_is_over() to a separate function

This makes the implementation for count and bytes quota fully identical. Makes
the algorithm avaiable for other functions.

5 months agoquota: Move quota_get_mail_size() to quota-util.c
Stephan Bosch [Tue, 13 Nov 2018 18:46:45 +0000 (19:46 +0100)] 
quota: Move quota_get_mail_size() to quota-util.c

Makes it available for broader internal use.

5 months agoquota: Link tests to lib-storage
Stephan Bosch [Fri, 17 Jan 2025 01:42:47 +0000 (02:42 +0100)] 
quota: Link tests to lib-storage

5 months agolib-auth: Move things needed by auth and doveadm to libauth-crypt.la
Aki Tuomi [Mon, 24 Feb 2025 07:15:35 +0000 (09:15 +0200)] 
lib-auth: Move things needed by auth and doveadm to libauth-crypt.la

Avoids linking everything with libsodium and libcrypt

5 months agoimap-acl: Add support for the IMAP LIST-MYRIGHTS capability
Stephan Bosch [Wed, 10 Nov 2021 22:11:25 +0000 (23:11 +0100)] 
imap-acl: Add support for the IMAP LIST-MYRIGHTS capability

5 months agoimap-acl: Move sending MYRIGHTS response to a separate function
Stephan Bosch [Sun, 16 Sep 2018 12:21:19 +0000 (14:21 +0200)] 
imap-acl: Move sending MYRIGHTS response to a separate function

5 months agoimap: cmd-list - Add infrastructure for dynamically adding support for new RETURN...
Stephan Bosch [Sun, 16 Sep 2018 10:55:24 +0000 (12:55 +0200)] 
imap: cmd-list - Add infrastructure for dynamically adding support for new RETURN flags

This is needed for the new IMAP LIST-MYRIGHTS capability (RFC 8440).

5 months agoimap: cmd-list - Exit loop in cmd_list_continue() early upon connection failure
Stephan Bosch [Mon, 17 Feb 2025 17:27:44 +0000 (18:27 +0100)] 
imap: cmd-list - Exit loop in cmd_list_continue() early upon connection failure

5 months agoimap: cmd-list - Make the list iter flags a parameter for list_send_status()
Stephan Bosch [Thu, 20 Feb 2025 02:44:20 +0000 (03:44 +0100)] 
imap: cmd-list - Make the list iter flags a parameter for list_send_status()

Before, it was available only in the LIST command context. This is preparation
for adding infrastructure for dynamically adding support for new RETURN flags.

5 months agoimap: cmd-list - Make the namespace a parameter for list_send_status()
Stephan Bosch [Tue, 18 Sep 2018 19:19:44 +0000 (21:19 +0200)] 
imap: cmd-list - Make the namespace a parameter for list_send_status()

Before, it was determined internally. This is preparation for adding
infrastructure for dynamically adding support for new RETURN flags.

5 months agoimap: cmd-list - Collect parameters for list_send_status() in a struct
Stephan Bosch [Sun, 16 Sep 2018 10:48:11 +0000 (12:48 +0200)] 
imap: cmd-list - Collect parameters for list_send_status() in a struct

This is preparation for adding infrastructure for dynamically adding support for new RETURN flags.

5 months agoimap: cmd-list - Add assert to list_send_status()
Stephan Bosch [Thu, 20 Feb 2025 21:38:40 +0000 (22:38 +0100)] 
imap: cmd-list - Add assert to list_send_status()

While listing subscriptions, but only child is subscribed, the appropriate
mailbox info flag must be also set.

5 months agoimap-acl: Reformat imap-acl-plugin.c
Stephan Bosch [Wed, 10 Nov 2021 21:56:46 +0000 (22:56 +0100)] 
imap-acl: Reformat imap-acl-plugin.c

5 months agom4: Update pkg.m4
Aki Tuomi [Tue, 18 Feb 2025 13:21:08 +0000 (15:21 +0200)] 
m4: Update pkg.m4

5 months agolib-dcrypt: Fix ostream-encrypt error handling
Aki Tuomi [Tue, 18 Feb 2025 13:00:04 +0000 (15:00 +0200)] 
lib-dcrypt: Fix ostream-encrypt error handling

Stream errno was not always set

5 months agoconfig: Avoid duplicating version numbers when listing supported config versions
Timo Sirainen [Mon, 24 Feb 2025 08:32:09 +0000 (10:32 +0200)] 
config: Avoid duplicating version numbers when listing supported config versions

5 months agoauth: Allow configuring passdb/userdb sql to use auth-workers
Timo Sirainen [Mon, 17 Feb 2025 10:39:11 +0000 (12:39 +0200)] 
auth: Allow configuring passdb/userdb sql to use auth-workers

If passdb/userdb_use_worker=yes, this overrides the sql-driver specific
worker decision.

5 months agolib-storage: Clear storage errors if iteration failed due to no mailbox attribute...
Timo Sirainen [Mon, 17 Feb 2025 10:22:25 +0000 (12:22 +0200)] 
lib-storage: Clear storage errors if iteration failed due to no mailbox attribute dict

This doesn't normally matter, but if there are error handling bugs elsewhere
this error might wrongly show up in logs and cause confusion. It's better to
log "Unknown error" in that case.

5 months agolib-var-expand: Add backwards compability for older bison
Aki Tuomi [Thu, 20 Feb 2025 19:43:33 +0000 (21:43 +0200)] 
lib-var-expand: Add backwards compability for older bison

Bison 3.5.1 does not add error symbol or handling, add them ourselves.

5 months agoauth: lua - Remove dead code
Timo Sirainen [Thu, 20 Feb 2025 08:02:39 +0000 (10:02 +0200)] 
auth: lua - Remove dead code

5 months agofts-flatcurve: Switch from <stdio.h> to <cstdio>
Marco Bettini [Fri, 14 Feb 2025 09:16:56 +0000 (09:16 +0000)] 
fts-flatcurve: Switch from <stdio.h> to <cstdio>