Slow pop3
From Qmailtoaster
As an alternative to the following fix, you should consider using dovecot in place of the courier-imap and qmail-pop3d packages. See the wiki dovecot page for instructions. Dovecot will be the 'stock' IMAP/POP3 software included in QMTv2, so you'll be one step head by doing so.
The following fix applies to standard installation of Centos 5+xwindows/Mandriva 7 with QT.
Subject related to slow login to the pop3 server, the login prompts after 60 seconds or more, rest of the QT works as it should.
As most people and myself was convinced about this matter, is a DNS
problem in a network enviroment like this:
Internet <-> Firewall/Router ( Public IP nat/portforwarding ) <-> QT server with LAN IP ( Non public IP )
Edit the file: nano /var/qmail/supervise/pop3/run
Add the missing settings after /usr/bin/tcpserver, It should look like
this:
#!/bin/sh
PASSPROG="/home/vpopmail/bin/vchkpw" HOSTNAME=`hostname --fqdn` exec /usr/bin/softlimit -m 9000000 \ /usr/bin/tcpserver -v -R -H -l0 -c 200 0 110 \ /var/qmail/bin/qmail-popup $HOSTNAME \ $PASSPROG /var/qmail/bin/qmail-pop3d Maildir 2>&1
Very important -> !!! Stop, then start qmail !!!
qmailctl restart will not do the trick. You should:
# service qmail stop # sleep 5 # service qmail start
Thanks to Firdaus Tjahyadi/mandriva tester, everyone else for tips and ideas and http://cr.yp.to :)