Article ID: 125019, created on Mar 26, 2015, last review on Sep 1, 2016

  • Applies to:
  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux


Outgoing emails are staying in mail queue and the following error appears in /var/log/maillog:

connect to[]:25: Connection timed out
BF8DD84260: to=, relay=none, delay=90, delays=0.03/0/90/0, dsn=4.4.1, status=deferred (connect to[]:25: Connection timed out)


  • Postfix is not able to route emails through the domain IP (, because it is not configured to work on this IP. It can be checked by trying to connect to the remote mail server from the domain IP:

    telnet 25 -b


  • Server firewall is blocking connection


Add the following value for smtp_bind_address parameter in /etc/postfix/ :

# grep bind /etc/postfix/ unix - n n - - smtp -o smtp_bind_address= -o smtp_bind_address6= -o smtp_address_preference=ipv4

Additionally, please, check the article "How to configure the IP address for outgoing mail in Postfix".

Since Plesk 12.0.18 it is possible to choose IP addresses for sending emails: Tools & Settings > Mail Server Settings > Outgoing mail mode > Send from the specified IP addresses

External IP can be specified instead of internal one.

If everythnig is configured in Postfix correctly, check server firewall using iptables -L

Search Words

25: Connection timed out

postfix timed out

Connection timed out

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 29d1e90fd304f01e6420fbe60f66f838 aea4cd7bfd353ad7a1341a257ad4724a 0a53c5a9ca65a74d37ef5c5eaeb55d7f 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7 01bc4c8cf5b7f01f815a7ada004154a2 742559b1631652fadd74764ae8be475e

Email subscription for changes to this article
Save as PDF