fixes #1511
This commit is contained in:
parent
7034a45f61
commit
1911c12d11
|
@ -1128,14 +1128,12 @@ class m_dom {
|
||||||
if ($dns=="0" && $gesmx=="1" && !$force) {
|
if ($dns=="0" && $gesmx=="1" && !$force) {
|
||||||
$vmx = $this->checkmx($dom);
|
$vmx = $this->checkmx($dom);
|
||||||
if ($vmx == 1) {
|
if ($vmx == 1) {
|
||||||
$err->raise("dom",_("There is no MX record pointing to this server, and you are asking us to host the mail here. Please fix your MX DNS pointer"));
|
$err->raise("dom",_("There is no MX record pointing to this server, and you are asking us to host the mail here. Make sure to update your MX entries or no mail will be received"));
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($vmx == 2) {
|
if ($vmx == 2) {
|
||||||
// Serveur non spécifié parmi les champx mx
|
// Serveur non spécifié parmi les champx mx
|
||||||
$err->raise("dom",_("There is no MX record pointing to this server, and you are asking us to host the mail here. Please fix your MX DNS pointer"));
|
$err->raise("dom",_("There is no MX record pointing to this server, and you are asking us to host the mail here. Make sure to update your MX entries or no mail will be received"));
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue