Doveadm on virtual users. Auth works but user don't
Hello All. I stumbled in a strange problem.
I have some users stored in LDAP directory. They have uid in name.surname form and multiple mail attributes in the form of arbitraty@domain-n.it The Auth process works with virtual users on passdb (I can log with arbitraty@domain-1.it and arbitraty@domain-2.it) The usedb lookup works perfectly, and dovecot correctly creates the mailboxes in the form /home/domain/name.surname/arbitraty@domain-1.it/Maildir and /home/domain/name.surname/arbitraty@domain-2.it/Maildir The doveadm auth login arbitraty@domain-1.it command perfectly works, allowing the login to name.surname and the userdb lookup with the correct parameters. The doveadm user and the doveadm backup commands return "arbitraty@domain-1.it" not found I need it to migrate from an old cyrus imap to the new server
Do someone have any idea? Thank you very much. (dovecot 2.3.19.1)
Example: case 1: doveadm auth login "carlo.mor@sybill.it" Password: passdb: carlo.mor@sybill.it auth succeeded extra fields: user=carlo.mor
original_user=carlo.mor@sybill.it userdb extra fields: carlo.mor uid=1001 gid=3001 home=/home/domain/carlo.mor/carlo.mor@sybill.it auth_mech=PLAIN auth_user=carlo.mor@sybill.it
doveadm user "carlo.mor@sybill.it"
userdb lookup: user carlo.mor@sybill.it doesn't exist field value
participants (1)
-
jenawork@iol.it