mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-12-13 18:06:01 +00:00
@@ -20,7 +20,7 @@ thread_cache_size = 8
|
|||||||
query_cache_type = 0
|
query_cache_type = 0
|
||||||
query_cache_size = 0
|
query_cache_size = 0
|
||||||
max_heap_table_size = 48M
|
max_heap_table_size = 48M
|
||||||
thread_stack = 128K
|
thread_stack = 192K
|
||||||
skip-host-cache
|
skip-host-cache
|
||||||
skip-name-resolve
|
skip-name-resolve
|
||||||
log-warnings = 0
|
log-warnings = 0
|
||||||
|
|||||||
@@ -2515,6 +2515,8 @@ function reset_password($action, $data = null) {
|
|||||||
':username' => $username
|
':username' => $username
|
||||||
));
|
));
|
||||||
|
|
||||||
|
update_sogo_static_view($username);
|
||||||
|
|
||||||
$_SESSION['return'][] = array(
|
$_SESSION['return'][] = array(
|
||||||
'type' => 'success',
|
'type' => 'success',
|
||||||
'log' => array(__FUNCTION__, $action, $_data_log),
|
'log' => array(__FUNCTION__, $action, $_data_log),
|
||||||
|
|||||||
@@ -3351,7 +3351,12 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
|
|||||||
'old_maildir' => $domain . '/' . $old_local_part,
|
'old_maildir' => $domain . '/' . $old_local_part,
|
||||||
'new_maildir' => $domain . '/' . $new_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
|
// rename username in sogo
|
||||||
$exec_fields = array(
|
$exec_fields = array(
|
||||||
|
|||||||
Reference in New Issue
Block a user