[Dovecot] can't chroot "auth process" (dovecot-1.0-test68)

John Wong johnw.mail at gmail.com
Tue Apr 26 16:42:07 EEST 2005


OS: OpenBSD/i386
dovecot: dovecot-1.0-test68

dovecot can not start, when i chroot "auth process"
can i defined the "auth-work.XXX" unix socket path??

mail.log
-----------------------------------------
Dovecot v1.0-test68 starting up
auth(default): mysql: Connected to (null) (mail)
Auth process died too early - shutting down
auth(default): net_connect_unix(/var/dovecot//auth-work.12922) failed:
No such file or directory
child 12922 (auth) returned error 89
-----------------------------------------


dovecot.conf
-----------------------------------------
base_dir = /var/dovecot/
protocols = imap imaps pop3 pop3s
ssl_cert_file = /etc/ssl/certs/mail.crt
ssl_key_file = /etc/ssl/private/mail.key
ssl_parameters_file = /var/dovecot/ssl-parameters.dat
disable_plaintext_auth = no
login_dir = /var/dovecot/login
login_user = _dovecot
login_processes_count = 1
valid_chroot_dirs = /var/spool/postfix/var/mail
mail_debug = yes
default_mail_env = maildir:%h
mmap_no_write = yes
protocol imap {
}
protocol pop3 {
}
auth_verbose = yes
auth_debug = yes
auth default {
  mechanisms = plain
  passdb sql {
    args = /etc/dovecot-sql.conf
  }
  userdb static {
    args = uid=32765 gid=32765 home=/var/spool/postfix/var/mail/%u/./
  }
  user = _dovecot-auth
  chroot = /var/spool/postfix
}
-----------------------------------------------------------



More information about the dovecot mailing list