]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
11 months agostats: Move label_by_mod_str()
Timo Sirainen [Mon, 2 Sep 2024 20:43:17 +0000 (23:43 +0300)] 
stats: Move label_by_mod_str()

11 months agopop3: Logout format specifier 'u' is always empty
Aki Tuomi [Thu, 29 Aug 2024 10:32:07 +0000 (13:32 +0300)] 
pop3: Logout format specifier 'u' is always empty

Due to mistake in var_get_key() invocation, if 'u' key is used
the value is never populated. Call var_get_get_key() with correct
short char.

Broken in acfda38b75d0f0e899ef692fef01593bd56ed85e

11 months agoconfigure.ac: Fix wrong capability name
Aki Tuomi [Tue, 27 Aug 2024 10:05:09 +0000 (13:05 +0300)] 
configure.ac: Fix wrong capability name

11 months agolib-http: Move conn_type default value to switch block
Aki Tuomi [Tue, 27 Aug 2024 04:59:31 +0000 (07:59 +0300)] 
lib-http: Move conn_type default value to switch block

11 months agolib-program-client: Change to NULL initialization in test_program_input()
Aki Tuomi [Tue, 27 Aug 2024 04:58:36 +0000 (07:58 +0300)] 
lib-program-client: Change to NULL initialization in test_program_input()

11 months agovar-expand-crypt: Change to NULL initialization
Aki Tuomi [Tue, 27 Aug 2024 04:57:29 +0000 (07:57 +0300)] 
var-expand-crypt: Change to NULL initialization

Found by static analysis

11 months agolib-dcrypt: Ensure pkey is loaded from point or bn
Aki Tuomi [Tue, 27 Aug 2024 04:56:08 +0000 (07:56 +0300)] 
lib-dcrypt: Ensure pkey is loaded from point or bn

11 months agodovecot-config: Add DOVECOT_PRO_BUILD variable
Aki Tuomi [Mon, 26 Aug 2024 12:28:19 +0000 (15:28 +0300)] 
dovecot-config: Add DOVECOT_PRO_BUILD variable

11 months agoconfigure: Use https for support URL
Aki Tuomi [Mon, 26 Aug 2024 12:20:35 +0000 (15:20 +0300)] 
configure: Use https for support URL

11 months agoconfigure: Fix asset URL to be version specific
Aki Tuomi [Mon, 26 Aug 2024 12:20:07 +0000 (15:20 +0300)] 
configure: Fix asset URL to be version specific

11 months agolib-dict: dict_have_async_operations() - Ignore non-committed transactions
Timo Sirainen [Mon, 26 Aug 2024 12:30:02 +0000 (15:30 +0300)] 
lib-dict: dict_have_async_operations() - Ignore non-committed transactions

If the transaction isn't committed, it can't be waited on.

12 months agolib: events - Fix negative integer fields
Timo Sirainen [Fri, 23 Aug 2024 10:52:52 +0000 (13:52 +0300)] 
lib: events - Fix negative integer fields

12 months agolib-lua: http - Fix parent_event setting
Timo Sirainen [Thu, 22 Aug 2024 14:20:44 +0000 (17:20 +0300)] 
lib-lua: http - Fix parent_event setting

Broken by 85449f6a6cf3f0df1d63728ab107413436595b49

12 months agolib-lua: dlua_check_event() - Fix calling with negative arg
Timo Sirainen [Thu, 22 Aug 2024 14:20:30 +0000 (17:20 +0300)] 
lib-lua: dlua_check_event() - Fix calling with negative arg

12 months agolib-sql: cassandra - Remove ssl_verify=cert-dns
Timo Sirainen [Thu, 22 Aug 2024 09:29:54 +0000 (12:29 +0300)] 
lib-sql: cassandra - Remove ssl_verify=cert-dns

This has been deprecated by Cassandra, because it's vulnerable to MITM
attacks.

12 months agolib: ostream-file - Fix writing over IOV_MAX iovecs at a time
Timo Sirainen [Mon, 19 Aug 2024 07:49:14 +0000 (10:49 +0300)] 
lib: ostream-file - Fix writing over IOV_MAX iovecs at a time

The output offset became wrong, which either corrupted the written file, or
caused lseek() errors for non-seekable output streams.

