[Dovecot] stalling on LOGIN

2008-04-01 Thread Brandon Keepers
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 [EMAIL PROTECTED] host=localhost pass=foo  
mbox=~/dovecot-crlf - select=0

Logi Logo
100% 100%
   24   7/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
 - 3 stalled for 16 secs in command: 2 LOGIN [EMAIL PROTECTED] 
 test
 - 4 stalled for 16 secs in command: 2 LOGIN [EMAIL PROTECTED] 
 test
 - 5 stalled for 16 secs in command: 2 LOGIN [EMAIL PROTECTED] 
 test
 - 6 stalled for 16 secs in command: 2 LOGIN [EMAIL PROTECTED] 
 test
 - 7 stalled for 16 secs in command: 2 LOGIN [EMAIL PROTECTED] 
 test
 - 8 stalled for 16 secs in command: 2 LOGIN [EMAIL PROTECTED] 
 test
 - 9 stalled for 16 secs in command: 2 LOGIN [EMAIL PROTECTED] 
 test
 - 10 stalled for 16 secs in command: 2 LOGIN [EMAIL PROTECTED] 
 test
 - 11 stalled for 16 secs in command: 2 LOGIN [EMAIL PROTECTED] 
 test
 - 12 stalled for 16 secs in command: 2 LOGIN [EMAIL PROTECTED] 
 test


Eventually, I get:

Error: [EMAIL PROTECTED]: Unexpected BYE: * BYE  
Disconnected for inactivity.
Error: [EMAIL PROTECTED]: Unexpected BYE: * BYE  
Disconnected for inactivity.
Error: [EMAIL PROTECTED]: Unexpected BYE: * BYE  
Disconnected for inactivity.
Error: [EMAIL PROTECTED]: Unexpected BYE: * BYE  
Disconnected for inactivity.
Error: [EMAIL PROTECTED]: Unexpected BYE: * BYE  
Disconnected for inactivity.
Error: [EMAIL PROTECTED]: Unexpected BYE: * BYE  
Disconnected for inactivity.
Error: [EMAIL PROTECTED]: Unexpected BYE: * BYE  
Disconnected for inactivity.
Error: [EMAIL PROTECTED]: Unexpected BYE: * BYE  
Disconnected for inactivity.
Error: [EMAIL PROTECTED]: Unexpected BYE: * BYE  
Disconnected for inactivity.
Error: [EMAIL PROTECTED]: 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


PGP.sig
Description: This is a digitally signed message part


Re: [Dovecot] stalling on LOGIN

2008-04-01 Thread Scott Silva

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 [EMAIL PROTECTED] host=localhost pass=foo 
mbox=~/dovecot-crlf - select=0

Logi Logo
100% 100%
   24   7/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
   00  10/ 10
 - 3 stalled for 16 secs in command: 2 LOGIN 
[EMAIL PROTECTED] test
 - 4 stalled for 16 secs in command: 2 LOGIN 
[EMAIL PROTECTED] test
 - 5 stalled for 16 secs in command: 2 LOGIN 
[EMAIL PROTECTED] test
 - 6 stalled for 16 secs in command: 2 LOGIN 
[EMAIL PROTECTED] test
 - 7 stalled for 16 secs in command: 2 LOGIN 
[EMAIL PROTECTED] test
 - 8 stalled for 16 secs in command: 2 LOGIN 
[EMAIL PROTECTED] test
 - 9 stalled for 16 secs in command: 2 LOGIN 
[EMAIL PROTECTED] test
 - 10 stalled for 16 secs in command: 2 LOGIN 
[EMAIL PROTECTED] test
 - 11 stalled for 16 secs in command: 2 LOGIN 
[EMAIL PROTECTED] test
 - 12 stalled for 16 secs in command: 2 LOGIN 
[EMAIL PROTECTED] test


Eventually, I get:

Error: [EMAIL PROTECTED]: Unexpected BYE: * BYE 
Disconnected for inactivity.
Error: [EMAIL PROTECTED]: Unexpected BYE: * BYE 
Disconnected for inactivity.
Error: [EMAIL PROTECTED]: Unexpected BYE: * BYE 
Disconnected for inactivity.
Error: [EMAIL PROTECTED]: Unexpected BYE: * BYE 
Disconnected for inactivity.
Error: [EMAIL PROTECTED]: Unexpected BYE: * BYE 
Disconnected for inactivity.
Error: [EMAIL PROTECTED]: Unexpected BYE: * BYE 
Disconnected for inactivity.
Error: [EMAIL PROTECTED]: Unexpected BYE: * BYE 
Disconnected for inactivity.
Error: [EMAIL PROTECTED]: Unexpected BYE: * BYE 
Disconnected for inactivity.
Error: [EMAIL PROTECTED]: Unexpected BYE: * BYE 
Disconnected for inactivity.
Error: [EMAIL PROTECTED]: 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



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] stalling on LOGIN

2008-04-01 Thread Brandon Keepers


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.


Thanks,
Brandon


PGP.sig
Description: This is a digitally signed message part


Re: [Dovecot] stalling on LOGIN

2008-04-01 Thread Philipp Kolmann
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