On 15.8.2013, at 20.23, [email protected] wrote:
> dovecot: imap(username): Error: user username: Initialization failed:
> Initializing mail storage from mail_location setting failed: imapc: missing
> imapc_password
..
> passdb {
> args = /etc/dovecot/dovecot-ldap.conf
> default_fields = userdb_imapc_user=%u userdb_imapc_password=%w
> driver = ldap
> }
Here you are setting the userdb_* fields, which work only with userdb prefetch.
> userdb {
> args = username_format=%n /etc/dovecot/passwd
> driver = passwd
> }
> userdb {
> args = /etc/dovecot/dovecot-ldap.conf
> driver = ldap
> }
But you're not using userdb prefetch.