[Dovecot] stalling on LOGIN
I'm getting strange timeouts occasionally on Dovecot 1.0.rc15 on
Debian 4.0, and haven't been able to figure out the cause.
$ ./src/imaptest user=test%d@imaptest.com host=localhost pass=foo
mbox=~/dovecot-crlf - select=0
Logi Logo
100% 100%
2 4 7/ 10
0 0 10/ 10
0 0 10/ 10
0 0 10/ 10
0 0 10/ 10
0 0 10/ 10
0 0 10/ 10
0 0 10/ 10
0 0 10/ 10
0 0 10/ 10
0 0 10/ 10
0 0 10/ 10
0 0 10/ 10
0 0 10/ 10
0 0 10/ 10
0 0 10/ 10
- 3 stalled for 16 secs in command: 2 LOGIN "test1@imaptest.stage.dealerflow.com " "test"
- 4 stalled for 16 secs in command: 2 LOGIN "test1@imaptest.stage.dealerflow.com " "test"
- 5 stalled for 16 secs in command: 2 LOGIN "test1@imaptest.stage.dealerflow.com " "test"
- 6 stalled for 16 secs in command: 2 LOGIN "test1@imaptest.stage.dealerflow.com " "test"
- 7 stalled for 16 secs in command: 2 LOGIN "test1@imaptest.stage.dealerflow.com " "test"
- 8 stalled for 16 secs in command: 2 LOGIN "test1@imaptest.stage.dealerflow.com " "test"
- 9 stalled for 16 secs in command: 2 LOGIN "test1@imaptest.stage.dealerflow.com " "test"
- 10 stalled for 16 secs in command: 2 LOGIN "test1@imaptest.stage.dealerflow.com " "test"
- 11 stalled for 16 secs in command: 2 LOGIN "test1@imaptest.stage.dealerflow.com " "test"
- 12 stalled for 16 secs in command: 2 LOGIN "test1@imaptest.stage.dealerflow.com " "test"
Eventually, I get:
Error: test18@imaptest.stage.dealerflow.com[6]: Unexpected BYE: * BYE
Disconnected for inactivity.
Error: test43@imaptest.stage.dealerflow.com[10]: Unexpected BYE: * BYE
Disconnected for inactivity.
Error: test19@imaptest.stage.dealerflow.com[9]: Unexpected BYE: * BYE
Disconnected for inactivity.
Error: test40@imaptest.stage.dealerflow.com[8]: Unexpected BYE: * BYE
Disconnected for inactivity.
Error: test44@imaptest.stage.dealerflow.com[3]: Unexpected BYE: * BYE
Disconnected for inactivity.
Error: test26@imaptest.stage.dealerflow.com[7]: Unexpected BYE: * BYE
Disconnected for inactivity.
Error: test38@imaptest.stage.dealerflow.com[4]: Unexpected BYE: * BYE
Disconnected for inactivity.
Error: test32@imaptest.stage.dealerflow.com[1]: Unexpected BYE: * BYE
Disconnected for inactivity.
Error: test95@imaptest.stage.dealerflow.com[5]: Unexpected BYE: * BYE
Disconnected for inactivity.
Error: test25@imaptest.stage.dealerflow.com[2]: Unexpected BYE: * BYE
Disconnected for inactivity.
$ sudo /usr/sbin/dovecot -n # /etc/dovecot/dovecot.conf protocols: imap listen: *:143 ssl_disable: yes disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable: /usr/lib/dovecot/imap-login first_valid_uid: 8 last_valid_uid: 8 mail_location: maildir:/var/mail/%1d/%d/%1n/%n mail_debug: yes auth default: mechanisms: plain login debug: yes passdb: driver: ldap args: /etc/dovecot/dovecot-ldap.conf userdb: driver: ldap args: /etc/dovecot/dovecot-ldap.conf socket: type: listen client: master: path: /var/run/dovecot/auth-master mode: 432 user: mail group: mail
# dovecot-ldap.conf hosts = localhost:389 dn = cn=admin,dc=example,dc=com dnpass = secret auth_bind = yes auth_bind_userdn = uid=%n,ou=people,associatedDomain= %d,o=accounts,dc=example,dc=com ldap_version = 3 base = dc=example.com,dc=com user_filter = (mail=%u) user_global_uid = mail user_global_gid = mail
I've tried enabling all the debugging, but there don't seem to be any
errors.
Any ideas?
Thanks, Brandon
on 4-1-2008 12:34 PM Brandon Keepers spake the following:
I'm getting strange timeouts occasionally on Dovecot 1.0.rc15 on Debian 4.0, and haven't been able to figure out the cause.
$ ./src/imaptest user=test%d@imaptest.com host=localhost pass=foo mbox=~/dovecot-crlf - select=0 Logi Logo 100% 100% 2 4 7/ 10 0 0 10/ 10 0 0 10/ 10 0 0 10/ 10 0 0 10/ 10 0 0 10/ 10 0 0 10/ 10 0 0 10/ 10 0 0 10/ 10 0 0 10/ 10 0 0 10/ 10 0 0 10/ 10 0 0 10/ 10 0 0 10/ 10 0 0 10/ 10 0 0 10/ 10
- 3 stalled for 16 secs in command: 2 LOGIN "test1@imaptest.stage.dealerflow.com" "test"
- 4 stalled for 16 secs in command: 2 LOGIN "test1@imaptest.stage.dealerflow.com" "test"
- 5 stalled for 16 secs in command: 2 LOGIN "test1@imaptest.stage.dealerflow.com" "test"
- 6 stalled for 16 secs in command: 2 LOGIN "test1@imaptest.stage.dealerflow.com" "test"
- 7 stalled for 16 secs in command: 2 LOGIN "test1@imaptest.stage.dealerflow.com" "test"
- 8 stalled for 16 secs in command: 2 LOGIN "test1@imaptest.stage.dealerflow.com" "test"
- 9 stalled for 16 secs in command: 2 LOGIN "test1@imaptest.stage.dealerflow.com" "test"
- 10 stalled for 16 secs in command: 2 LOGIN "test1@imaptest.stage.dealerflow.com" "test"
- 11 stalled for 16 secs in command: 2 LOGIN "test1@imaptest.stage.dealerflow.com" "test"
- 12 stalled for 16 secs in command: 2 LOGIN "test1@imaptest.stage.dealerflow.com" "test"
Eventually, I get:
Error: test18@imaptest.stage.dealerflow.com[6]: Unexpected BYE: * BYE Disconnected for inactivity. Error: test43@imaptest.stage.dealerflow.com[10]: Unexpected BYE: * BYE Disconnected for inactivity. Error: test19@imaptest.stage.dealerflow.com[9]: Unexpected BYE: * BYE Disconnected for inactivity. Error: test40@imaptest.stage.dealerflow.com[8]: Unexpected BYE: * BYE Disconnected for inactivity. Error: test44@imaptest.stage.dealerflow.com[3]: Unexpected BYE: * BYE Disconnected for inactivity. Error: test26@imaptest.stage.dealerflow.com[7]: Unexpected BYE: * BYE Disconnected for inactivity. Error: test38@imaptest.stage.dealerflow.com[4]: Unexpected BYE: * BYE Disconnected for inactivity. Error: test32@imaptest.stage.dealerflow.com[1]: Unexpected BYE: * BYE Disconnected for inactivity. Error: test95@imaptest.stage.dealerflow.com[5]: Unexpected BYE: * BYE Disconnected for inactivity. Error: test25@imaptest.stage.dealerflow.com[2]: Unexpected BYE: * BYE Disconnected for inactivity.
$ sudo /usr/sbin/dovecot -n # /etc/dovecot/dovecot.conf protocols: imap listen: *:143 ssl_disable: yes disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable: /usr/lib/dovecot/imap-login first_valid_uid: 8 last_valid_uid: 8 mail_location: maildir:/var/mail/%1d/%d/%1n/%n mail_debug: yes auth default: mechanisms: plain login debug: yes passdb: driver: ldap args: /etc/dovecot/dovecot-ldap.conf userdb: driver: ldap args: /etc/dovecot/dovecot-ldap.conf socket: type: listen client: master: path: /var/run/dovecot/auth-master mode: 432 user: mail group: mail
# dovecot-ldap.conf hosts = localhost:389 dn = cn=admin,dc=example,dc=com dnpass = secret auth_bind = yes auth_bind_userdn = uid=%n,ou=people,associatedDomain=%d,o=accounts,dc=example,dc=com ldap_version = 3 base = dc=example.com,dc=com user_filter = (mail=%u) user_global_uid = mail user_global_gid = mail
I've tried enabling all the debugging, but there don't seem to be any errors.
Any ideas?
Thanks, Brandon Upgrade. rc15 way over a year old. I think backports has newer version.
-- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!!
On Tue, Apr 01, 2008 at 04:12:13PM -0400, Brandon Keepers wrote:
On Apr 1, 2008, at 3:50 PM, Scott Silva wrote:
on 4-1-2008 12:34 PM Brandon Keepers spake the following:
Upgrade. rc15 way over a year old. I think backports has newer
version.That did it. Thanks
Another reason not to use Debian stable.
well there are backports.org :)
http://packages.debian.org/etch-backports/dovecot-common
Philipp
-- If you have problems in Windows: REBOOT If you have problems in Linux: BE ROOT
participants (3)
-
Brandon Keepers
-
Philipp Kolmann
-
Scott Silva