Alex Rice <[EMAIL PROTECTED]> wrote:
> Hi, have set up qmail on freebsd 3.4. When I run qmail-pop3d
> through tcpserver, checking mail takes forever-- literally like 20
> seconds for no messages. When I run qmail-pop3d through inetd, checking
> mail is very fast-- under 1 second. What could be causing this huge
> lag?

ident lookups on the remote host, and possibly reverse lookups on the
remote IP if your nameserver is slow.

Add -R to the tcpserver options for qmail-smtpd and qmail-pop3d to
disable ident lookups.  You can add -H to prevent reverse lookups on the
IP address as well if you want.
  
> Another problem I have noticed is smtp seems really slow, no matter if I
> run qmail-smtp via tcpserver or inetd. I am testing this by setting my
> mail client smtp host IP to the machine running qmail and sending to a
> user local to that machine. It seems to take 10-20 seconds for the message
> to be accepted for delivery.

See above.
 
> /usr/local/bin/tcpserver -v -x /etc/tcp.smtp.cdb -c 100 -u 1005 -g 1004 0\
>           smtp /var/qmail/bin/qmail-smtpd \
>           2>&1 | /var/qmail/bin/splogger smtpd 3 &
 
> /usr/local/bin/tcpserver 0 110 /var/qmail/bin/qmail-popup  \
>      xxxx.com \
>      /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------

Reply via email to