Plesk Bare LF - How to install fixcrio

Discussion in 'Mail Server Support' started by popowich, Jul 4, 2012.

  1. popowich

    popowich EQ Forum Admin Staff Member

    Joined:
    Aug 12, 2008
    Messages:
    8,983
    Likes Received:
    120
    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

     


Want to reply or ask your own question?

It only takes a minute to sign up (and it's free!). Click the orange sign up button to choose a username and then you can ask your own questions on the forum.
Loading...