[Web] Remove XMPP options
[Web] Add Rspamd preset #4 [Web] Do not show failed SASL logins (and also remove them from db)
This commit is contained in:
@@ -126,28 +126,6 @@ if (isset($_SESSION['mailcow_cc_role']) && ($_SESSION['mailcow_cc_role'] == "adm
|
||||
'CNAME',
|
||||
$mailcow_hostname
|
||||
);
|
||||
if ($domain_details['xmpp'] === 1 && isset($domain_details['xmpp_prefix'])) {
|
||||
$records[] = array(
|
||||
$domain_details['xmpp_prefix'] . '.' . $domain,
|
||||
'CNAME',
|
||||
$mailcow_hostname
|
||||
);
|
||||
$records[] = array(
|
||||
'*.' . $domain_details['xmpp_prefix'] . '.' . $domain,
|
||||
'CNAME',
|
||||
$mailcow_hostname
|
||||
);
|
||||
$records[] = array(
|
||||
'_xmpp-client._tcp.' . $domain_details['xmpp_prefix'] . '.' . $domain,
|
||||
'SRV',
|
||||
$mailcow_hostname . ' ' . array_pop(explode(':', getenv('XMPP_C2S_PORT')))
|
||||
);
|
||||
$records[] = array(
|
||||
'_xmpp-server._tcp.' . $domain_details['xmpp_prefix'] . '.' . $domain,
|
||||
'SRV',
|
||||
$mailcow_hostname . ' ' . array_pop(explode(':', getenv('XMPP_S2S_PORT')))
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
$records[] = array(
|
||||
|
Reference in New Issue
Block a user