Echec connexion SMTP XOauth2 Azure
Posté : jeu. 26 janv. 2023 13:21
Bonjour,
Je me retrouve dans l'impossibilité de faire fonctionner le connecteur SMTP Xoauth2 Azure alors que l'IMAP xoauth2 Azure fonctionne parfaitement bien.
procédure suivi point par point, voici le retour log :
2023-01-26 12:19:21 Connection: opening to smtp.office365.com:587, timeout=5, options=array ( 'ssl' => array ( 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true, ),)
2023-01-26 12:19:21 Connection: opened
2023-01-26 12:19:21 SMTP INBOUND: "220 FR3P281CA0098.outlook.office365.com Microsoft ESMTP MAIL Service ready at Thu, 26 Jan 2023 12:19:21 +0000"
2023-01-26 12:19:21 SERVER -> CLIENT: 220 FR3P281CA0098.outlook.office365.com Microsoft ESMTP MAIL Service ready at Thu, 26 Jan 2023 12:19:21 +0000
2023-01-26 12:19:21 CLIENT -> SERVER: EHLO hotline-helpdesk.support.ada.fr
2023-01-26 12:19:21 SMTP INBOUND: "250-FR3P281CA0098.outlook.office365.com Hello [91.121.33.213]"
2023-01-26 12:19:21 SMTP INBOUND: "250-SIZE 157286400"
2023-01-26 12:19:21 SMTP INBOUND: "250-PIPELINING"
2023-01-26 12:19:21 SMTP INBOUND: "250-DSN"
2023-01-26 12:19:21 SMTP INBOUND: "250-ENHANCEDSTATUSCODES"
2023-01-26 12:19:21 SMTP INBOUND: "250-STARTTLS"
2023-01-26 12:19:21 SMTP INBOUND: "250-8BITMIME"
2023-01-26 12:19:21 SMTP INBOUND: "250-BINARYMIME"
2023-01-26 12:19:21 SMTP INBOUND: "250-CHUNKING"
2023-01-26 12:19:21 SMTP INBOUND: "250 SMTPUTF8"
2023-01-26 12:19:21 SERVER -> CLIENT: 250-FR3P281CA0098.outlook.office365.com Hello [91.121.33.213]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-STARTTLS250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8
2023-01-26 12:19:21 CLIENT -> SERVER: STARTTLS
2023-01-26 12:19:21 SMTP INBOUND: "220 2.0.0 SMTP server ready"
2023-01-26 12:19:21 SERVER -> CLIENT: 220 2.0.0 SMTP server ready
2023-01-26 12:19:21 CLIENT -> SERVER: EHLO hotline-helpdesk.support.ada.fr
2023-01-26 12:19:21 SMTP INBOUND: "250-FR3P281CA0098.outlook.office365.com Hello [91.121.33.213]"
2023-01-26 12:19:21 SMTP INBOUND: "250-SIZE 157286400"
2023-01-26 12:19:21 SMTP INBOUND: "250-PIPELINING"
2023-01-26 12:19:21 SMTP INBOUND: "250-DSN"
2023-01-26 12:19:21 SMTP INBOUND: "250-ENHANCEDSTATUSCODES"
2023-01-26 12:19:21 SMTP INBOUND: "250-AUTH LOGIN XOAUTH2"
2023-01-26 12:19:21 SMTP INBOUND: "250-8BITMIME"
2023-01-26 12:19:21 SMTP INBOUND: "250-BINARYMIME"
2023-01-26 12:19:21 SMTP INBOUND: "250-CHUNKING"
2023-01-26 12:19:21 SMTP INBOUND: "250 SMTPUTF8"
2023-01-26 12:19:21 SERVER -> CLIENT: 250-FR3P281CA0098.outlook.office365.com Hello [91.121.33.213]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-AUTH LOGIN XOAUTH2250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8
2023-01-26 12:19:21 Auth method requested: XOAUTH2
2023-01-26 12:19:21 Auth methods available on the server: LOGIN,XOAUTH2
2023-01-26 12:19:21 CLIENT -> SERVER: AUTH XOAUTH2 "SECRETICI"
2023-01-26 12:19:26 SMTP -> get_lines(): select timed-out in (5 sec)
2023-01-26 12:19:26 SERVER -> CLIENT:
2023-01-26 12:19:26 SMTP ERROR: AUTH command failed:
SMTP Error: Could not authenticate.
2023-01-26 12:19:26 CLIENT -> SERVER: QUIT
2023-01-26 12:19:28 SMTP INBOUND: "535 5.7.3 Authentication unsuccessful [FR3P281CA0098.DEUP281.PROD.OUTLOOK.COM 2023-01-26T12:19:28.710Z 08DAFF0E3EB8F3A8]"
2023-01-26 12:19:28 SERVER -> CLIENT: 535 5.7.3 Authentication unsuccessful [FR3P281CA0098.DEUP281.PROD.OUTLOOK.COM 2023-01-26T12:19:28.710Z 08DAFF0E3EB8F3A8]
2023-01-26 12:19:28 SMTP ERROR: QUIT command failed: 535 5.7.3 Authentication unsuccessful [FR3P281CA0098.DEUP281.PROD.OUTLOOK.COM 2023-01-26T12:19:28.710Z 08DAFF0E3EB8F3A8]
2023-01-26 12:19:28 Connection: closed
2023-01-26 12:19:28 Connection: opening to smtp.office365.com:587, timeout=5, options=array()
2023-01-26 12:19:28 Connection: opened
2023-01-26 12:19:28 SMTP INBOUND: "220 FR0P281CA0102.outlook.office365.com Microsoft ESMTP MAIL Service ready at Thu, 26 Jan 2023 12:19:28 +0000"
2023-01-26 12:19:28 SERVER -> CLIENT: 220 FR0P281CA0102.outlook.office365.com Microsoft ESMTP MAIL Service ready at Thu, 26 Jan 2023 12:19:28 +0000
2023-01-26 12:19:28 CLIENT -> SERVER: EHLO hotline-helpdesk.support.ada.fr
2023-01-26 12:19:28 SMTP INBOUND: "250-FR0P281CA0102.outlook.office365.com Hello [91.121.33.213]"
2023-01-26 12:19:28 SMTP INBOUND: "250-SIZE 157286400"
2023-01-26 12:19:28 SMTP INBOUND: "250-PIPELINING"
2023-01-26 12:19:28 SMTP INBOUND: "250-DSN"
2023-01-26 12:19:28 SMTP INBOUND: "250-ENHANCEDSTATUSCODES"
2023-01-26 12:19:28 SMTP INBOUND: "250-STARTTLS"
2023-01-26 12:19:28 SMTP INBOUND: "250-8BITMIME"
2023-01-26 12:19:28 SMTP INBOUND: "250-BINARYMIME"
2023-01-26 12:19:28 SMTP INBOUND: "250-CHUNKING"
2023-01-26 12:19:28 SMTP INBOUND: "250 SMTPUTF8"
2023-01-26 12:19:28 SERVER -> CLIENT: 250-FR0P281CA0102.outlook.office365.com Hello [91.121.33.213]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-STARTTLS250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8
2023-01-26 12:19:28 CLIENT -> SERVER: STARTTLS
2023-01-26 12:19:28 SMTP INBOUND: "220 2.0.0 SMTP server ready"
2023-01-26 12:19:28 SERVER -> CLIENT: 220 2.0.0 SMTP server ready
2023-01-26 12:19:28 CLIENT -> SERVER: EHLO hotline-helpdesk.support.ada.fr
2023-01-26 12:19:28 SMTP INBOUND: "250-FR0P281CA0102.outlook.office365.com Hello [91.121.33.213]"
2023-01-26 12:19:28 SMTP INBOUND: "250-SIZE 157286400"
2023-01-26 12:19:28 SMTP INBOUND: "250-PIPELINING"
2023-01-26 12:19:28 SMTP INBOUND: "250-DSN"
2023-01-26 12:19:28 SMTP INBOUND: "250-ENHANCEDSTATUSCODES"
2023-01-26 12:19:28 SMTP INBOUND: "250-AUTH LOGIN XOAUTH2"
2023-01-26 12:19:28 SMTP INBOUND: "250-8BITMIME"
2023-01-26 12:19:28 SMTP INBOUND: "250-BINARYMIME"
2023-01-26 12:19:28 SMTP INBOUND: "250-CHUNKING"
2023-01-26 12:19:28 SMTP INBOUND: "250 SMTPUTF8"
2023-01-26 12:19:28 SERVER -> CLIENT: 250-FR0P281CA0102.outlook.office365.com Hello [91.121.33.213]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-AUTH LOGIN XOAUTH2250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8
2023-01-26 12:19:28 Auth method requested: XOAUTH2
2023-01-26 12:19:28 Auth methods available on the server: LOGIN,XOAUTH2
2023-01-26 12:19:28 CLIENT -> SERVER: AUTH XOAUTH2 "SECRETICI"
2023-01-26 12:19:33 SMTP -> get_lines(): select timed-out in (5 sec)
2023-01-26 12:19:33 SERVER -> CLIENT:
2023-01-26 12:19:33 SMTP ERROR: AUTH command failed:
SMTP Error: Could not authenticate.
2023-01-26 12:19:33 CLIENT -> SERVER: QUIT
2023-01-26 12:19:35 SMTP INBOUND: "535 5.7.3 Authentication unsuccessful [FR0P281CA0102.DEUP281.PROD.OUTLOOK.COM 2023-01-26T12:19:35.213Z 08DAFEF06252ED65]"
2023-01-26 12:19:35 SERVER -> CLIENT: 535 5.7.3 Authentication unsuccessful [FR0P281CA0102.DEUP281.PROD.OUTLOOK.COM 2023-01-26T12:19:35.213Z 08DAFEF06252ED65]
2023-01-26 12:19:35 SMTP ERROR: QUIT command failed: 535 5.7.3 Authentication unsuccessful [FR0P281CA0102.DEUP281.PROD.OUTLOOK.COM 2023-01-26T12:19:35.213Z 08DAFEF06252ED65]
2023-01-26 12:19:35 Connection: closed
Je me retrouve dans l'impossibilité de faire fonctionner le connecteur SMTP Xoauth2 Azure alors que l'IMAP xoauth2 Azure fonctionne parfaitement bien.
procédure suivi point par point, voici le retour log :
2023-01-26 12:19:21 Connection: opening to smtp.office365.com:587, timeout=5, options=array ( 'ssl' => array ( 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true, ),)
2023-01-26 12:19:21 Connection: opened
2023-01-26 12:19:21 SMTP INBOUND: "220 FR3P281CA0098.outlook.office365.com Microsoft ESMTP MAIL Service ready at Thu, 26 Jan 2023 12:19:21 +0000"
2023-01-26 12:19:21 SERVER -> CLIENT: 220 FR3P281CA0098.outlook.office365.com Microsoft ESMTP MAIL Service ready at Thu, 26 Jan 2023 12:19:21 +0000
2023-01-26 12:19:21 CLIENT -> SERVER: EHLO hotline-helpdesk.support.ada.fr
2023-01-26 12:19:21 SMTP INBOUND: "250-FR3P281CA0098.outlook.office365.com Hello [91.121.33.213]"
2023-01-26 12:19:21 SMTP INBOUND: "250-SIZE 157286400"
2023-01-26 12:19:21 SMTP INBOUND: "250-PIPELINING"
2023-01-26 12:19:21 SMTP INBOUND: "250-DSN"
2023-01-26 12:19:21 SMTP INBOUND: "250-ENHANCEDSTATUSCODES"
2023-01-26 12:19:21 SMTP INBOUND: "250-STARTTLS"
2023-01-26 12:19:21 SMTP INBOUND: "250-8BITMIME"
2023-01-26 12:19:21 SMTP INBOUND: "250-BINARYMIME"
2023-01-26 12:19:21 SMTP INBOUND: "250-CHUNKING"
2023-01-26 12:19:21 SMTP INBOUND: "250 SMTPUTF8"
2023-01-26 12:19:21 SERVER -> CLIENT: 250-FR3P281CA0098.outlook.office365.com Hello [91.121.33.213]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-STARTTLS250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8
2023-01-26 12:19:21 CLIENT -> SERVER: STARTTLS
2023-01-26 12:19:21 SMTP INBOUND: "220 2.0.0 SMTP server ready"
2023-01-26 12:19:21 SERVER -> CLIENT: 220 2.0.0 SMTP server ready
2023-01-26 12:19:21 CLIENT -> SERVER: EHLO hotline-helpdesk.support.ada.fr
2023-01-26 12:19:21 SMTP INBOUND: "250-FR3P281CA0098.outlook.office365.com Hello [91.121.33.213]"
2023-01-26 12:19:21 SMTP INBOUND: "250-SIZE 157286400"
2023-01-26 12:19:21 SMTP INBOUND: "250-PIPELINING"
2023-01-26 12:19:21 SMTP INBOUND: "250-DSN"
2023-01-26 12:19:21 SMTP INBOUND: "250-ENHANCEDSTATUSCODES"
2023-01-26 12:19:21 SMTP INBOUND: "250-AUTH LOGIN XOAUTH2"
2023-01-26 12:19:21 SMTP INBOUND: "250-8BITMIME"
2023-01-26 12:19:21 SMTP INBOUND: "250-BINARYMIME"
2023-01-26 12:19:21 SMTP INBOUND: "250-CHUNKING"
2023-01-26 12:19:21 SMTP INBOUND: "250 SMTPUTF8"
2023-01-26 12:19:21 SERVER -> CLIENT: 250-FR3P281CA0098.outlook.office365.com Hello [91.121.33.213]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-AUTH LOGIN XOAUTH2250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8
2023-01-26 12:19:21 Auth method requested: XOAUTH2
2023-01-26 12:19:21 Auth methods available on the server: LOGIN,XOAUTH2
2023-01-26 12:19:21 CLIENT -> SERVER: AUTH XOAUTH2 "SECRETICI"
2023-01-26 12:19:26 SMTP -> get_lines(): select timed-out in (5 sec)
2023-01-26 12:19:26 SERVER -> CLIENT:
2023-01-26 12:19:26 SMTP ERROR: AUTH command failed:
SMTP Error: Could not authenticate.
2023-01-26 12:19:26 CLIENT -> SERVER: QUIT
2023-01-26 12:19:28 SMTP INBOUND: "535 5.7.3 Authentication unsuccessful [FR3P281CA0098.DEUP281.PROD.OUTLOOK.COM 2023-01-26T12:19:28.710Z 08DAFF0E3EB8F3A8]"
2023-01-26 12:19:28 SERVER -> CLIENT: 535 5.7.3 Authentication unsuccessful [FR3P281CA0098.DEUP281.PROD.OUTLOOK.COM 2023-01-26T12:19:28.710Z 08DAFF0E3EB8F3A8]
2023-01-26 12:19:28 SMTP ERROR: QUIT command failed: 535 5.7.3 Authentication unsuccessful [FR3P281CA0098.DEUP281.PROD.OUTLOOK.COM 2023-01-26T12:19:28.710Z 08DAFF0E3EB8F3A8]
2023-01-26 12:19:28 Connection: closed
2023-01-26 12:19:28 Connection: opening to smtp.office365.com:587, timeout=5, options=array()
2023-01-26 12:19:28 Connection: opened
2023-01-26 12:19:28 SMTP INBOUND: "220 FR0P281CA0102.outlook.office365.com Microsoft ESMTP MAIL Service ready at Thu, 26 Jan 2023 12:19:28 +0000"
2023-01-26 12:19:28 SERVER -> CLIENT: 220 FR0P281CA0102.outlook.office365.com Microsoft ESMTP MAIL Service ready at Thu, 26 Jan 2023 12:19:28 +0000
2023-01-26 12:19:28 CLIENT -> SERVER: EHLO hotline-helpdesk.support.ada.fr
2023-01-26 12:19:28 SMTP INBOUND: "250-FR0P281CA0102.outlook.office365.com Hello [91.121.33.213]"
2023-01-26 12:19:28 SMTP INBOUND: "250-SIZE 157286400"
2023-01-26 12:19:28 SMTP INBOUND: "250-PIPELINING"
2023-01-26 12:19:28 SMTP INBOUND: "250-DSN"
2023-01-26 12:19:28 SMTP INBOUND: "250-ENHANCEDSTATUSCODES"
2023-01-26 12:19:28 SMTP INBOUND: "250-STARTTLS"
2023-01-26 12:19:28 SMTP INBOUND: "250-8BITMIME"
2023-01-26 12:19:28 SMTP INBOUND: "250-BINARYMIME"
2023-01-26 12:19:28 SMTP INBOUND: "250-CHUNKING"
2023-01-26 12:19:28 SMTP INBOUND: "250 SMTPUTF8"
2023-01-26 12:19:28 SERVER -> CLIENT: 250-FR0P281CA0102.outlook.office365.com Hello [91.121.33.213]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-STARTTLS250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8
2023-01-26 12:19:28 CLIENT -> SERVER: STARTTLS
2023-01-26 12:19:28 SMTP INBOUND: "220 2.0.0 SMTP server ready"
2023-01-26 12:19:28 SERVER -> CLIENT: 220 2.0.0 SMTP server ready
2023-01-26 12:19:28 CLIENT -> SERVER: EHLO hotline-helpdesk.support.ada.fr
2023-01-26 12:19:28 SMTP INBOUND: "250-FR0P281CA0102.outlook.office365.com Hello [91.121.33.213]"
2023-01-26 12:19:28 SMTP INBOUND: "250-SIZE 157286400"
2023-01-26 12:19:28 SMTP INBOUND: "250-PIPELINING"
2023-01-26 12:19:28 SMTP INBOUND: "250-DSN"
2023-01-26 12:19:28 SMTP INBOUND: "250-ENHANCEDSTATUSCODES"
2023-01-26 12:19:28 SMTP INBOUND: "250-AUTH LOGIN XOAUTH2"
2023-01-26 12:19:28 SMTP INBOUND: "250-8BITMIME"
2023-01-26 12:19:28 SMTP INBOUND: "250-BINARYMIME"
2023-01-26 12:19:28 SMTP INBOUND: "250-CHUNKING"
2023-01-26 12:19:28 SMTP INBOUND: "250 SMTPUTF8"
2023-01-26 12:19:28 SERVER -> CLIENT: 250-FR0P281CA0102.outlook.office365.com Hello [91.121.33.213]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-AUTH LOGIN XOAUTH2250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8
2023-01-26 12:19:28 Auth method requested: XOAUTH2
2023-01-26 12:19:28 Auth methods available on the server: LOGIN,XOAUTH2
2023-01-26 12:19:28 CLIENT -> SERVER: AUTH XOAUTH2 "SECRETICI"
2023-01-26 12:19:33 SMTP -> get_lines(): select timed-out in (5 sec)
2023-01-26 12:19:33 SERVER -> CLIENT:
2023-01-26 12:19:33 SMTP ERROR: AUTH command failed:
SMTP Error: Could not authenticate.
2023-01-26 12:19:33 CLIENT -> SERVER: QUIT
2023-01-26 12:19:35 SMTP INBOUND: "535 5.7.3 Authentication unsuccessful [FR0P281CA0102.DEUP281.PROD.OUTLOOK.COM 2023-01-26T12:19:35.213Z 08DAFEF06252ED65]"
2023-01-26 12:19:35 SERVER -> CLIENT: 535 5.7.3 Authentication unsuccessful [FR0P281CA0102.DEUP281.PROD.OUTLOOK.COM 2023-01-26T12:19:35.213Z 08DAFEF06252ED65]
2023-01-26 12:19:35 SMTP ERROR: QUIT command failed: 535 5.7.3 Authentication unsuccessful [FR0P281CA0102.DEUP281.PROD.OUTLOOK.COM 2023-01-26T12:19:35.213Z 08DAFEF06252ED65]
2023-01-26 12:19:35 Connection: closed