Sending mail fails with error: Connection timed out

Refers to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Created:

2016-11-16 13:00:32 UTC

Modified:

2017-02-16 10:33:16 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Sending mail fails with error: Connection timed out

Symptoms

Unable to send emails using Postfix, getting the following error in /var/log/maillog :

hostname postfix/smtp[27827]: connect to mail.example.com[1.2.3.4]:25: Connection timed out

TCP port 25 connectivity test is successful:

# telnet mail.example.com 25
Trying 203.0.113.2...
Connected to mail.example.com.
Escape character is '^]'.

Cause

Postfix misconfiguration.

Resolution

  1. Comment out the following parameter in the /etc/postfix/main.cf :

    sender_dependent_default_transport_maps = hash:/var/spool/postfix/plesk/sdd_transport_maps
  2. Restart Postfix:

    # service postfix restart
Have more questions? Submit a request
Please sign in to leave a comment.