Link to home
Start Free TrialLog in
Avatar of sheepfarmer
sheepfarmer

asked on

SMTP Auth connection delay

Using Plesk and Qmail on Fedora Core 3.

In Plesk, you specify SMTP Auth required.
There is a delay when connecting to the SMTP relay (20-30 seconds) before the email is accepted from the client machine.

I am trying to establish what underlying processes are involved in the AUTH process and acceptance of the email for relay in an attempt to reduce the delay.

Thanks
SF


Avatar of sheepfarmer
sheepfarmer

ASKER

I wonder if this file has something to do with it?  Comments?

#/xinitd.d/smtp_psa
service smtp
{
        socket_type     = stream
        protocol        = tcp
        wait            = no
        disable         = no
        user            = root
        instances       = UNLIMITED
        server          = /var/qmail/bin/tcp-env
        server_args     = /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
}
Sorted it.

If anyone is interested, the -Rt0 argument was added to the server_args line thus:
 
       server_args     = -Rt0 /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true

Basically, this throws away the TCPREMOTEINFO request and sets the timeout to zero.  man tcp-env for details.

SF
ASKER CERTIFIED SOLUTION
Avatar of PAQ_Man
PAQ_Man
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial