Bonjour,
J’essaye d’installer mon propre serveur de courriel, en utilisant postfixadmin, dovecot et postfix.
En mode debug, j’ai les messages de log suivants lorsque je tente de me connecter sur le serveur imap :
> Dec 4 00:10:28 maison dovecot: auth: Debug: Loading modules from directory: /usr/lib/dovecot/modules/auth
> Dec 4 00:10:28 maison dovecot: auth: Debug: Module loaded: /usr/lib/dovecot/modules/auth/lib20_auth_var_expand_crypt.so
> Dec 4 00:10:28 maison dovecot: auth: Debug: Module loaded: /usr/lib/dovecot/modules/auth/libdriver_mysql.so
> Dec 4 00:10:28 maison dovecot: auth: Debug: Read auth token secret from /var/run/dovecot//auth-token-secret.dat
> Dec 4 00:10:28 maison dovecot: auth: Debug: auth client connected (pid=0)
> Dec 4 00:10:28 maison dovecot: auth: Debug: client in: AUTH#0111#011PLAIN#011service=imap#011resp=anonymisé (previous base64 data may contain sensitive data)
> Dec 4 00:10:28 maison dovecot: auth-worker(22882): Debug: Loading modules from directory: /usr/lib/dovecot/modules/auth
> Dec 4 00:10:28 maison dovecot: auth-worker(22882): Debug: Module loaded: /usr/lib/dovecot/modules/auth/lib20_auth_var_expand_crypt.so
> Dec 4 00:10:28 maison dovecot: auth-worker(22882): Debug: Module loaded: /usr/lib/dovecot/modules/auth/libdriver_mysql.so
> Dec 4 00:10:28 maison dovecot: auth-worker(22882): Debug: sql(anonymisé@anonymisé): query: SELECT username AS user, password, '/var/vmail/domaine.anonymisé/utilisateur' as userdb_home, '/var/vmail/domaine.anonymisé/utilisateur' as userdb_mail, 500 as userdb_uid, 8 as userdb_gid FROM mailbox WHERE username = 'anonymisé@anonymisé' AND active = '1'
> Dec 4 00:10:28 maison dovecot: auth-worker(22882): sql(anonymisé@anonymisé): Password mismatch (given password: ---)
> Dec 4 00:10:28 maison dovecot: auth-worker(22882): Debug: sql(anonymisé@anonymisé): MD5-CRYPT(---) != '---'
> Dec 4 00:10:30 maison dovecot: auth: Debug: client passdb out: FAIL#0111#011user=anonymisé@anonymisé
Manifestement, dovecot n’arrive pas à se connecter sur mariadb.
Je sèche sur le moyen de dépanner cela. Comment faire ?
Merci d’avance.