On 10/21/2010 06:42 PM, Timo Sirainen wrote:
auth process is hanging or imap-login is connecting to wrong server.

First try deleting everything from Dovecot's base_dir (/var/run/dovecot/
or something).
Deleted everythind under that folder.
Didn't help...

If that doesn't help, show your doveconf -n output.
# 2.0.5: /etc/dovecot/dovecot.conf
doveconf: Warning: service auth { client_limit=4096 } is lower than required under max. load (4896)
# OS: Linux 2.6.18-194.17.1.el5 x86_64 CentOS release 5.5 (Final)
auth_cache_size = 4 k
auth_failure_delay = 5 secs
auth_worker_max_count = 800
base_dir = /var/run/dovecot/
first_valid_gid = 16777216
first_valid_uid = 16777216
info_log_path = /var/log/dovecot/info.log
last_valid_gid = 33554431
last_valid_uid = 33554431
listen = *
log_path = /var/log/dovecot/error.log
mail_fsync = never
mail_location = maildir:%h/Maildir
passdb {
  args = cache_key=%u dovecot
  driver = pam
}
protocols = imap
service auth {
  user = root
  vsz_limit = 1 k
}
service imap-login {
  process_limit = 800
  process_min_avail = 50
  service_count = 1
}
service imap {
  process_limit = 4096
  vsz_limit = 4 k
}
ssl_cert = </etc/pki/dovecot/certs/imap.cert
ssl_key = </etc/pki/dovecot/private/imap.key
userdb {
  args = blocking=yes
  driver = passwd
}
protocol lda {
  postmaster_address = postmas...@myhost.ee
}

Also once started, show "ps aux|grep dovecot" output and "strace -tt
-p `pidof auth`" output for a few seconds.

Strange, but I don't even have dovecot-auth process... :(
When starting, Dovecot gives some warnings, but nothing fatal:

# /etc/init.d/dovecot restart
Stopping Dovecot Imap:                                     [  OK  ]
Starting Dovecot Imap: doveconf: Warning: service auth { client_limit=4096 } is lower than required under max. load (4896) Warning: service auth { client_limit=4096 } is lower than required under max. load (4896)
                                                           [  OK  ]

--
Veiko

Reply via email to