This was likely a visible problem only with ostream-dot, used by doveadm
proxying and lib-smtp.

12 months agodoveadm: auth test/login - Print internal failures to stderr
Timo Sirainen [Wed, 14 Aug 2024 10:20:19 +0000 (13:20 +0300)] 
doveadm: auth test/login - Print internal failures to stderr

12 months agodoveadm: auth test/login - Return EX_TEMPFAIL on internal failures
Timo Sirainen [Wed, 14 Aug 2024 10:14:06 +0000 (13:14 +0300)] 
doveadm: auth test/login - Return EX_TEMPFAIL on internal failures

Previously EX_NOPERM was returned, which was the same as for invalid
passwords.

12 months agoauth: Add auth_internal_failure_delay setting
Timo Sirainen [Wed, 14 Aug 2024 10:11:10 +0000 (13:11 +0300)] 
auth: Add auth_internal_failure_delay setting

When >0, delay before sending "internal failure" replies to auth clients.
The idea is to prevent clients from hammering the server with immediate
retries. Also, a random 0..50% extra delay is added on top of this delay
to try to prevent thundering herd issues.

12 months agoauth: auth_request_handle_passdb_callback() - Change return type to int
Timo Sirainen [Wed, 14 Aug 2024 08:49:38 +0000 (11:49 +0300)] 
auth: auth_request_handle_passdb_callback() - Change return type to int

This is needed by the next commit.

12 months agolib-imap-client: Fix IDLE timeout leak / crash
Timo Sirainen [Tue, 20 Aug 2024 06:45:46 +0000 (09:45 +0300)] 
lib-imap-client: Fix IDLE timeout leak / crash

12 months agologin-commmon: Add connection_limit reason for login_aborted
Timo Sirainen [Fri, 9 Aug 2024 07:38:46 +0000 (10:38 +0300)] 
login-commmon: Add connection_limit reason for login_aborted

When mail_max_userip_connections is reached, log it with connection_limit
reason rather than internal_failure.

12 months agolib-smtp: Replace "Aborted login by logging out" with "Logged out"
Timo Sirainen [Fri, 9 Aug 2024 07:19:16 +0000 (10:19 +0300)] 
lib-smtp: Replace "Aborted login by logging out" with "Logged out"

Similar to the login-common change, this also now shows up in logs as:
"Login aborted: Logged out"

12 months agologin-common: Replace "Aborted login by logging out" with "Logged out"
Timo Sirainen [Fri, 9 Aug 2024 06:58:32 +0000 (09:58 +0300)] 
login-common: Replace "Aborted login by logging out" with "Logged out"

With the new prefix change the old message became redundant. The full new
log message is: "Login aborted: Logged out"

12 months agologin-common: Add the event reason code to "Login aborted" log lines
Timo Sirainen [Fri, 9 Aug 2024 06:43:06 +0000 (09:43 +0300)] 
login-common: Add the event reason code to "Login aborted" log lines

This makes it easier to search the logs for the wanted errors.

12 months agologin-common: Log aborted logins with "Login aborted" prefix rather than "Disconnected"
Timo Sirainen [Fri, 9 Aug 2024 06:37:13 +0000 (09:37 +0300)] 
login-common: Log aborted logins with "Login aborted" prefix rather than "Disconnected"

This makes it easier to search the logs for login failures without seeing
post-login disconnections.

12 months agologin-common, submission-login: Simplify code whether to add Disconnected prefix
Timo Sirainen [Fri, 9 Aug 2024 06:35:22 +0000 (09:35 +0300)] 
login-common, submission-login: Simplify code whether to add Disconnected prefix

The logic was the same for all callers: Add the prefix only if the user
hadn't successfully logged in yet.

12 months agologin-common: Change "Login" log lines to "Logged in"
Timo Sirainen [Fri, 9 Aug 2024 06:24:53 +0000 (09:24 +0300)] 
login-common: Change "Login" log lines to "Logged in"

Previously it wasn't possible to search (with e.g. graylog) all lines from
login processes except the successful logins, because "NOT Login" would
still match e.g. "imap-login" prefix itself. Now it can work with
"NOT Logged".

