[Dovecot] imap dump-capability fails Dovecot 1.1.6

Thorsten Vollmer thorsten at thvo.de
Fri Oct 31 09:32:03 EET 2008


Hi Timo,

Dovecot fails to start after upgrading from 1.1.4 to 1.1.6:

Fatal: userdb didn't return a home directory, but mail location used it
(%h): %h/mail:CONTROL=%h/control:INDEX=%h/index
Error: imap dump-capability process returned 89
Fatal: Invalid configuration in /etc/dovecot/dovecot.conf

Adding a fake home directory to args in
master-settings.c:get_imap_capability solved the problem for me, but
there may be a more correct fix.

Regards,
Thorsten

# 1.1.6: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.9-023stab048.4-enterprise i686 Gentoo Base System
version 1.6.14 
protocols: imaps
ssl_ca_file: /etc/dovecot/ca.crt
ssl_cert_file: /etc/dovecot/server.crt
ssl_key_file: /etc/dovecot/server.key
ssl_parameters_regenerate: 48
login_dir: /var/run/dovecot/login
login_executable: /usr/libexec/dovecot/imap-login
login_process_size: 32
login_processes_count: 4
login_max_processes_count: 32
max_mail_processes: 32
mail_location: maildir:%h/mail:CONTROL=%h/control:INDEX=%h/index
mail_process_size: 128
mail_plugins: expire antispam
auth default:
  mechanisms: plain login
  user: nobody
  worker_max_count: 8
  process_size: 128
  passdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql.conf
  userdb:
    driver: static
    args: uid=vmail gid=vmail home=/var/userdata/%Lu
  socket:
    type: listen
    client:
      path: /var/run/dovecot/auth-client
      mode: 384
      user: postfix
      group: postfix
    master:
      path: /var/run/dovecot/auth-master
      mode: 384
      user: vmail
      group: vmail
plugin:
  expire: SPAM 30
  expire_dict: proxy:/var/run/dovecot/dict-server:expire
  auth_socket_path: /var/run/dovecot/auth-master
  antispam_dspam_binary: /usr/bin/dspam
  antispam_dspam_args: --user;%Lu
  antispam_signature: X-DSPAM-Signature
  antispam_spam: SPAM
dict:
  expire: mysql:/etc/dovecot/dovecot-dict.conf

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20081031/00412ac3/attachment.bin 


More information about the dovecot mailing list