Re: [Dovecot] Dovecot login slow

2013-11-14 Thread Marc Perkel
On 11/13/2013 4:34 PM, Benny Pedersen wrote: Marc Perkel skrev den 2013-11-14 01:13: I does act like a DNS problem but why is DNS involved? It doesn't have a delay in connecting. It's the login that's slow. you use a auth that depends on fast dns ? lost now how your dovecot -n was are we

Re: [Dovecot] Dovecot login slow

2013-11-14 Thread Benny Pedersen
Marc Perkel skrev den 2013-11-14 05:25: My AUTH depends only on MYSQL. There's no DNS involved. At least not that I can see there should be. So why would localhost take 10-15 seconds to do the login part and coming into the servers IP address is instant. And in both cases the connection itself

Re: [Dovecot] Dovecot login slow

2013-11-14 Thread Marc Perkel
On 11/14/2013 11:32 AM, Benny Pedersen wrote: Marc Perkel skrev den 2013-11-14 05:25: My AUTH depends only on MYSQL. There's no DNS involved. At least not that I can see there should be. So why would localhost take 10-15 seconds to do the login part and coming into the servers IP address is

Re: [Dovecot] Dovecot login slow

2013-11-14 Thread Gregory Sloop
Is it perhaps a *server* dns lookup delay? I've typically seen 60s delays when a reverse lookup fails, so 20s seems odd - but when you first mentioned it, that's the little flag that waved in my head. 'course I could be totally stupid, high, or huffing glue or something - but thought I'd throw

Re: [Dovecot] Dovecot login slow

2013-11-14 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 14 Nov 2013, Marc Perkel wrote: That would be understandable if the delay were connecting, but it's not. The connection is instand. And localhost resolves instantly. The delay is after I type in the login command. That's what I don't

[Dovecot] Dovecot login slow

2013-11-13 Thread Marc Perkel
Can't figure out why the login is slow. I telnet to port 143 on localhost. I type: 0 login user password Takes about 10 seconds and it lets me in. I'm using MYSQL and it's a small indexed database on a fast server so it's not the mysql query that's slowing it down. At least I don't think it

Re: [Dovecot] Dovecot login slow

2013-11-13 Thread Marc Perkel
On 11/13/2013 12:41 PM, Marc Perkel wrote: Can't figure out why the login is slow. I telnet to port 143 on localhost. I type: 0 login user password Takes about 10 seconds and it lets me in. I'm using MYSQL and it's a small indexed database on a fast server so it's not the mysql query

Re: [Dovecot] Dovecot login slow

2013-11-13 Thread Pascal Volk
On 11/13/2013 11:01 PM Muzaffer Tolga Ozses wrote: ssl_ca = /usr/share/ssl/certs/rapidssl.crt ssl_cert = /usr/share/ssl/certs/imapd.pem ssl_key = /usr/share/ssl/certs/imapd.pem These lines look weird to me. Why do they have a ? Because Marc uses Dovecot = v2.0.0 Regards, Pascal -- The

Re: [Dovecot] Dovecot login slow

2013-11-13 Thread Marc Perkel
More information When i telnet to localhost on 143 it takes 10-15 seconds to log in. but When I telnet to the host name of the server it logs in instantly. Why would it be slow on localhost by fast on the server's IP address?

Re: [Dovecot] Dovecot login slow

2013-11-13 Thread Pascal Volk
On 11/13/2013 11:17 PM Marc Perkel wrote: More information When i telnet to localhost on 143 it takes 10-15 seconds to log in. but When I telnet to the host name of the server it logs in instantly. Why would it be slow on localhost by fast on the server's IP address?

Re: [Dovecot] Dovecot login slow

2013-11-13 Thread Joseph Tam
ssl_ca = /usr/share/ssl/certs/rapidssl.crt ssl_cert = /usr/share/ssl/certs/imapd.pem ssl_key = /usr/share/ssl/certs/imapd.pem These lines look weird to me. Why do they have a ? Red herring; this is standard. I think it means feed this file into stdin. On 11/13/2013 12:41 PM, Marc Perkel

Re: [Dovecot] Dovecot login slow

2013-11-13 Thread Benny Pedersen
Marc Perkel skrev den 2013-11-14 00:17: More information When i telnet to localhost on 143 it takes 10-15 seconds to log in. but When I telnet to the host name of the server it logs in instantly. Why would it be slow on localhost by fast on the server's IP address? make

Re: [Dovecot] Dovecot login slow

2013-11-13 Thread Marc Perkel
On 11/13/2013 3:28 PM, Pascal Volk wrote: On 11/13/2013 11:17 PM Marc Perkel wrote: More information When i telnet to localhost on 143 it takes 10-15 seconds to log in. but When I telnet to the host name of the server it logs in instantly. Why would it be slow on localhost by

Re: [Dovecot] Dovecot login slow

2013-11-13 Thread Benny Pedersen
Marc Perkel skrev den 2013-11-14 01:13: I does act like a DNS problem but why is DNS involved? It doesn't have a delay in connecting. It's the login that's slow. you use a auth that depends on fast dns ? lost now how your dovecot -n was are we sure its dns at all ?, i see the INDEX on

Re: [Dovecot] Dovecot login slow

2013-11-13 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 13 Nov 2013, Marc Perkel wrote: On 11/13/2013 12:41 PM, Marc Perkel wrote: Can't figure out why the login is slow. I telnet to port 143 on localhost. I type: 0 login user password I would: + add to conf: auth_debug = yes auth_verbose