12 months agoquota: Fix event/memory leak on invalid values for some quota settings
Timo Sirainen [Fri, 16 Aug 2024 07:36:33 +0000 (10:36 +0300)] 
quota: Fix event/memory leak on invalid values for some quota settings

12 months agoconfig: doveconf without parameters now outputs the same as -n
Timo Sirainen [Tue, 13 Aug 2024 06:45:40 +0000 (09:45 +0300)] 
config: doveconf without parameters now outputs the same as -n

The old behavior was the same as the -a parameter. The old behavior is
preserved when doveconf is given a setting name as parameter, so its
value is output regardless of whether it's the default value or not.

12 months agolib-mail: message-parser - Limit headers total count to 50MB by default
Marco Bettini [Wed, 24 Apr 2024 10:45:46 +0000 (10:45 +0000)] 
lib-mail: message-parser - Limit headers total count to 50MB by default

(including top headers and all mime-sections headers)

12 months agolib-mail: message-header-parser - Limit header block to 10MB by default
Marco Bettini [Fri, 12 Apr 2024 15:06:43 +0000 (15:06 +0000)] 
lib-mail: message-header-parser - Limit header block to 10MB by default

12 months agolib-mail, lib-imap: Optimize parsing large number of address headers
Timo Sirainen [Thu, 8 Feb 2024 22:57:12 +0000 (00:57 +0200)] 
lib-mail, lib-imap: Optimize parsing large number of address headers

Every header was appended to a linked list by walking through the whole
list, causing excessive CPU usage when the list became large enough.
Fixed by changing struct message_part_envelope to use struct
message_address_list, which stores also linked list tail pointers. This
allows quickly appending to the end of the linked list.

12 months agolib-mail: Add message_address_parse_full() and struct message_address_list
Timo Sirainen [Tue, 30 Jan 2024 20:17:38 +0000 (22:17 +0200)] 
lib-mail: Add message_address_parse_full() and struct message_address_list

12 months agolib-mail: Change message_address to be doubly linked list
Timo Sirainen [Sat, 3 Feb 2024 22:26:57 +0000 (00:26 +0200)] 
lib-mail: Change message_address to be doubly linked list

12 months agolib-mail: test-imap-envelope - Use test_assert_idx() where possible
Timo Sirainen [Tue, 30 Jan 2024 20:42:50 +0000 (22:42 +0200)] 
lib-mail: test-imap-envelope - Use test_assert_idx() where possible

12 months agolib: Add DLLIST2_JOIN()
Timo Sirainen [Thu, 8 Feb 2024 22:33:00 +0000 (00:33 +0200)] 
lib: Add DLLIST2_JOIN()

12 months agolib: test-llist - Fix dllist2 test name
Timo Sirainen [Thu, 8 Feb 2024 22:32:39 +0000 (00:32 +0200)] 
lib: test-llist - Fix dllist2 test name

12 months agolib-lua: Actually get proxy_url from Lua
Aki Tuomi [Wed, 14 Aug 2024 07:16:11 +0000 (10:16 +0300)] 
lib-lua: Actually get proxy_url from Lua

Broken in 85449f6a6cf3f0df1d63728ab107413436595b49

12 months agolib-lua: Ensure invalid settings are caught in HTTP client initialization
Aki Tuomi [Sat, 10 Aug 2024 21:47:17 +0000 (00:47 +0300)] 
lib-lua: Ensure invalid settings are caught in HTTP client initialization

12 months agolib-storage: Fix settings leak when mailbox list iteration fails in settings lookup
Timo Sirainen [Mon, 12 Aug 2024 04:18:31 +0000 (07:18 +0300)] 
lib-storage: Fix settings leak when mailbox list iteration fails in settings lookup

Broken by 48df71ee56482db1d2631f6b34fabbb434563545

12 months agolib-dcrypt, lib-ssl-iostream: Don't use strerror() when OpenSSL error queue is empty
Timo Sirainen [Thu, 8 Aug 2024 13:05:54 +0000 (16:05 +0300)] 
lib-dcrypt, lib-ssl-iostream: Don't use strerror() when OpenSSL error queue is empty

This shouldn't be necessary, and there is no guarantee that the current
errno value has anything to do with what had failed.

