Closed FlashIvano closed 5 months ago
Thanks for the report. Please could you provide the docker compose log with the proxy in debug mode?
debug log:
email-oauth2-proxy | 2024-03-14 09:00:10,911: New incoming connection to IMAP server at [::]:143 (unsecured) proxying partner.outlook.cn:993 (SSL/TLS)
email-oauth2-proxy | 2024-03-14 09:00:10,911: Accepting new connection from [::ffff:10.6.4.54]:50607 to IMAP server at [::]:143 (unsecured) proxying partner.outlook.cn:993 (SSL/TLS)
email-oauth2-proxy | 2024-03-14 09:00:10,958: IMAP ([::ffff:10.6.4.54]:50607-{[::ffff:10.6.61.31]:143}-partner.outlook.cn:993) --> [ Client connected ]
email-oauth2-proxy | 2024-03-14 09:00:10,972: IMAP ([::ffff:10.6.4.54]:50607-{[::ffff:10.6.61.31]:143}-partner.outlook.cn:993) <-> [ Starting TLS handshake ]
email-oauth2-proxy | 2024-03-14 09:00:11,038: IMAP ([::ffff:10.6.4.54]:50607-{[::ffff:10.6.61.31]:143}-partner.outlook.cn:993) <-> [ TLSv1.2 handshake complete ]
email-oauth2-proxy | 2024-03-14 09:00:11,068: IMAP ([::ffff:10.6.4.54]:50607-{[::ffff:10.6.61.31]:143}-partner.outlook.cn:993) <-- b'* OK The Microsoft Exchange IMAP4 service is ready. [QgBKAFgAUABSADAAMQBDAEEAMAAwADYAMwAuAEMASABOAFAAUgAwADEALgBwAHIAbwBkAC4AcABhAHIAdABuAGUAcgAuAG8AdQB0AGwAbwBvAGsALgBjAG4A]\r\n'
email-oauth2-proxy | 2024-03-14 09:00:11,068: IMAP ([::ffff:10.6.4.54]:50607-{[::ffff:10.6.61.31]:143}-partner.outlook.cn:993) <-- b'* OK The Microsoft Exchange IMAP4 service is ready. [QgBKAFgAUABSADAAMQBDAEEAMAAwADYAMwAuAEMASABOAFAAUgAwADEALgBwAHIAbwBkAC4AcABhAHIAdABuAGUAcgAuAG8AdQB0AGwAbwBvAGsALgBjAG4A]\r\n'
email-oauth2-proxy | 2024-03-14 09:00:11,405: IMAP ([::ffff:10.6.4.54]:50607-{[::ffff:10.6.61.31]:143}-partner.outlook.cn:993) --> b'C1 LOGIN [[ Credentials removed from proxy log ]]\r\n'
email-oauth2-proxy | 2024-03-14 09:00:11,829: IMAP ([::ffff:10.6.4.54]:50607-{[::ffff:10.6.61.31]:143}-partner.outlook.cn:993) --> b'C1 AUTHENTICATE XOAUTH2 '
email-oauth2-proxy | 2024-03-14 09:00:11,829: IMAP ([::ffff:10.6.4.54]:50607-{[::ffff:10.6.61.31]:143}-partner.outlook.cn:993) --> b'[[ Credentials removed from proxy log ]]\r\n'
email-oauth2-proxy | 2024-03-14 09:00:12,266: IMAP ([::ffff:10.6.4.54]:50607-{[::ffff:10.6.61.31]:143}-partner.outlook.cn:993; <<MYUSERNAME>>@<<MYDOMAIN>>) <-- b'C1 NO AUTHENTICATE failed.\r\n'
email-oauth2-proxy | 2024-03-14 09:00:12,266: IMAP ([::ffff:10.6.4.54]:50607-{[::ffff:10.6.61.31]:143}-partner.outlook.cn:993; <<MYUSERNAME>>@<<MYDOMAIN>>) <-- b'C1 NO AUTHENTICATE failed.\r\n'
email-oauth2-proxy | 2024-03-14 09:00:12,266: IMAP ([::ffff:10.6.4.54]:50607-{[::ffff:10.6.61.31]:143}-partner.outlook.cn:993) <-- [ Server disconnected ]
email-oauth2-proxy | 2024-03-14 09:00:12,266: IMAP ([::ffff:10.6.4.54]:50607-{[::ffff:10.6.61.31]:143}-partner.outlook.cn:993; <<MYUSERNAME>>@<<MYDOMAIN>>) --> [ Client disconnected ]
email-oauth2-proxy | 2024-03-14 08:59:08: Initialising Email OAuth 2.0 Proxy (version 2024-02-20) in debug mode from config file /config/emailproxy.config
email-oauth2-proxy | 2024-03-14 08:59:08: Starting IMAP server at [::]:143 (unsecured) proxying partner.outlook.cn:993 (SSL/TLS)
email-oauth2-proxy | 2024-03-14 08:59:08: Starting POP server at [::]:110 (unsecured) proxying partner.outlook.cn:995 (SSL/TLS)
email-oauth2-proxy | 2024-03-14 08:59:08: Starting SMTP server at [::]:25 (unsecured) proxying smtp.partner.outlook.cn:587 (STARTTLS)
email-oauth2-proxy | 2024-03-14 08:59:08: Initialised Email OAuth 2.0 Proxy - listening for authentication requests. Connect your email client to begin
email-oauth2-proxy | 2024-03-14 09:00:10: New incoming connection to IMAP server at [::]:143 (unsecured) proxying partner.outlook.cn:993 (SSL/TLS)
email-oauth2-proxy | 2024-03-14 09:00:10: Accepting new connection from [::ffff:10.6.4.54]:50607 to IMAP server at [::]:143 (unsecured) proxying partner.outlook.cn:993 (SSL/TLS)
email-oauth2-proxy | 2024-03-14 09:00:10: IMAP ([::ffff:10.6.4.54]:50607-{[::ffff:10.6.61.31]:143}-partner.outlook.cn:993) --> [ Client connected ]
email-oauth2-proxy | 2024-03-14 09:00:10: IMAP ([::ffff:10.6.4.54]:50607-{[::ffff:10.6.61.31]:143}-partner.outlook.cn:993) <-> [ Starting TLS handshake ]
email-oauth2-proxy | 2024-03-14 09:00:11: IMAP ([::ffff:10.6.4.54]:50607-{[::ffff:10.6.61.31]:143}-partner.outlook.cn:993) <-> [ TLSv1.2 handshake complete ]
email-oauth2-proxy | 2024-03-14 09:00:11: IMAP ([::ffff:10.6.4.54]:50607-{[::ffff:10.6.61.31]:143}-partner.outlook.cn:993) <-- b'* OK The Microsoft Exchange IMAP4 service is ready. [QgBKAFgAUABSADAAMQBDAEEAMAAwADYAMwAuAEMASABOAFAAUgAwADEALgBwAHIAbwBkAC4AcABhAHIAdABuAGUAcgAuAG8AdQB0AGwAbwBvAGsALgBjAG4A]\r\n'
email-oauth2-proxy | 2024-03-14 09:00:11: IMAP ([::ffff:10.6.4.54]:50607-{[::ffff:10.6.61.31]:143}-partner.outlook.cn:993) <-- b'* OK The Microsoft Exchange IMAP4 service is ready. [QgBKAFgAUABSADAAMQBDAEEAMAAwADYAMwAuAEMASABOAFAAUgAwADEALgBwAHIAbwBkAC4AcABhAHIAdABuAGUAcgAuAG8AdQB0AGwAbwBvAGsALgBjAG4A]\r\n'
email-oauth2-proxy | 2024-03-14 09:00:11: IMAP ([::ffff:10.6.4.54]:50607-{[::ffff:10.6.61.31]:143}-partner.outlook.cn:993) --> b'C1 LOGIN [[ Credentials removed from proxy log ]]\r\n'
email-oauth2-proxy | 2024-03-14 09:00:11: IMAP ([::ffff:10.6.4.54]:50607-{[::ffff:10.6.61.31]:143}-partner.outlook.cn:993) --> b'C1 AUTHENTICATE XOAUTH2 '
email-oauth2-proxy | 2024-03-14 09:00:11: IMAP ([::ffff:10.6.4.54]:50607-{[::ffff:10.6.61.31]:143}-partner.outlook.cn:993) --> b'[[ Credentials removed from proxy log ]]\r\n'
email-oauth2-proxy | 2024-03-14 09:00:12: IMAP ([::ffff:10.6.4.54]:50607-{[::ffff:10.6.61.31]:143}-partner.outlook.cn:993; <<MYUSERNAME>>@<<MYDOMAIN>>) <-- b'C1 NO AUTHENTICATE failed.\r\n'
email-oauth2-proxy | 2024-03-14 09:00:12: IMAP ([::ffff:10.6.4.54]:50607-{[::ffff:10.6.61.31]:143}-partner.outlook.cn:993; <<MYUSERNAME>>@<<MYDOMAIN>>) <-- b'C1 NO AUTHENTICATE failed.\r\n'
email-oauth2-proxy | 2024-03-14 09:00:12: IMAP ([::ffff:10.6.4.54]:50607-{[::ffff:10.6.61.31]:143}-partner.outlook.cn:993) <-- [ Server disconnected ]
email-oauth2-proxy | 2024-03-14 09:00:12: IMAP ([::ffff:10.6.4.54]:50607-{[::ffff:10.6.61.31]:143}-partner.outlook.cn:993; <<MYUSERNAME>>@<<MYDOMAIN>>) --> [ Client disconnected ]
email-oauth2-proxy | 2024-03-14 09:00:16: New incoming connection to SMTP server at [::]:25 (unsecured) proxying smtp.partner.outlook.cn:587 (STARTTLS)
email-oauth2-proxy | 2024-03-14 09:00:16: Accepting new connection from [::ffff:10.6.4.54]:50627 to SMTP server at [::]:25 (unsecured) proxying smtp.partner.outlook.cn:587 (STARTTLS)
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> [ Client connected ]
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'220 NT0PR01CA0010.partner.outlook.cn Microsoft ESMTP MAIL Service ready at Thu, 14 Mar 2024 00:58:18 +0000\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'220 NT0PR01CA0010.partner.outlook.cn Microsoft ESMTP MAIL Service ready at Thu, 14 Mar 2024 00:58:18 +0000\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'EHLO SHAI14000404W\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'EHLO SHAI14000404W\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-NT0PR01CA0010.partner.outlook.cn Hello [58.34.83.130]\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-SIZE 157286400\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-PIPELINING\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-DSN\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-ENHANCEDSTATUSCODES\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-STARTTLS\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-8BITMIME\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-BINARYMIME\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-CHUNKING\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250 SMTPUTF8\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'STARTTLS\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'220 2.0.0 SMTP server ready\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-> [ Starting TLS handshake ]
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) [ Successfully negotiated SMTP STARTTLS connection - re-sending greeting ]
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'EHLO SHAI14000404W\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-> [ TLSv1.3 handshake complete ]
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-NT0PR01CA0010.partner.outlook.cn Hello [58.34.83.130]\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-NT0PR01CA0010.partner.outlook.cn Hello [58.34.83.130]\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-SIZE 157286400\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-SIZE 157286400\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-PIPELINING\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-PIPELINING\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-DSN\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-DSN\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-ENHANCEDSTATUSCODES\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-ENHANCEDSTATUSCODES\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-AUTH LOGIN XOAUTH2\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-AUTH PLAIN LOGIN\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: 2024-03-14 09:00:16,287: New incoming connection to SMTP server at [::]:25 (unsecured) proxying smtp.partner.outlook.cn:587 (STARTTLS)
email-oauth2-proxy | 2024-03-14 09:00:16,287: Accepting new connection from [::ffff:10.6.4.54]:50627 to SMTP server at [::]:25 (unsecured) proxying smtp.partner.outlook.cn:587 (STARTTLS)
email-oauth2-proxy | 2024-03-14 09:00:16,306: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> [ Client connected ]
email-oauth2-proxy | 2024-03-14 09:00:16,314: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'220 NT0PR01CA0010.partner.outlook.cn Microsoft ESMTP MAIL Service ready at Thu, 14 Mar 2024 00:58:18 +0000\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,314: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'220 NT0PR01CA0010.partner.outlook.cn Microsoft ESMTP MAIL Service ready at Thu, 14 Mar 2024 00:58:18 +0000\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,421: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'EHLO SHAI14000404W\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,421: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'EHLO SHAI14000404W\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,431: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-NT0PR01CA0010.partner.outlook.cn Hello [58.34.83.130]\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,431: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-SIZE 157286400\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,432: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-PIPELINING\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,432: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-DSN\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,432: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-ENHANCEDSTATUSCODES\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,432: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-STARTTLS\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,432: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-8BITMIME\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,432: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-BINARYMIME\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,432: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-CHUNKING\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,432: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250 SMTPUTF8\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,432: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'STARTTLS\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,440: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'220 2.0.0 SMTP server ready\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,454: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-> [ Starting TLS handshake ]
email-oauth2-proxy | 2024-03-14 09:00:16,455: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) [ Successfully negotiated SMTP STARTTLS connection - re-sending greeting ]
email-oauth2-proxy | 2024-03-14 09:00:16,455: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'EHLO SHAI14000404W\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,477: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-> [ TLSv1.3 handshake complete ]
email-oauth2-proxy | 2024-03-14 09:00:16,492: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-NT0PR01CA0010.partner.outlook.cn Hello [58.34.83.130]\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,492: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-NT0PR01CA0010.partner.outlook.cn Hello [58.34.83.130]\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,492: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-SIZE 157286400\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,492: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-SIZE 157286400\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,492: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-PIPELINING\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,492: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-PIPELINING\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,492: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-DSN\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,492: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-DSN\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,492: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-ENHANCEDSTATUSCODES\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,492: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-ENHANCEDSTATUSCODES\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,492: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-AUTH LOGIN XOAUTH2\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,493: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-AUTH PLAIN LOGIN\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,493: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-8BITMIME\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,493: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-8BITMIME\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,493: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-BINARYMIME\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,493: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-BINARYMIME\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,493: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-CHUNKING\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,493: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-CHUNKING\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,493: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250 SMTPUTF8\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16,493: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250 SMTPUTF8\r\n'
email-oauth2-proxy | 2024-03-14 09:00:17,126: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'AUTH LOGIN\r\n'
email-oauth2-proxy | 2024-03-14 09:00:17,126: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'334 VXNlcm5hbWU6\r\n'
email-oauth2-proxy | 2024-03-14 09:00:17,137: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'aGFuY2h1bkBwamxhYi5vcmcuY24=\r\n'
email-oauth2-proxy | 2024-03-14 09:00:17,138: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'334 UGFzc3dvcmQ6\r\n'
email-oauth2-proxy | 2024-03-14 09:00:17,139: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'[[ Credentials removed from proxy log ]]'
email-oauth2-proxy | 2024-03-14 09:00:17,139: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'AUTH XOAUTH2\r\n'
email-oauth2-proxy | 2024-03-14 09:00:17,148: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'334 \r\n'
email-oauth2-proxy | 2024-03-14 09:00:17,550: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587; <<MYUSERNAME>>@<<MYDOMAIN>>) --> b'[[ Credentials removed from proxy log ]]\r\n'
email-oauth2-proxy | SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-8BITMIME\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-8BITMIME\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-BINARYMIME\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-BINARYMIME\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-CHUNKING\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-CHUNKING\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250 SMTPUTF8\r\n'
email-oauth2-proxy | 2024-03-14 09:00:16: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250 SMTPUTF8\r\n'
email-oauth2-proxy | 2024-03-14 09:00:17: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'AUTH LOGIN\r\n'
email-oauth2-proxy | 2024-03-14 09:00:17: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'334 VXNlcm5hbWU6\r\n'
email-oauth2-proxy | 2024-03-14 09:00:17: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'aGFuY2h1bkBwamxhYi5vcmcuY24=\r\n'
email-oauth2-proxy | 2024-03-14 09:00:17: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'334 UGFzc3dvcmQ6\r\n'
email-oauth2-proxy | 2024-03-14 09:00:17: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'[[ Credentials removed from proxy log ]]'
email-oauth2-proxy | 2024-03-14 09:00:17: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'AUTH XOAUTH2\r\n'
email-oauth2-proxy | 2024-03-14 09:00:17: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'334 \r\n'
email-oauth2-proxy | 2024-03-14 09:00:17: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587; <<MYUSERNAME>>@<<MYDOMAIN>>) --> b'[[ Credentials removed from proxy log ]]\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587; <<MYUSERNAME>>@<<MYDOMAIN>>) <-- b'535 5.7.3 Authentication unsuccessful [NT0PR01CA0010.CHNPR01.prod.partner.outlook.cn 2024-03-14T00:58:28.419Z 08DC432AD9175861]\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587; <<MYUSERNAME>>@<<MYDOMAIN>>) <-- b'535 5.7.3 Authentication unsuccessful [NT0PR01CA0010.CHNPR01.prod.partner.outlook.cn 2024-03-14T00:58:28.419Z 08DC432AD9175861]\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- [ Server disconnected ]
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587; <<MYUSERNAME>>@<<MYDOMAIN>>) --> [ Client disconnected ]
email-oauth2-proxy | 2024-03-14 09:00:25: New incoming connection to SMTP server at [::]:25 (unsecured) proxying smtp.partner.outlook.cn:587 (STARTTLS)
email-oauth2-proxy | 2024-03-14 09:00:25: Accepting new connection from [::ffff:10.6.4.54]:50629 to SMTP server at [::]:25 (unsecured) proxying smtp.partner.outlook.cn:587 (STARTTLS)
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> [ Client connected ]
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'220 NT0PR01CA0004.partner.outlook.cn Microsoft ESMTP MAIL Service ready at Thu, 14 Mar 2024 00:58:27 +0000\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'220 NT0PR01CA0004.partner.outlook.cn Microsoft ESMTP MAIL Service ready at Thu, 14 Mar 2024 00:58:27 +0000\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'EHLO SHAI14000404W\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'EHLO SHAI14000404W\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-NT0PR01CA0004.partner.outlook.cn Hello [58.34.83.130]\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-SIZE 157286400\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-PIPELINING\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-DSN\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-ENHANCEDSTATUSCODES\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-STARTTLS\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-8BITMIME\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-BINARYMIME\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-CHUNKING\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250 SMTPUTF8\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'STARTTLS\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'220 2.0.0 SMTP server ready\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-> [ Starting TLS handshake ]
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) [ Successfully negotiated SMTP STARTTLS connection - re-sending greeting ]
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'EHLO SHAI14000404W\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-> [ TLSv1.3 handshake complete ]
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-NT0PR01CA0004.partner.outlook.cn Hello [58.34.83.130]\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-NT0PR01CA0004.partner.outlook.cn Hello [58.34.83.130]\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-SIZE 157286400\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-SIZE 157286400\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-PIPELINING\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-PIPELINING\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-DSN\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-DSN\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-ENHANCEDSTATUSCODES\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-ENHANCEDSTATUSCODES\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-AUTH LOGIN XOAUTH2\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-AUTH PLAIN LOGIN\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25: 2024-03-14 09:00:25,195: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587; <<MYUSERNAME>>@<<MYDOMAIN>>) <-- b'535 5.7.3 Authentication unsuccessful [NT0PR01CA0010.CHNPR01.prod.partner.outlook.cn 2024-03-14T00:58:28.419Z 08DC432AD9175861]\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,195: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587; <<MYUSERNAME>>@<<MYDOMAIN>>) <-- b'535 5.7.3 Authentication unsuccessful [NT0PR01CA0010.CHNPR01.prod.partner.outlook.cn 2024-03-14T00:58:28.419Z 08DC432AD9175861]\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,195: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- [ Server disconnected ]
email-oauth2-proxy | 2024-03-14 09:00:25,196: SMTP ([::ffff:10.6.4.54]:50627-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587; <<MYUSERNAME>>@<<MYDOMAIN>>) --> [ Client disconnected ]
email-oauth2-proxy | 2024-03-14 09:00:25,201: New incoming connection to SMTP server at [::]:25 (unsecured) proxying smtp.partner.outlook.cn:587 (STARTTLS)
email-oauth2-proxy | 2024-03-14 09:00:25,202: Accepting new connection from [::ffff:10.6.4.54]:50629 to SMTP server at [::]:25 (unsecured) proxying smtp.partner.outlook.cn:587 (STARTTLS)
email-oauth2-proxy | 2024-03-14 09:00:25,217: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> [ Client connected ]
email-oauth2-proxy | 2024-03-14 09:00:25,225: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'220 NT0PR01CA0004.partner.outlook.cn Microsoft ESMTP MAIL Service ready at Thu, 14 Mar 2024 00:58:27 +0000\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,225: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'220 NT0PR01CA0004.partner.outlook.cn Microsoft ESMTP MAIL Service ready at Thu, 14 Mar 2024 00:58:27 +0000\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,329: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'EHLO SHAI14000404W\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,329: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'EHLO SHAI14000404W\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,337: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-NT0PR01CA0004.partner.outlook.cn Hello [58.34.83.130]\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,337: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-SIZE 157286400\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,337: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-PIPELINING\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,337: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-DSN\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,337: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-ENHANCEDSTATUSCODES\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,337: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-STARTTLS\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,337: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-8BITMIME\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,337: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-BINARYMIME\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,337: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-CHUNKING\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,337: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250 SMTPUTF8\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,337: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'STARTTLS\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,345: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'220 2.0.0 SMTP server ready\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,359: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-> [ Starting TLS handshake ]
email-oauth2-proxy | 2024-03-14 09:00:25,359: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) [ Successfully negotiated SMTP STARTTLS connection - re-sending greeting ]
email-oauth2-proxy | 2024-03-14 09:00:25,359: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'EHLO SHAI14000404W\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,382: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-> [ TLSv1.3 handshake complete ]
email-oauth2-proxy | 2024-03-14 09:00:25,398: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-NT0PR01CA0004.partner.outlook.cn Hello [58.34.83.130]\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,398: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-NT0PR01CA0004.partner.outlook.cn Hello [58.34.83.130]\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,398: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-SIZE 157286400\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,398: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-SIZE 157286400\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,398: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-PIPELINING\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,398: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-PIPELINING\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,398: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-DSN\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,398: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-DSN\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,398: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-ENHANCEDSTATUSCODES\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,398: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-ENHANCEDSTATUSCODES\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,398: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-AUTH LOGIN XOAUTH2\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,398: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-AUTH PLAIN LOGIN\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,398: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-8BITMIME\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,398: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-8BITMIME\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,398: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-BINARYMIME\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,399: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-BINARYMIME\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,399: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-CHUNKING\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,399: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250-CHUNKING\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,399: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250 SMTPUTF8\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,399: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'250 SMTPUTF8\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,455: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'AUTH LOGIN\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,455: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'334 VXNlcm5hbWU6\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,456: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'aGFuY2h1bg==\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,457: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'334 UGFzc3dvcmQ6\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,458: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'[[ Credentials removed from proxy log ]]'
email-oauth2-proxy | 2024-03-14 09:00:25,458: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'AUTH XOAUTH2\r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,466: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'334 \r\n'
email-oauth2-proxy | 2024-03-14 09:00:25,466: Proxy config file entry missing for account <<MYUSERNAME>> - aborting login
email-oauth2-proxy | 2024-03-14 09:00:25,466: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> b'*\r\n'
email-oauth2-proxy | 2024-03-14 09:00:30,491: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'535 5.7.3 Authentication unsuccessful [NT0PR01CA0004.CHNPR01.prod.partner.outlook.cn 2024-03-14T00:58:33.714Z 08DC4349525DB117]\r\n'
email-oauth2-proxy | 2024-03-14 09:00:30,491: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- b'535 5.7.8 Authentication credentials invalid. Email OAuth 2.0 Proxy: No config file entry found for account <<MYUSERNAME>> - please add a new section with values for permission_url, token_url, oauth2_scope, redirect_uri, client_id and client_secret\r\n'
email-oauth2-proxy | 2024-03-14 09:00:30,496: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) --> [ Client disconnected ]
email-oauth2-proxy | 2024-03-14 09:00:30,497: SMTP ([::ffff:10.6.4.54]:50629-{[::ffff:10.6.61.31]:25}-smtp.partner.outlook.cn:587) <-- [ Server disconnected ]
Thanks for following up. Unfortunately this isn't helpful because it doesn't show the same error. The key line in the original log is the following:
email-oauth2-proxy | 2024-03-13 17:16:17,721: Caught exception while requesting OAuth 2.0 credentials for AUSER@MYOFFICE365CN.DOMAIN: TypeError("unsupported operand type(s) for +: 'int' and 'str'")
I'll need to see what happened to cause this before I can investigate any further. Without this, the only immediate potential culprit is the addition of the token's expiry time to the current system time (which happens here too). If the returned value of response['expires_in']
was a string rather than an integer, you'd get this error. I'll add some checking here, but am also curious as to how you managed to get O365 to provide a string for this value in the first place. Could you provide a log where this error is happening?
Re: the current debug log – authentication does indeed fail, but on the O365 side. Perhaps IMAP and SMTP are not enabled?
(There is also another proxy-related failure at the very end of the log, but this is because you're trying to log in with only the username rather than the full email address. Because you've used the full address elsewhere I'm assuming this was just a test on your side, and have ignored this.)
Just to follow up – I noticed that in your original response you provided the token value – thanks! This confirms that the assumption about the server returning presumed integer values as strings in my previous message is correct, and the proxy should take this into account.
cat conf/emailproxy.config
docker compose log:
Check token api:
result:
Maybe error in emailproxy.py