Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

SMTP Auth connection delay

Posted on 2006-05-26
3
Medium Priority
?
872 Views
Last Modified: 2013-12-16
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


0
Comment
Question by:sheepfarmer
  • 2
3 Comments
 

Author Comment

by:sheepfarmer
ID: 16772841
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
}
0
 

Author Comment

by:sheepfarmer
ID: 16776762
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
0
 

Accepted Solution

by:
PAQ_Man earned 0 total points
ID: 16777634
Closed, 500 points refunded.
PAQ_Man
Community Support Moderator
0

Featured Post

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month13 days, 15 hours left to enroll

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question