12 months agolib-dcrypt: dcrypt_ctx_hmac_init() - Clean up properly in error code paths
Timo Sirainen [Thu, 8 Aug 2024 20:42:48 +0000 (23:42 +0300)] 
lib-dcrypt: dcrypt_ctx_hmac_init() - Clean up properly in error code paths

12 months agolib-dcrypt: dcrypt_ctx_hmac_destroy() - Fix memory leak with OpenSSL 3
Timo Sirainen [Thu, 8 Aug 2024 20:40:00 +0000 (23:40 +0300)] 
lib-dcrypt: dcrypt_ctx_hmac_destroy() - Fix memory leak with OpenSSL 3

12 months agoquota: Fix detecting invalid quota_mailbox_message_count value
Timo Sirainen [Fri, 2 Aug 2024 08:57:29 +0000 (11:57 +0300)] 
quota: Fix detecting invalid quota_mailbox_message_count value

12 months agolib-dcrypt: ostream-encrypt - Fix dcrypt_ctx_hmac_init() error handling
Timo Sirainen [Fri, 2 Aug 2024 11:18:13 +0000 (14:18 +0300)] 
lib-dcrypt: ostream-encrypt - Fix dcrypt_ctx_hmac_init() error handling

12 months agolib-dcrypt: ctx_hmac_init() - Fix memory leak if MAC initialization failed
Timo Sirainen [Fri, 2 Aug 2024 11:15:23 +0000 (14:15 +0300)] 
lib-dcrypt: ctx_hmac_init() - Fix memory leak if MAC initialization failed

12 months agolib-dcrypt: ctx_hmac_init() - Fix memory allocation failure handling with OpenSSL3
Timo Sirainen [Fri, 2 Aug 2024 11:14:14 +0000 (14:14 +0300)] 
lib-dcrypt: ctx_hmac_init() - Fix memory allocation failure handling with OpenSSL3

12 months agoconfigure: Remove extra space from capabilities
Aki Tuomi [Fri, 2 Aug 2024 07:21:38 +0000 (10:21 +0300)] 
configure: Remove extra space from capabilities

Broken in 16218e44ace1af2952b5090a4e2bb26b9495ba94

12 months agolib-dcrypt: test-stream - Test multiple ciphers
Aki Tuomi [Wed, 31 Jul 2024 06:14:55 +0000 (09:14 +0300)] 
lib-dcrypt: test-stream - Test multiple ciphers

12 months agolib-dcrypt: Add OID for chacha20-poly1305 for OpenSSL1
Aki Tuomi [Wed, 31 Jul 2024 06:13:58 +0000 (09:13 +0300)] 
lib-dcrypt: Add OID for chacha20-poly1305 for OpenSSL1

12 months agolib-dcrypt: istream-decrypt - Read more if footer has not been fully read
Aki Tuomi [Wed, 31 Jul 2024 07:19:59 +0000 (10:19 +0300)] 
lib-dcrypt: istream-decrypt - Read more if footer has not been fully read

Fixes signal 11 crash caused by decrypt_size underflowing.

Broken in 316cbe323513a0f20d1cf519fe9405e231d633e2

13 months agolib: test-file-cache - build expected error strings using strerror
Duncan Overbruck [Mon, 18 Dec 2023 15:12:22 +0000 (16:12 +0100)] 
lib: test-file-cache - build expected error strings using strerror

Different libc libraries like musl and glibc have different error
strings for the same errno's, to make the tests work as expected
with musl libc, use strerror to build the expected error string.

13 months agoglobal: Move some settings back to non-hidden for core/CE
Michael M Slusarz [Wed, 17 Jul 2024 17:03:56 +0000 (11:03 -0600)] 
global: Move some settings back to non-hidden for core/CE

13 months agolib-master, config: Add a required dovecot_storage_version setting
Timo Sirainen [Wed, 19 Jun 2024 12:41:24 +0000 (15:41 +0300)] 
lib-master, config: Add a required dovecot_storage_version setting

This setting specifies specifies the oldest Dovecot version that must be
able to read the files written by this Dovecot. This setting replaces
separate settings that are added when file formats are changed.

