• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Failed to connect to mailserver

LauPasq

New Pleskian
Hi,

I tried to access to my mail server via port 25 from my PC with a php script, and it always failed with answer "SMTP: Failed to connect socket"
My server is on Plesk 11.5 and uses postfix as mail server.
Nothing appears in the logs (no connection attempts).

When I try with telnet, there is a connection (appear in log file), but I do not succeed to authenticate.
Any SSL protection ?

How to proceed ?

my Php sript :
$headers = array ('From' => $from,
'To' => $to,
'Subject' => $subject);
$smtp = Mail::factory('smtp',
array ('host' => $host,
'auth' => true,
'username' => $username,
'password' => $password));

$mail = $smtp->send($to, $headers, $body);

if (PEAR::isError($mail)) {
echo("<p>" . $mail->getMessage() . "</p>");
} else {
echo("<p>Message successfully sent!</p>");
}

Thanks a lot for any help
 
Back
Top