Article ID: 124776, created on Mar 9, 2015, last review on Aug 19, 2015

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


SMTP service doesn't work on a Linux server with Qmail - messages are queued and not delivered:

# /var/qmail/bin/qmail-qstat
messages in queue: 3675

The /usr/local/psa/var/log/maillog has the following error:

Jan  8 07:18:05 dar qmail: 1389154685.614241 delivery 26753: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
Jan  8 07:18:05 dar qmail: 1389154685.614296 status: local 0/10 remote 0/20


smtproutes are misconfigured on the server. For example:

    [root@hostname]# cat /var/qmail/control/smtproutes

The record `:host3.tld` means that all messages, regardless of the destination domain, are relayed to `host3.tld`. But `host3.tld` does not accept connections to TCP port 25:

    # telnet host3.tld 25
    telnet: connect to address Connection timed out
    telnet: Unable to connect to remote host: Connection timed out


  1. Check connectivity to the remote server specified in smtproutes:

    # telnet <host> 25

    1.1. If the connection is timed out, please, comment out the line with the remote server:

    # cat /var/qmail/control/smtproutes

    1.2. If the connection to the relay host is established, verify that the IP address used to send emails is not blacklisted on the destination host:

    # dig mx <destination host>
    # telnet <destination mx host> 25
  2. Restart Qmail service:

    # /etc/init.d/qmail restart
  3. Check the maillog and Qmail queue to make sure that mail is being delivered and Qmail queue is decreasing:

    # less /usr/local/psa/var/log/maillog
    # /var/qmail/bin/qmail-qstat

Search Words



Sorry, _I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)


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

Email subscription for changes to this article
Save as PDF