Z-PUSH Can not authenticate to IMAP server

Bonjour,

Suite à l’achat d’un nouveau téléphone portable, je n’ai plus la possibilité de synchroniser mes contacts avec caldav et cardav.
Pour accéder à mes contacts, j’ai installé Yunohost pour synchroniser mes emails (IMAP/SMTP) et Calendar/Contact (CardDav et CalDav).

Les informations sur le serveur :
YunoHost : 4.2.8.3 (stable)
z-push : 2.6.1~ynh3
Baikal : 0.7.1~ynh2

Quand je réalise un test avec Outlook, je rencontre un message d’erreur.
« Connexion au serveur de courrier Exchange ActiveSync (EAS): Serveur introuvable »

Dans les logs du serveur, je vois ces messages d’erreur.
/etc/log/mail.info
Sep 20 11:16:28 domain dovecot: imap(user)<26907>: Connection closed (UID SEARCH finished 0.020 secs ago) in=119 out=1382 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 20 11:19:29 domain dovecot: imap-login: Aborted login (auth failed, 1 attempts in 2 secs): user=user@domain.fr, method=PLAIN, rip=::1, lip=::1, TLS, session=<7TMax2nMgOMAAAAAAAAAAAAAAAAAAAAB>

/var/log/z-push/autodiscover-error.log
20/09/2021 11:24:10 [26966] [WARN] [#unknown] /var/www/z-push/backend/imap/imap.php:127 imap_open(): Couldn’t open stream {localhost:993/imap/ssl/novalidate-cert} (2)
20/09/2021 11:24:10 [26966] [ERROR] [#unknown] BackendIMAP->Logon(): can’t connect as user user@domain.fr’ on ‘{localhost:993/imap/ssl/novalidate-cert}’: Can not authenticate to IMAP server: [AUTHENTICATIONFAILED] Authentication failed.
20/09/2021 11:24:10 [26966] [FATAL] [#unknown] Exception: (AuthenticationRequiredException) - Access denied. Username or password incorrect.
20/09/2021 11:24:10 [26966] [WARN] [#unknown] Unknown:0 Unknown: Can not authenticate to IMAP server: [AUTHENTICATIONFAILED] Authentication failed. (errflg=2) (8)

Est-ce que vous pouvez des pistes d’analyses pour corriger le problème d’authentification.

Merci d’avance.

Jérémy


Hello,

Following the purchase of a new mobile phone, I no longer have the possibility to synchronize my contacts with caldav and cardav.
To access my contacts, I installed Yunohost to sync my emails (IMAP/SMTP) and Calendar/Contact (CardDav and CalDav).

The application installed :
YunoHost : 4.2.8.3 (stable)
z-push : 2.6.1~ynh3
Baikal : 0.7.1~ynh2

When I perform a test with Outlook, I encounter an error message.
«Connecting to the Exchange ActiveSync (EAS) mail server: Server not found»

Below all logs concerning nginx and z-push:
/etc/log/mail.info
Sep 20 11:16:28 domain dovecot: imap(user)<26907>: Connection closed (UID SEARCH finished 0.020 secs ago) in=119 out=1382 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0

Sep 20 11:19:29 domain dovecot: imap-login: Aborted login (auth failed, 1 attempts in 2 secs): user=user@domain.fr, method=PLAIN, rip=::1, lip=::1, TLS, session=<7TMax2nMgOMAAAAAAAAAAAAAAAAAAAAB>

/var/log/z-push/autodiscover-error.log
20/09/2021 11:24:10 [26966] [WARN] [#unknown] /var/www/z-push/backend/imap/imap.php:127 imap_open(): Couldn’t open stream {localhost:993/imap/ssl/novalidate-cert} (2)

20/09/2021 11:24:10 [26966] [ERROR] [#unknown] BackendIMAP->Logon(): can’t connect as user user@domain.fr’ on ‘{localhost:993/imap/ssl/novalidate-cert}’: Can not authenticate to IMAP server: [AUTHENTICATIONFAILED] Authentication failed.

20/09/2021 11:24:10 [26966] [FATAL] [#unknown] Exception: (AuthenticationRequiredException) - Access denied. Username or password incorrect.

20/09/2021 11:24:10 [26966] [WARN] [#unknown] Unknown:0 Unknown: Can not authenticate to IMAP server: [AUTHENTICATIONFAILED] Authentication failed. (errflg=2) (8)

Please help me :slight_smile:

jeremy

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.