Le 11/11/2021 à 21:31, Erwan David a écrit :
Hello
I am trying to move authentication from ldap to passwdfile. Autentication works, but clients do not find the mails.
With ldap I have :
root@email:~ # doveadm auth login erwan xxxxx passdb: erwan auth succeeded extra fields: user=erwan userdb extra fields: erwan home=/var/db/mailboxes/erwan /var/db/mailboxes/erwan=/var/db/mailboxes/erwan uid=587 gid=587 auth_mech=PLAIN
With passwdfile I get
root@email:~ # doveadm auth login erwan xxxxx passdb: erwan auth succeeded extra fields: user=erwan userdb extra fields: erwan home=/var/db/mailboxes/erwan,uid=587,gid=587 uid=587 gid=587 auth_mech=PLAIN
The only difference is this "/var/db/mailboxes/erwan=/var/db/mailboxes/erwan" (which is the place where email is stored).
There is an obvious other difference in the home field... Sorry I only saw it when reading again my email...