Greetings.
When dovecot configured to use multiple passdb and static userdb as:
#password database in multiple ldap subtree passdb { driver = ldap args = /usr/local/etc/dovecot/dv-ldap-real.conf } passdb { driver = ldap args = /usr/local/etc/dovecot/dv-ldap-virtual.conf }
userdb { driver = static args = uid=pop gid=mailnull }
all works fine but...
When LDA deliver mail it check passdb but only first appeared in configuration:
18.09.2012 15:00:18 auth: Debug: master in: USER 1 info@zzz.zz service=lda 18.09.2012 15:00:18 auth: Debug: cache(info@zzz.zz): miss 18.09.2012 15:00:18 auth: Debug: ldap(info@zzz.zz): pass search: base=ou=account,ou=it,dc=planar,dc=local scope=subtree filter=(&(objectClass=x-mailUser)(uid=info)) fields=x-mailPassword 18.09.2012 15:00:18 lda: Debug: auth input: 18.09.2012 15:00:18 auth: Debug: cache(info@planar.spb.ru): hit: 18.09.2012 15:00:18 auth: Debug: master out: NOTFOUND 1 1
P.S. dovecot version 2.1.7 sysytem x86 FreeBSD 9.0