You've already forked postfixadmin
mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2025-08-06 06:42:37 +03:00
Update functions.inc.php
This commit is contained in:
@@ -266,7 +266,7 @@ function check_domain($domain) {
|
|||||||
* @return string empty if the domain is valid, otherwise string with the errormessage
|
* @return string empty if the domain is valid, otherwise string with the errormessage
|
||||||
*/
|
*/
|
||||||
function check_localaliasonly($domain) {
|
function check_localaliasonly($domain) {
|
||||||
// If emailcheck_localonly_domain is set to 'YES', disallow aliases to remote servers (but allow aliases on this server)
|
// If emailcheck_localaliasonly is set to 'YES', disallow aliases to remote servers (but allow aliases on this server)
|
||||||
if (Config::bool('emailcheck_localaliasonly')) {
|
if (Config::bool('emailcheck_localaliasonly')) {
|
||||||
// get the domain part of the e-mail
|
// get the domain part of the e-mail
|
||||||
list(/*NULL*/, $domain) = explode('@', $domain);
|
list(/*NULL*/, $domain) = explode('@', $domain);
|
||||||
|
Reference in New Issue
Block a user