[tpop3d-discuss] long login delay

Chris Lightfoot chris at ex-parrot.com
Tue, 6 Jan 2004 01:09:51 +0000


On Mon, Jan 05, 2004 at 10:02:22PM +0100, Ian Armstrong wrote:
> 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.

which version? how heavily loaded is the server? anything
interesting in the logs?

-- 
``You can't say that, because it's true.''
  (unnamed Russian censor, to Malcom Muggeridge, 1933)