[Dovecot] stalling on LOGIN
Brandon Keepers
brandon at opensoul.org
Tue Apr 1 22:34:56 EEST 2008
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 at 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 at imaptest.stage.dealerflow.com
" "test"
- 4 stalled for 16 secs in command: 2 LOGIN "test1 at imaptest.stage.dealerflow.com
" "test"
- 5 stalled for 16 secs in command: 2 LOGIN "test1 at imaptest.stage.dealerflow.com
" "test"
- 6 stalled for 16 secs in command: 2 LOGIN "test1 at imaptest.stage.dealerflow.com
" "test"
- 7 stalled for 16 secs in command: 2 LOGIN "test1 at imaptest.stage.dealerflow.com
" "test"
- 8 stalled for 16 secs in command: 2 LOGIN "test1 at imaptest.stage.dealerflow.com
" "test"
- 9 stalled for 16 secs in command: 2 LOGIN "test1 at imaptest.stage.dealerflow.com
" "test"
- 10 stalled for 16 secs in command: 2 LOGIN "test1 at imaptest.stage.dealerflow.com
" "test"
- 11 stalled for 16 secs in command: 2 LOGIN "test1 at imaptest.stage.dealerflow.com
" "test"
- 12 stalled for 16 secs in command: 2 LOGIN "test1 at imaptest.stage.dealerflow.com
" "test"
Eventually, I get:
Error: test18 at imaptest.stage.dealerflow.com[6]: Unexpected BYE: * BYE
Disconnected for inactivity.
Error: test43 at imaptest.stage.dealerflow.com[10]: Unexpected BYE: * BYE
Disconnected for inactivity.
Error: test19 at imaptest.stage.dealerflow.com[9]: Unexpected BYE: * BYE
Disconnected for inactivity.
Error: test40 at imaptest.stage.dealerflow.com[8]: Unexpected BYE: * BYE
Disconnected for inactivity.
Error: test44 at imaptest.stage.dealerflow.com[3]: Unexpected BYE: * BYE
Disconnected for inactivity.
Error: test26 at imaptest.stage.dealerflow.com[7]: Unexpected BYE: * BYE
Disconnected for inactivity.
Error: test38 at imaptest.stage.dealerflow.com[4]: Unexpected BYE: * BYE
Disconnected for inactivity.
Error: test32 at imaptest.stage.dealerflow.com[1]: Unexpected BYE: * BYE
Disconnected for inactivity.
Error: test95 at imaptest.stage.dealerflow.com[5]: Unexpected BYE: * BYE
Disconnected for inactivity.
Error: test25 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080401/9b5d5421/attachment.bin
More information about the dovecot
mailing list