The intention is that when upgrading Dovecot cluster, this setting is
first kept as the old Dovecot version. Once the cluster is fully upgraded
to a new version and there is no intention to rollback to the old version
anymore, this version number can be increased.

13 months agolib-master: Add version_is_valid() and version_cmp()
Timo Sirainen [Wed, 19 Jun 2024 12:40:46 +0000 (15:40 +0300)] 
lib-master: Add version_is_valid() and version_cmp()

13 months agoconfig: doveconf - Change is_config_binary() to return TRUE
Timo Sirainen [Wed, 19 Jun 2024 19:13:25 +0000 (22:13 +0300)] 
config: doveconf - Change is_config_binary() to return TRUE

Previously only the "config" binary returned TRUE, while doveconf didn't.
The intention was always for both to return TRUE, since it's an alternative
runtime check for CONFIG_BINARY macro.

13 months agodoc/example-config: Add dovecot_config_version setting to dovecot.conf
Timo Sirainen [Wed, 19 Jun 2024 19:37:59 +0000 (22:37 +0300)] 
doc/example-config: Add dovecot_config_version setting to dovecot.conf

13 months agoconfig: doveconf - Output dovecot_config_version setting
Timo Sirainen [Wed, 19 Jun 2024 09:32:07 +0000 (12:32 +0300)] 
config: doveconf - Output dovecot_config_version setting

It is not currently output for e.g. "doveconf -d"

13 months agoconfig: Add a required dovecot_config_version setting
Timo Sirainen [Wed, 19 Jun 2024 08:24:49 +0000 (11:24 +0300)] 
config: Add a required dovecot_config_version setting

This version must now be the first setting in the configuration file.
This is just the minimal version to allow supporting backwards
compatibility better in later versions.

13 months agomaster: --build-options: Print "pro" for Pro build
Timo Sirainen [Wed, 19 Jun 2024 08:49:53 +0000 (11:49 +0300)] 
master: --build-options: Print "pro" for Pro build

13 months agoquota: Remove support for setting quota limits via dict
Timo Sirainen [Wed, 12 Jun 2024 11:01:35 +0000 (14:01 +0300)] 
quota: Remove support for setting quota limits via dict

13 months agoimap-quota: Remove support for SETQUOTA
Timo Sirainen [Wed, 12 Jun 2024 10:59:49 +0000 (13:59 +0300)] 
imap-quota: Remove support for SETQUOTA

It always now just returns "No permission".

13 months agoquota: Add quota_mailbox_count setting
Timo Sirainen [Fri, 7 Jun 2024 10:23:17 +0000 (13:23 +0300)] 
quota: Add quota_mailbox_count setting

13 months agolib-storage: Add mailbox_list_get_count()
Timo Sirainen [Fri, 7 Jun 2024 10:12:35 +0000 (13:12 +0300)] 
lib-storage: Add mailbox_list_get_count()

13 months agolib: test-ostream-multiplex - Free output2 as well
Aki Tuomi [Mon, 1 Jul 2024 19:04:25 +0000 (22:04 +0300)] 
lib: test-ostream-multiplex - Free output2 as well

13 months agolib: ostream-multiplex - Fix sign mismatch
Aki Tuomi [Mon, 1 Jul 2024 19:04:05 +0000 (22:04 +0300)] 
lib: ostream-multiplex - Fix sign mismatch

13 months agosettings: Mark various settings as advanced
Michael M Slusarz [Tue, 25 Jun 2024 22:59:16 +0000 (16:59 -0600)] 
settings: Mark various settings as advanced

13 months agoglobal: Try shutdown connections before closing
Aki Tuomi [Tue, 4 Jun 2024 08:05:47 +0000 (11:05 +0300)] 
global: Try shutdown connections before closing

This is to avoid closing connections uncleanly.

13 months agologin-common: Set correct disconnect reason if TLS handshake failed
Aki Tuomi [Tue, 4 Jun 2024 08:05:25 +0000 (11:05 +0300)] 
login-common: Set correct disconnect reason if TLS handshake failed

13 months agolib-ssl-iostream: Properly shutdown TLS connections
Aki Tuomi [Tue, 4 Jun 2024 08:04:55 +0000 (11:04 +0300)] 
lib-ssl-iostream: Properly shutdown TLS connections

