Just to be clear my goal is to have multiple domains on multiple addresses but use one dovecot instance and to let users logging without @domain part.
On Sun, Apr 7, 2013 at 11:51 PM, Pavel Dimow <[email protected]> wrote: > 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 <[email protected]> wrote: > >> On 7.4.2013, at 23.51, Pavel Dimow <[email protected]> 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). >> >> >
