Qmail is tryig resolve hostnames. This is where your delay is. Add the -R
switch when tcpserver executes. The following blurb is from
http://cr.yp.to/ucspi-tcp/tcpserver.html:

-R: Do not attempt to obtain $TCPREMOTEINFO from the remote host. To avoid
loops, you must use this option for servers on TCP ports 53 and 113.

> -----Original Message-----
> From: Greg Kopp [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 25, 2000 11:10 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: tcpserver/qmail/vpopmail/pop3 taking a LONG time
>
>
> For some reason, which I cannot fathom, pop3 connections are taking a VERY
> long time to process on our qmail/vpopmail machine. I am going to try and
> provide as much inormation as possible. If I give too much, I
> appologize in
> advance. If I don;t give you enough, please ask, I am sort of desperate to
> solve this and haven't been able to on my own up to this point. (Sorry for
> the cross-post, but I'm not sure which is causing the problem)
>
> I am starting the pop3 daemon with:
>
> env - PATH="/var/qmail/bin:/usr/local/bin" \
> tcpserver -v -R -uvpopmail_uid -gvpopmail_gid 0 pop3 \
> /var/qmail/bin/qmail-popup pop3.e2grow.com \
> /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \
> /var/qmail/bin/splogger pop3d &
>
> Here is what appears to be a relevant section of the maillog:
>
> Oct 25 11:51:49 linux1379 pop3d: 972489109.626018 tcpserver: status: 1/40
> Oct 25 11:51:49 linux1379 pop3d: 972489109.626388 tcpserver: pid
> 18090 from
> 207.89.159.118
> Oct 25 11:54:29 linux1379 pop3d: 972489269.247499 tcpserver: ok 18090
> 0:207.153.234.225:110 :207.89.159.118::63861
> Oct 25 11:54:29 linux1379 vpopmail[18130]: vchkpw login
> [EMAIL PROTECTED]:207.89.159.118
> Oct 25 11:54:30 linux1379 pop3d: 972489270.146873 tcpserver: end 18090
> status 256
> Oct 25 11:54:30 linux1379 pop3d: 972489270.146965 tcpserver: status: 0/40
>
> As you can see, it took 2 minutes and 40 seconds to check this
> one person's
> e-mail. I have checked the FAQ and the mailing list archives with little
> luck.
>
> I would appreciate any help.
>
>

Reply via email to