[tpop3d-discuss] long login delay

Ian Armstrong ika at expressmail.dk
Mon, 5 Jan 2004 22:02:22 +0100 (CET)


Hi,

I have a problem which I cannot seem to solve. It takes a long time to
login when I read my mail, up to 20 seconds. The same happens every time I
have to read from the pop3 server, for example, when I delete a mail.

I have compiled tpop3d with the following setup:

./configure     --sysconfdir=/etc/tpop3d \
                --enable-auth-mysql \
                --with-mysql-lib-dir=/usr/lib/mysql/ \
                --with-mysql-include-dir=/usr/include/mysql/ \
                --enable-mbox-maildir \
                --disable-auth-pam


My tpop3d.conf file looks like this:

listen-address: 0.0.0.0:110(expressmail.dk)
max-children: 30
auth-mysql-enable: yes
auth-mysql-mail-group: mail
auth-mysql-hostname: localhost
auth-mysql-database: xxxxxxxx
auth-mysql-username: xxxxxxxx
auth-mysql-password: xxxxxxxx
auth-mysql-pass-query: \
SELECT
CONCAT('/home/vmail/',maildir),CONCAT('{crypt}',crypt),'mail','maildir'
FROM passwd WHERE id = '$(user)' AND en = 1


I would appreciate any help I can get.

Thanks.
Ian.

Ian Armstrong
----------------------------------
ika@expressmail.dk