At 03:02 PM 6/15/99 -0400, you wrote:
>Bill Parker <[EMAIL PROTECTED]> wrote:
>>
>> I am running qmail with tcpserver, and want to know if there is
>>any way to make qmail respond faster to smtp/pop3d requests other than
>>going through a DNS lookup...
>
>Huh? How would going through a DNS lookup speed this up?
>
>Disabling identd lookups, using the "-R" flag to tcpserver might
>help. Or possibly just shortening the timeout via "-t".
>
Well, here is my qmail startup script for smtp and pop3...
Stuff above deleted to save space...
case "$1" in
start)
echo -n "Starting: "
env - PATH="/var/qmail/bin:/usr/local/bin" \
qmail-start ./Maildir/ splogger qmail &
echo -n "qmail "
env - PATH="/var/qmail/bin:/usr/local/bin" \
tcpserver -H -R -x /etc/tcp.smtp.cdb -c20 -u7791 -g2108 0 smtp \
/var/qmail/bin/qmail-smtpd 2>&1 > /dev/null &
echo -n "smtp "
env - PATH="/var/qmail/bin:/usr/local/bin" \
tcpserver -H -R -b30 -c10 0 pop3 \
/var/qmail/bin/qmail-popup odie.donbest.com \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &
echo "pop3d"
stuff below deleted to save space...
Now, I do have the -R flag going to tcpserver (as shown above), will
adding -t5 (for a max 5 seconds) help, or are they mutually exclusive?
>
>If your DNS is slow, you'll see delays all over the place, and, yes,
>running your own caching nameserver will help.
I bought a copy of the ORA DNS/Bind book 3rd edition, which I am
going over now...<slow reading..heh>...
-Bill