Plesk Bare LF - How to install fixcrio

popowich

EQ Forum Admin
Staff member
Hello,

Do you maintain a Plesk server that generates a bare LF error in your log files such as:

qmail-queue-handlers: possibly qmail-smtpd exited by timeout, reset connection. See http://pobox.com/~djb/docs/smtplf.html

Plesk does not come installed with /var/qmail/bin/fixcrio that is needed to correct the problem.

To install fixcrio please follow these directions :

> cd /usr/local/src

> gtar -zxvpf ucspi-tcp/ucspi-tcp-0.88.tar.gz

> vi error.h , add "#include <errno.h>" so that the first 7 lines look like :



Code:
#ifndef ERROR_H
#define ERROR_H

extern int errno;
#include <errno.h>

extern int error_intr;


> make
> cp fixcrio /var/qmail/bin
> chmod 755 /var/qmail/bin/fixcrio
> chown root.qmail /var/qmail/bin/fixcrio
  • Update your service run files to enable fixcrio
> cd /etc/xinetd.d
> vi smtp_psa , update it with the fixcrio command :


Code:
        server_args     = -Rt0 /var/qmail/bin/relaylock  [B]/var/qmail/bin/fixcrio[/B] /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
  • Restart xinetd
> /etc/init.d/xinetd restart

 
Top