Skip to content

Commit

Permalink
Merge pull request #6173 from mailcow/staging
Browse files Browse the repository at this point in the history
2024-11b
  • Loading branch information
DerLinkman authored Nov 15, 2024
2 parents 4d688c5 + d10d64d commit bd9f4ba
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/conf/mysql/my.cnf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions data/web/inc/functions.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
7 changes: 6 additions & 1 deletion data/web/inc/functions.mailbox.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit bd9f4ba

Please sign in to comment.