This applies to standard installation of Centos 5 + xwindows with QT.
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 wtih LAN IP ( Non public IP )
Edit the file:
nano /var/qmail/supervise/pop3/run
Add the missing settings after /usrbin/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
!!! Reboot the server !!!
qmailctl cdb/restart will not do the trix.
Thanks everyone for tips and ideas, not least http://cr.yp.to :)
Ole N.Johansen wrote:
It is before the greeting.
I see when i remote ssh into the box from another computer it is taking
some time to get logged in.
I am doing a little bit of tcpdumping to see if i can figure whats wrong.
I have tried everything you mention i think, i will double check.
Thanks for your ideas/comments
On Mon, April 30, 2007 23:16, Joseph Lundgren wrote:
Ole,
Where does the stall occur? Before the server sends its greeting, or
afterwards?
If the stall happens before the server sends its greeting, your problem
is likely to be DNS. The server attempts to perform a reverse DNS
lookup on the IP address you are connecting from. If your DNS is
misconfigured, it will cause this step to go (VERY) slowly.
telnet mail.domain.tld 110
Trying xxx.xxx.xxx.xxx...
Connected to mail.domain.tld.
Escape character is '^]'.
+OK <[EMAIL PROTECTED]> <==== server greeting
user [EMAIL PROTECTED]
+OK
pass 12345
-ERR authorization failed
Connection closed by foreign host.
Generally, your '/etc/resolv.conf' file should have your localhost IP
address (or 0.0.0.0, you choose) as the first line, followed by your
forwarders, like so (where xxx.xxx.xxx.xxx are the IP addresses of other
nameservers).
nameserver 127.0.0.1
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx
I always modify the '/etc/hosts' file as well, to put the FQDN of the
server on a line with its own IP address (not localhost's IP address),
like so:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
xxx.xxx.xxx.xxx mail.domain.tld mail
If the stall happens after you submit your username and password, the
problem lies elsewhere. Where --- I don't know.
Sincerely,
--
Joseph Lundgren
Systems Engineer
Peak Internet, LLC
[EMAIL PROTECTED]
-----Original Message-----
From: Ole N.Johansen [mailto:[EMAIL PROTECTED]
Sent: Monday, April 30, 2007 8:23 AM
To: [email protected]
Subject: Re: [qmailtoaster] slow pop login
Hello,
I got the same problem,
hw/sw:
fujitsu-siemens xeon server.
2x250gb hw raid-1
1GB ram
Centos 5 installed as QT advises
QT installed successfully with djbdnscache
everything works except 60seconds+++ for login via pop3 ( telnet LAN-IP
110 )
If i do telnet localhost 110, it answer as it should.
Iptables and Selinux is disabled.
But POP3 with SSL works as it should.
Ideas?
B/R Ole Johansen
On Mon, April 30, 2007 15:28, Firdaus Tjahyadi wrote:
Dear All
i'v been upgrade my qmailtoaster
rpm -qa | grep toaster
vpopmail-toaster-5.4.17-1.3.4mdk
control-panel-toaster-0.5-1.3.4mdk
vqadmin-toaster-2.3.4-1.3.3mdk
qmail-pop3d-toaster-1.03-1.3.15mdk
autorespond-toaster-2.0.4-1.3.3mdk
maildrop-toaster-2.0.3-1.3.5mdk
send-emails-toaster-0.5-1.3.2mdk
qmailtoaster-plus-0.2.2-1.3.4
daemontools-toaster-0.76-1.3.3mdk
libsrs2-toaster-1.0.18-1.3.3mdk
ezmlm-cgi-toaster-0.53.324-1.3.3mdk
maildrop-toaster-devel-2.0.3-1.3.5mdk
spamassassin-toaster-3.1.8-1.3.8mdk
clamav-toaster-0.90.1-1.3.13mdk
ucspi-tcp-toaster-0.88-1.3.5mdk
courier-imap-toaster-4.1.2-1.3.7mdk
libdomainkeys-toaster-0.68-1.3.3mdk
qmailadmin-toaster-1.2.11-1.3.4mdk
isoqlog-toaster-2.1-1.3.4mdk
ripmime-toaster-1.4.0.6-1.3.3mdk
qmail-toaster-1.03-1.3.15mdk
courier-authlib-toaster-0.59.2-1.3.6mdk
qmailmrtg-toaster-4.2-1.3.3mdk
simscan-toaster-1.3.1-1.3.6mdk
ezmlm-toaster-0.53.324-1.3.3mdk
squirrelmail-toaster-1.4.9a-1.3.6mdk
but after i upgrade i have my pop login is very slow
it need > 60s to login
telnet mail.dic.co.id 110
Trying 203.130.226.18...
Connected to mail.dic.co.id (203.130.226.18).
Escape character is '^]'.
+OK <[EMAIL PROTECTED]>
quit
+OK
Connection closed by foreign host.
i have set caching nameserver
what should i do to solve this problem ?
thanks
regards
--
Mvh
Ole N.Johansen
System Administrator
Cryonix Data Systems
[EMAIL PROTECTED] | SKYPE-cryonix.no | Cell nbr.+47 95102821
]
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Please note that this message may contain confidential information. If you
have received this message by mistake, please inform the sender of the
mistake by sending a reply, then delete the message from your system without
making, distributing or retaining any copies of it.
Although we believe that the message and any attachments are free from
viruses and other errors that might affect the computer or IT system where
it is received and read, the recipient opens the message at his or her own
risk. We assume no responsibility for any loss or damage arising from the
receipt or use of this message.
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]