13 months agolib-ssl-iostream: Do not overwrite last_error
Aki Tuomi [Mon, 20 May 2024 13:04:18 +0000 (16:04 +0300)] 
lib-ssl-iostream: Do not overwrite last_error

13 months agolib-ssl-iostream: Set correct alerts
Aki Tuomi [Tue, 14 May 2024 09:39:06 +0000 (12:39 +0300)] 
lib-ssl-iostream: Set correct alerts

13 months agolib-oauth2: Add grant_type=client_credentials method
Markus Valentin [Wed, 26 Jun 2024 11:26:26 +0000 (13:26 +0200)] 
lib-oauth2: Add grant_type=client_credentials method

13 months agolib-oauth2: oauth2_request_start() - Allow starting a request without input->token
Markus Valentin [Fri, 28 Jun 2024 10:21:21 +0000 (12:21 +0200)] 
lib-oauth2: oauth2_request_start() - Allow starting a request without input->token

This is needed for the client_credentials grant type as it does not pass
a token but a client_secret to authenticate.

13 months agodovecot-config: Add lib-oauth2 to LIBDOVECOT_INCLUDE
Markus Valentin [Wed, 26 Jun 2024 11:00:45 +0000 (13:00 +0200)] 
dovecot-config: Add lib-oauth2 to LIBDOVECOT_INCLUDE

13 months agolmtp: Add support for SMTPUTF8
Arnt Gulbrandsen [Mon, 12 Jun 2023 10:38:15 +0000 (12:38 +0200)] 
lmtp: Add support for SMTPUTF8

This is based on code from someone called 'vk'. It's incomplete (needs
RFC8265 support at least), but works for him/her.

13 months agosmtp: Add support for SMTPUTF8
Arnt Gulbrandsen [Tue, 22 Nov 2022 11:51:44 +0000 (12:51 +0100)] 
smtp: Add support for SMTPUTF8

This adds support for SMTPUTF8 (RFC 6531) to the LMTP and Submission
services. The Submission service advertises this extension only if its
upstream relay does, and takes some care to avoid a misunderstood error
message.

13 months agoimap: Add UTF8=ACCEPT capability (RFC 6855)
Arnt Gulbrandsen [Tue, 22 Nov 2022 11:38:14 +0000 (12:38 +0100)] 
imap: Add UTF8=ACCEPT capability (RFC 6855)

This adds the capability and accepts UTF8 quoted-strings.

The SEARCH command is changed as required by RFC 6855, section 3, final
paragraph. There are no changes to the searching, as 6855 only changes
changes the syntax.

This does not add any kind of downgrading. Before this change, Dovecot would
accept an APPEND of a message such as

   From: grå@grå.org
   Subject: grå
   ...

and would just-send-8 that to any IMAP clients. This change maintains that policy.

13 months agolib-mail: Make FETCH ENVELOPE and SEARCH work on the human-readable domains
Arnt Gulbrandsen [Fri, 1 Mar 2024 16:47:28 +0000 (17:47 +0100)] 
lib-mail: Make FETCH ENVELOPE and SEARCH work on the human-readable domains

This stores the unicode form of domains in all indexes, meaning that
searching uses and serverside parsing shows the human-readable form of all
addresses.

13 months agolib: Add punycode decoder
Aki Tuomi [Wed, 26 Jun 2024 19:44:32 +0000 (22:44 +0300)] 
lib: Add punycode decoder

13 months agodoc: Use stamp files to ensure man and html are downloaded once
Aki Tuomi [Fri, 28 Jun 2024 05:31:28 +0000 (08:31 +0300)] 
doc: Use stamp files to ensure man and html are downloaded once

13 months agodsync: Don't fail when metadata cannot be retrieved
Marco Bettini [Tue, 25 Jun 2024 16:01:16 +0000 (16:01 +0000)] 
dsync: Don't fail when metadata cannot be retrieved

This become necessary when imapc is accessing a backend with
no metadata capabilities as the attribute_get imap primitive
cannot reply OK when it cannot provide the requested metadata
entry (attribute_iter already iterated an emtpy set in this case).

13 months agodoc: Fix check for installed html
Aki Tuomi [Thu, 27 Jun 2024 09:44:46 +0000 (12:44 +0300)] 
doc: Fix check for installed html

