From b9f52df3f10e43c1fc9364ff0ef5a6008d959a40 Mon Sep 17 00:00:00 2001 From: FreddleSpl0it Date: Wed, 13 Nov 2024 12:04:49 +0100 Subject: [PATCH 1/3] [Web] update _sogo_static_view on password reset --- data/web/inc/functions.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/web/inc/functions.inc.php b/data/web/inc/functions.inc.php index fd6c7fc2f..124683dbf 100644 --- a/data/web/inc/functions.inc.php +++ b/data/web/inc/functions.inc.php @@ -2515,6 +2515,8 @@ function reset_password($action, $data = null) { ':username' => $username )); + update_sogo_static_view($username); + $_SESSION['return'][] = array( 'type' => 'success', 'log' => array(__FUNCTION__, $action, $_data_log), From 6d1f7482edae6927fa1b2b540d5ef11fa8e2bcb2 Mon Sep 17 00:00:00 2001 From: FreddleSpl0it Date: Wed, 13 Nov 2024 10:42:38 +0100 Subject: [PATCH 2/3] [Web] broadcast maildir move to dovecot containers on mailbox_rename --- data/web/inc/functions.mailbox.inc.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/data/web/inc/functions.mailbox.inc.php b/data/web/inc/functions.mailbox.inc.php index 9de665675..73c115411 100644 --- a/data/web/inc/functions.mailbox.inc.php +++ b/data/web/inc/functions.mailbox.inc.php @@ -3351,7 +3351,12 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) { 'old_maildir' => $domain . '/' . $old_local_part, 'new_maildir' => $domain . '/' . $new_local_part ); - docker('post', 'dovecot-mailcow', 'exec', $exec_fields); + if (getenv("CLUSTERMODE") == "replication") { + // broadcast to each dovecot container + docker('broadcast', 'dovecot-mailcow', 'exec', $exec_fields); + } else { + docker('post', 'dovecot-mailcow', 'exec', $exec_fields); + } // rename username in sogo $exec_fields = array( From d10d64dd9216ca0d0f70280a3c7a4c12bbc463dc Mon Sep 17 00:00:00 2001 From: DerLinkman Date: Fri, 15 Nov 2024 16:07:18 +0100 Subject: [PATCH 3/3] mysql: increased thread_stack to 192k since 10.5.27 --- data/conf/mysql/my.cnf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/conf/mysql/my.cnf b/data/conf/mysql/my.cnf index b4c348863..489b973c4 100644 --- a/data/conf/mysql/my.cnf +++ b/data/conf/mysql/my.cnf @@ -20,7 +20,7 @@ thread_cache_size = 8 query_cache_type = 0 query_cache_size = 0 max_heap_table_size = 48M -thread_stack = 128K +thread_stack = 192K skip-host-cache skip-name-resolve log-warnings = 0