> On 10/09/2021 13:19 Bernhard M. Wiedemann <[email protected]> wrote: > > > On 10/09/2021 11.43, Aki Tuomi wrote: > >> https://www.zq1.de/~bernhard/temp/dovecot/ has some sysreports. > > > > It seems you are normalizing SQL usernames by doing SELECT username, but > > you are not doing it for LDAP. > > > > See if the problem goes away with > > > > pass_attrs = uid=username > > I added it to > /etc/dovecot/dovecot-ldap.conf.ext > but it did not help. > I guess, because we map usernames "bwiedemann@foo" that are in sql, but > ldap only has the plain usernames.
For director to work correctly, your usernames *must* map to same. The redirection is calculated by the full user, so if you bwiedemann and bwiedemann@foo, these two may end up in different backends. Aki
