Monday, January 8, 2007

SMTP Delay

Users were getting a 30 second delay in starting their SMTP connection to our Plesk qmail service due to an rDNS lookup . To eliminate this delay, I followed a suggestion from a Plesk forum, added the -R switch to NOT obtain TCPREMOTEINFO from the remote host (refer to the tcp-env manpage) . I also had to remove the relay check to relays.ordb.org (removed -r relays.ordb.org ).

In summary, in /etc/xinetd.d/smtp_psa, I changed
server_args = /usr/sbin/rblsmtpd -r relays.ordb.org ...

to
server_args = -R /usr/sbin/rblsmtpd /var/qmail/bin/relaylock ...

No comments: