Thank you Timo, can you please correct me if I am wrong, but this means that only way to have one dovecot server authenticating users from ldap without domain part is to use %l in ldap query? That imply to have tree like ou=people,o=x.x.x.x.o=mail,dc=acme,dc=com Or there is a better way to do it?
On Sun, Apr 7, 2013 at 11:26 PM, Timo Sirainen <t...@iki.fi> wrote: > On 7.4.2013, at 23.51, Pavel Dimow <paveldi...@gmail.com> wrote: > > > I am trying to use separate configurations for ldap authentication thus > > providing users > > with the ability to only use username without domain part. Now according > to > > documentation this should be possible > > http://wiki2.dovecot.org/AuthDatabase/PasswdFile > > > > but I keep getting error in my dovecot.log like this > > > > auth: Error: Can't open configuration file > > /etc/dovecot/%l/dovecot-ldap.conf: No such file or directory > > > > Why does dovecot does not expand %l to local ip address? > > That expansion works only with passwd-file, not with anything else (such > as ldap). > >