[Dovecot] authentication process fails when starting 2nd dovecot

Cipriano Groenendal - TransIP cipri at transip.nl
Mon Mar 26 14:59:03 EEST 2007


Hello,

With dovecot running already, (accidently) starting another dovecot seems to
break the authentication process of the first dovecot. Login will be
impossible untill dovecot is restarted.


# dovecot
Fatal: listen(143) failed: Address already in use

## Wait several seconds.

# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK Dovecot ready.
0: logout
* OK Waiting for authentication process to respond..
0: logout
* OK Waiting for authentication process to respond..

--
Also, in the logfiles the following entries will appear:
--
Mar 26 12:11:21 virt6 dovecot: pop3-login: No authentication sockets found
Mar 26 12:11:21 virt6 dovecot: child 38054 (login) returned error 89
Mar 26 12:11:23 virt6 dovecot: imap-login: No authentication sockets found
Mar 26 12:11:23 virt6 dovecot: child 38058 (login) returned error 89
--


Running dovecot-1.0.r22 on FreeBSD 6.2-STABLE, amd64 architecture. Standaard
FreeBSD UFS fs.
-- dovecot config --
# /usr/local/etc/dovecot.conf
protocols: imap pop3
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/local/libexec/dovecot/imap-login
login_executable(imap): /usr/local/libexec/dovecot/imap-login
login_executable(pop3): /usr/local/libexec/dovecot/pop3-login
verbose_proctitle: yes
first_valid_gid: 0
mail_extra_groups: mail
mail_location: mbox:~/mail:INBOX=/var/mail/%u
mail_executable(default): /usr/local/libexec/dovecot/imap
mail_executable(imap): /usr/local/libexec/dovecot/imap
mail_executable(pop3): /usr/local/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/local/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3
imap_client_workarounds(default): delay-newmail outlook-idle netscape-eoh
tb-extra-mailbox-sep
imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh
tb-extra-mailbox-sep
imap_client_workarounds(pop3): outlook-idle
pop3_uidl_format(default):
pop3_uidl_format(imap):
pop3_uidl_format(pop3): %08Xu%08Xv
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
namespace:
  type: private
  separator: /
  prefix: #mbox/
  location: mbox:~/mail:INBOX=/var/mail/%u
  inbox: yes
  hidden: yes
namespace:
  type: private
  separator: /
  location: maildir:~/Maildir
auth default:
  passdb:
    driver: pam
  userdb:
    driver: passwd
------

Met vriendelijke groet,
Cipriano Groenendal
-- 
  Transip BV | http://www.transip.nl/
  Hoogwaardige Innovatie | Aangename Zekerheid



More information about the dovecot mailing list