[mailcow] Fix C22 -> C2S

This commit is contained in:
andryyy
2021-02-12 11:22:43 +01:00
parent f2453e316f
commit 5809e5b82e
4 changed files with 7 additions and 7 deletions

View File

@@ -140,7 +140,7 @@ if (isset($_SESSION['mailcow_cc_role']) && ($_SESSION['mailcow_cc_role'] == "adm
$records[] = array(
'_xmpp-client._tcp.' . $domain_details['xmpp_prefix'] . '.' . $domain,
'SRV',
$mailcow_hostname . ' ' . array_pop(explode(':', getenv('XMPP_C22_PORT')))
$mailcow_hostname . ' ' . array_pop(explode(':', getenv('XMPP_C2S_PORT')))
);
$records[] = array(
'_xmpp-server._tcp.' . $domain_details['xmpp_prefix'] . '.' . $domain,