Cannot send emails: "Failed to write to socket: not connected"

Created:

2016-11-16 13:20:27 UTC

Modified:

2017-08-08 13:39:15 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Cannot send emails: "Failed to write to socket: not connected"

Applicable to:

  • Plesk for Windows

Symptoms

I am unable to send emails. The following error appears:

Failed to write to socket: not connected

Also I cannot connect to the 25 port from localhost:

# telnet localhost 25
Connecting To localhost...Could not open connection to the host, on port 25: Connect failed

Cause

The issue caused by McAfee Anti-virus Standard Protection policy . It blocks outbound SMTP connection to the 25 port.

Resolution

Please use McAfee Knowledge Base article to allow connections for your Mail Server in Anti-virus Standard Protection policy or disable this policy at all.

Have more questions? Submit a request
Please sign in to leave a comment.