[Dovecot] (v1.1.6) Fatal: userdb didn't return a home directory, but mail location used it (%h)
Thorsten Vollmer
thorsten at thvo.de
Thu Nov 6 11:54:25 EET 2008
On Thu, 2008-11-06 at 17:24 +0800, Zhang Huangbin wrote:
> Hi, all.
>
> I upgrade to 1.1.6, but the same config didn't work now.
>
> Error message while start dovecot:
>
> ----<----
> Starting Dovecot Imap: Fatal: userdb didn't return a home directory, but
> mail location used it (%h): /%Lh/%Ld/%Ln/:INDEX=/%Lh/%Ld/%Ln/
> Error: imap dump-capability process returned 89
> Fatal: Invalid configuration in /etc/dovecot.conf
> ----<----
This error has been corrected:
http://hg.dovecot.org/dovecot-1.1/rev/2fbd36039526
http://hg.dovecot.org/dovecot-1.1/rev/cbde69815b8a
On Fri, 2008-10-31 at 18:07 +0200, Timo Sirainen wrote:
> One workaround is to use ~ instead of %h. It'll log errors, but it still
> works.
> Here is my dovecot.conf file and dovecot-ldap.conf:
> ----<----
> # dovecot -n
> # 1.1.6: /etc/dovecot.conf
> # OS: Linux 2.6.18-92.el5 x86_64 Red Hat Enterprise Linux Server release
> 5.2 (Tikanga)
> log_path: /var/log/dovecot.log
> protocols: pop3 pop3s imap imaps
> listen: *
> ssl_cert_file: /etc/pki/iRedMail/SSL_Cert.pem
> ssl_key_file: /etc/pki/iRedMail/SSL_Key.pem
> login_dir: /var/run/dovecot/login
> login_executable(default): /usr/libexec/dovecot/imap-login
> login_executable(imap): /usr/libexec/dovecot/imap-login
> login_executable(pop3): /usr/libexec/dovecot/pop3-login
> mail_uid: 2000
> mail_gid: 2000
> mail_location: maildir:/%Lh/%Ld/%Ln/:INDEX=/%Lh/%Ld/%Ln/
> mail_debug: yes
> mail_executable(default): /usr/libexec/dovecot/imap
> mail_executable(imap): /usr/libexec/dovecot/imap
> mail_executable(pop3): /usr/libexec/dovecot/pop3
> mail_plugins(default): quota imap_quota zlib
> mail_plugins(imap): quota imap_quota zlib
> mail_plugins(pop3): quota zlib
> mail_plugin_dir(default): /usr/lib64/dovecot/imap
> mail_plugin_dir(imap): /usr/lib64/dovecot/imap
> mail_plugin_dir(pop3): /usr/lib64/dovecot/pop3
> pop3_client_workarounds(default):
> pop3_client_workarounds(imap):
> pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
> auth default:
> mechanisms: plain login
> default_realm: a.cn
> user: vmail
> passdb:
> driver: ldap
> args: /etc/dovecot-ldap.conf
> userdb:
> driver: ldap
> args: /etc/dovecot-ldap.conf
> socket:
> type: listen
> client:
> path: /var/spool/postfix/dovecot-auth
> mode: 438
> user: postfix
> group: postfix
> master:
> path: /var/run/dovecot/auth-master
> mode: 438
> user: vmail
> group: vmail
> plugin:
> quota: maildir
> quota_rule: *:storage=10M
> expire: Trash 7 Trash/* 7 Junk 30
> expire_dict: proxy::expire
> auth_socket_path: /var/run/dovecot/auth-master
> sieve: /var/www/sieve/%Ld/%Ln/.dovecot.sieve
> dict:
> expire: db:/var/lib/dovecot/expire/expire.db
> ----<----
>
> dovecot-ldap.conf
> ----<----
> hosts = 127.0.0.1:389
> ldap_version = 3
> auth_bind = yes
> dn = cn=vmail,dc=iredmail,dc=org
> dnpass = 2888$11175 at 27748!29315&29049*31446)15524
> base = domainName=%d,o=domains,dc=iredmail,dc=org
> scope = subtree
> deref = never
> user_filter = (&(mail=%u)(objectClass=mailUser)(accountStatus=active))
> pass_filter = (mail=%u)
> pass_attrs = userPassword=password
> default_pass_scheme = CRYPT
> user_attrs =
> homeDirectory=home,=sieve_dir=/var/www/sieve/%Ld/%Ln/,mailMessageStore=maildir:mail,mailQuota=quota_rule=*:bytes=%$
> ----<----
-------------- 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/20081106/0726213c/attachment.bin
More information about the dovecot
mailing list