[Dovecot] 20070605 still hanging with SSL
Thought this was fixed and now it's back.
No help from rawlog as the hang appears prior to authentication. Notice there is around a 90 second delay before authentication fires.
Let me know how to proceed debugging. Thanks.
Here's my config:
listen: *:143
ssl_listen: *:993
ssl_cipher_list: ALL:!LOW:!SSLv2
disable_plaintext_auth: no
verbose_ssl: yes
login_dir: /var/run/dovecot/login
login_executable: /usr/local/pkgs/dovecot-20070605/libexec/dovecot/imap-login
login_greeting: IMAP ready.
login_process_per_connection: no
login_processes_count: 5
verbose_proctitle: yes
first_valid_uid: 12
default_mail_env: maildir:~/Maildir
mail_location: maildir:~/Maildir
mail_debug: yes
maildir_copy_with_hardlinks: yes
mail_executable: /usr/local/pkgs/dovecot-20070605/libexec/dovecot/rawlog
/usr/local/pkgs/dovecot-20070605/libexec/dovecot/imap
auth default:
verbose: yes
debug: yes
debug_passwords: yes
passdb:
driver: shadow
userdb:
driver: passwd
Here's a maillog snippet:
Jun 11 07:50:40 net1 dovecot: Dovecot v20070522 starting up
... Immediately click on INBOX or other box and hang occurs...
Jun 11 07:52:00 net1 dovecot: auth(default): client in: AUTH \
1 PLAIN service=imap secured lip=69.94.137.124\
rip=71.155.185.14
Jun 11 07:52:00 net1 dovecot: auth(default): client out: CONT 1
Jun 11 07:52:00 net1 dovecot: auth(default): client in: CONT 1 \
AGRhdmlkAGZpcmUyM2JyaWNr
Jun 11 07:52:00 net1 dovecot: auth(default): shadow(david,71.155.185.14): lookup
Jun 11 07:52:00 net1 dovecot: auth(default): client out: OK 1 user=david
Jun 11 07:52:00 net1 dovecot: auth(default): master in: REQUEST 1 30912 1
Jun 11 07:52:00 net1 dovecot: auth(default): passwd(david,71.155.185.14): lookup
Jun 11 07:52:00 net1 dovecot: auth(default): master out: USER 1 \
david system_user=david uid=510 gid=506 home=/vhost/davidfavor.com/users/david
Jun 11 07:52:00 net1 dovecot: imap-login: Login: user=<david>, method=PLAIN, \
rip=71.155.185.14, lip=69.94.137.124, TLS
Jun 11 07:52:00 net1 dovecot: IMAP(david): Effective uid=510, gid=506,\
home=/vhost/davidfavor.com/users/david
Jun 11 07:52:00 net1 dovecot: IMAP(david): maildir: \
data=/vhost/davidfavor.com/users/david/Maildir
Jun 11 07:52:00 net1 dovecot: IMAP(david): maildir++: \
root=/vhost/davidfavor.com/users/david/Maildir, index=, control=, \
inbox=/vhost/davidfavor.com/users/david/Maildir
-- Like feeling your best ever, all day, every day? Here's how... Your simple secrets are here - http://RadicalHealth.com
On Mon, 2007-06-11 at 09:59 -0500, David Favor wrote:
Jun 11 07:50:40 net1 dovecot: Dovecot v20070522 starting up ... Immediately click on INBOX or other box and hang occurs... Jun 11 07:52:00 net1 dovecot: auth(default): client in: AUTH \ 1 PLAIN service=imap secured lip=69.94.137.124\ rip=71.155.185.14
Try connecting with:
openssl s_client -connect localhost:993
Does it show the certificate immediately? Does it show "Dovecot ready" immediately?
Set login_processes_count=1 and login_process_per_connection=no. strace/gdb the (only) running imap-login process to see what it's doing while it's hanging.
participants (2)
-
David Favor
-
Timo Sirainen