SecondaryMX can't work without this function (was accidently deleted since v1.0)

This commit is contained in:
Axel ROGER 2012-10-18 13:25:35 +00:00
parent 60aac29978
commit de0faaf9bf
1 changed files with 15 additions and 0 deletions

View File

@ -681,6 +681,21 @@ class m_mail {
}
return false;
}
/* ----------------------------------------------------------------- */
/** Out (echo) the complete hosted domain list :
*/
function echo_domain_list() {
global $db,$err;
$db->query("SELECT domaine FROM domaines WHERE gesdns=1 ORDER BY domaine");
while ($db->next_record()) {
echo $db->f("domaine")."\n";
}
return true;
}
/* ----------------------------------------------------------------- */
/**
* Add a slave account that will be allowed to access the mxdomain list