diff --git a/panel/classes/Panel/Login.php b/panel/classes/Panel/Login.php index 9a1ab4c..394ecbd 100644 --- a/panel/classes/Panel/Login.php +++ b/panel/classes/Panel/Login.php @@ -47,7 +47,7 @@ class Login extends \Panel { $username = "$username@$domain"; } $emaildomain = $f3->get('HOST'); - $auth = new \Auth('smtp', ['host' => $emaildomain, 'port' => 25, 'scheme' => null]); + $auth = new \Auth('smtp', ['host' => $emaildomain, 'port' => 587, 'scheme' => 'tls']); if ($auth->login($username, $password)) { /* user passed smtp auth, check for admin access */ if ($email_array = $f3->call('\Panel::vGet', array("vmail-mboxes-get.sh -e $username -c", FALSE))) {