13 months agoREADME: Add reference to RFC-9585
Marco Bettini [Tue, 25 Jun 2024 12:33:48 +0000 (12:33 +0000)] 
README: Add reference to RFC-9585

13 months agoREADME: Remove stray spaces
Marco Bettini [Wed, 26 Jun 2024 13:26:20 +0000 (13:26 +0000)] 
README: Remove stray spaces

13 months agodsync: Don't commit transaction after every mail on slave side
Timo Sirainen [Thu, 30 Mar 2023 09:26:52 +0000 (12:26 +0300)] 
dsync: Don't commit transaction after every mail on slave side

dsync_commit_msgs_interval setting worked only on the master side. On the
slave side it was always 0, which caused it to commit after every mail save.

Also, dsync_commit_msgs_interval should be handled independently on each
side. Master shouldn't send its dsync_commit_msgs_interval setting to the
slave side.

Broken by a76faea3eb26c4cd67886fbe02c604f74d54be8c

13 months agodoc: Get man page assets from version dependant location
Aki Tuomi [Tue, 25 Jun 2024 08:17:10 +0000 (11:17 +0300)] 
doc: Get man page assets from version dependant location

13 months agoquota: Add quota_mailbox_message_count setting
Timo Sirainen [Tue, 18 Jun 2024 09:30:28 +0000 (12:30 +0300)] 
quota: Add quota_mailbox_message_count setting

14 months agodoveadm compress: Add support for STARTTLS
Timo Sirainen [Mon, 20 May 2024 08:31:59 +0000 (11:31 +0300)] 
doveadm compress: Add support for STARTTLS

14 months agodoveadm compress: Refactor line reading
Timo Sirainen [Mon, 20 May 2024 07:57:39 +0000 (10:57 +0300)] 
doveadm compress: Refactor line reading

14 months agodoveadm compress: Move struct client earlier
Timo Sirainen [Mon, 20 May 2024 07:52:44 +0000 (10:52 +0300)] 
doveadm compress: Move struct client earlier

14 months agoimap: Add tagged reply to "Command finished" debug log line
Timo Sirainen [Thu, 16 May 2024 10:28:13 +0000 (13:28 +0300)] 
imap: Add tagged reply to "Command finished" debug log line

14 months agoimap: Don't send imap_command_finished event if command name wasn't parsed
Timo Sirainen [Thu, 16 May 2024 10:09:26 +0000 (13:09 +0300)] 
imap: Don't send imap_command_finished event if command name wasn't parsed

14 months agoimap: Don't reset "last command stats" if command name wasn't parsed
Timo Sirainen [Thu, 16 May 2024 10:08:31 +0000 (13:08 +0300)] 
imap: Don't reset "last command stats" if command name wasn't parsed

14 months agoimap: Support hibernation when COMPRESS is enabled via imap-login process
Timo Sirainen [Fri, 3 May 2024 09:40:23 +0000 (12:40 +0300)] 
imap: Support hibernation when COMPRESS is enabled via imap-login process

14 months agoimap, imap-login: Handle COMPRESS in imap-login process if possible
Timo Sirainen [Fri, 10 May 2024 10:51:01 +0000 (13:51 +0300)] 
imap, imap-login: Handle COMPRESS in imap-login process if possible

This is currently done only in the connecting Dovecot proxy's imap-login
process. If no proxying is used, the COMPRESS handling stays in the imap
process. (That could be changed with some extra work.)

14 months agologin-common: Add login_proxy_replace_client_iostream_pre/post()
Timo Sirainen [Tue, 14 May 2024 21:00:36 +0000 (00:00 +0300)] 
login-common: Add login_proxy_replace_client_iostream_pre/post()

14 months agologin-common: Add support for reading commands from multiplex side channel istream
Timo Sirainen [Fri, 3 May 2024 10:17:28 +0000 (13:17 +0300)] 
login-common: Add support for reading commands from multiplex side channel istream

14 months agologin-common: Add login_proxy_get_client_[io]stream()
Timo Sirainen [Tue, 14 May 2024 20:42:25 +0000 (23:42 +0300)] 
login-common: Add login_proxy_get_client_[io]stream()