Article ID: 6763, created on Oct 10, 2009, last review on Jun 17, 2016

  • Applies to:
  • Plesk for Linux/Unix


The problem is with messages sent by Hotmail to Qmail.

In the /usr/local/psa/var/log/maillog file, it looks like this:

Oct  1 14:50:15 hostname qmail-queue[20210]: possible qmail-smtpd exited by timeout, reset connection or with "See"


Some of Hotmail's servers send messages with a bare LF (line feed) character at the end of the line. Such messages are rejected by qmail, which expects CRLF to be at the end of the line (carriage return + line feed).


  1. Download and compile ucspi-tcp sources:

    By default, fixcrio is compiled without TLS support. To enable TLS support, it is recommended that you recompile fixcrio with the TLS patch. Attached is fixcrio.c with the TLS patch applied. Use this one instead of the fixcrio.c that you already have.

    NOTE: But please pay attention that SMTPS (SMTP/SSL) will not work with this library, you will get the following error trying to use SSL connection:

    Starting SMTP/SSL...
    SSL/TLS: SSL connect attempt failed with unknown errorerror:1407741A:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert decode error

    See for details.

  2. If compilation fails with "undefined reference to 'errno'", add "#include " to error.h as described here:


    [root@localhost ucspi-tcp-0.88]# grep -A 1 "extern int errno" *
    error.h:extern int errno;
    error.h-#include <errno.h>
  3. Copy compiled fixcrio binary to /var/qmail/bin/ and chown/chmod as other binaries:

    # chown root:qmail /var/qmail/bin/fixcrio
    # chmod 555 /var/qmail/bin/fixcrio
    # ls -l /var/qmail/bin/fixcrio
    -r-xr-xr-x 1 root qmail 13388 Oct 1 16:36 /var/qmail/bin/fixcrio
  4. Add /var/qmail/bin/fixcrio to /etc/xinetd.d/smtp_psa right before /var/qmail/bin/qmail-smtpd.

    If you use mail submission, you probably want to add it to /etc/xinetd.d/submission_psa as well.

    Here is an example below:

    server_args = -Rt0 /var/qmail/bin/relaylock /var/qmail/bin/fixcrio /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
  5. Restart xinetd daemon:

    # /etc/init.d/xinetd restart

Search Words

qmail error

problem receive email

qmail-queue-handlers[ ]: possibly qmail-smtpd exited by timeout, reset connection. #011#011#011#011 See "

自動応答 改行コード




a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF