BHP4 BAD Command Argument Error. 11 #328
Replies: 1 comment 1 reply
-
The following lines are where the proxy successfully completes its job:
Your client is issuing a |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Help me please,
I use an Office365 connection
config :
token_url = https://login.microsoftonline.com/d52c9ea1-xxxx-xxx-xxxx-33a74b1f74b8/oauth2/v2.0/token
oauth2_scope = https://outlook.office365.com/.default
oauth2_flow = client_credentials
redirect_uri = http://110.196.39.9:1277
client_id = 0ee40a06-xxx-43a3-xxx-aaa327dc9072
client_secret = w148Q~xxxxxxxxxxxxxxxxxxxxxxxxx1
Commande : ppython emailproxy.py
Log 👍 Accepting new connection from 127.0.0.1:58220 to IMAP server at 127.0.0.1:1993 (unsecured) proxying outlook.office365.com:993 (SSL/TLS)
IMAP (127.0.0.1:58220-{127.0.0.1:1993}-outlook.office365.com:993) --> [ Client connected ]
IMAP (127.0.0.1:58220-{127.0.0.1:1993}-outlook.office365.com:993) <-> [ Starting TLS handshake ]
IMAP (127.0.0.1:58220-{127.0.0.1:1993}-outlook.office365.com:993) <-> [ TLSv1.2 handshake complete ]
IMAP (127.0.0.1:58220-{127.0.0.1:1993}-outlook.office365.com:993) <-- b'* OK The Microsoft Exchange IMAP4 service is ready. [UDcAUAAyADYANABDAEEAMAAyADkAMgAuAEYAUgBBAFAAMgA2ADQALgBQAFIATwBEAC4ATwBVAFQATABPAE8ASwAuAEMATwBNAA==]\r\n'
IMAP (127.0.0.1:58220-{127.0.0.1:1993}-outlook.office365.com:993) <-- b'* OK The Microsoft Exchange IMAP4 service is ready. [UDcAUAAyADYANABDAEEAMAAyADkAMgAuAEYAUgBBAFAAMgA2ADQALgBQAFIATwBEAC4ATwBVAFQATABPAE8ASwAuAEMATwBNAA==]\r\n'
IMAP (127.0.0.1:58220-{127.0.0.1:1993}-outlook.office365.com:993) --> b'BHP0 CAPABILITY\r\n'
IMAP (127.0.0.1:58220-{127.0.0.1:1993}-outlook.office365.com:993) --> b'BHP0 CAPABILITY\r\n'
IMAP (127.0.0.1:58220-{127.0.0.1:1993}-outlook.office365.com:993) <-- b'* CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=XOAUTH2 SASL-IR UIDPLUS ID UNSELECT CHILDREN IDLE NAMESPACE LITERAL+\r\n'
IMAP (127.0.0.1:58220-{127.0.0.1:1993}-outlook.office365.com:993) <-- b'* CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN SASL-IR UIDPLUS ID UNSELECT CHILDREN IDLE NAMESPACE LITERAL+\r\n'
IMAP (127.0.0.1:58220-{127.0.0.1:1993}-outlook.office365.com:993) <-- b'BHP0 OK CAPABILITY completed.\r\n'
IMAP (127.0.0.1:58220-{127.0.0.1:1993}-outlook.office365.com:993) <-- b'BHP0 OK CAPABILITY completed.\r\n'
IMAP (127.0.0.1:58220-{127.0.0.1:1993}-outlook.office365.com:993) --> b'BHP1 AUTHENTICATE PLAIN\r\n'
IMAP (127.0.0.1:58220-{127.0.0.1:1993}-outlook.office365.com:993) <-- b'+ \r\n'
IMAP (127.0.0.1:58220-{127.0.0.1:1993}-outlook.office365.com:993) --> b'[[ Credentials removed from proxy log ]]'
IMAP (127.0.0.1:58220-{127.0.0.1:1993}-outlook.office365.com:993) --> b'BHP1 AUTHENTICATE XOAUTH2 '
IMAP (127.0.0.1:58220-{127.0.0.1:1993}-outlook.office365.com:993) --> b'[[ Credentials removed from proxy log ]]\r\n'
IMAP (127.0.0.1:58220-{127.0.0.1:1993}-outlook.office365.com:993; toto@totoresources.com) <-- b'BHP1 OK AUTHENTICATE completed.\r\n'
IMAP (127.0.0.1:58220-{127.0.0.1:1993}-outlook.office365.com:993; toto@totoresources.com) [ Successfully authenticated IMAP connection - releasing session ]
IMAP (127.0.0.1:58220-{127.0.0.1:1993}-outlook.office365.com:993; toto@totoresources.com) <-- b'BHP1 OK AUTHENTICATE completed.\r\n'
IMAP (127.0.0.1:58220-{127.0.0.1:1993}-outlook.office365.com:993; toto@totoresources.com) --> b'BHP2 CAPABILITY\r\n'
IMAP (127.0.0.1:58220-{127.0.0.1:1993}-outlook.office365.com:993; toto@totoresources.com) <-- b'* CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=XOAUTH2 SASL-IR UIDPLUS MOVE ID UNSELECT CLIENTACCESSRULES CLIENTNETWORKPRESENCELOCATION BACKENDAUTHENTICATE CHILDREN IDLE NAMESPACE LITERAL+\r\nBHP2 OK CAPABILITY completed.\r\n'
IMAP (127.0.0.1:58220-{127.0.0.1:1993}-outlook.office365.com:993; toto@totoresources.com) --> b'BHP3 LSUB "" ""\r\n'
IMAP (127.0.0.1:58220-{127.0.0.1:1993}-outlook.office365.com:993; toto@totoresources.com) <-- b'* LSUB (\Noselect) "/" ""\r\nBHP3 OK LSUB completed.\r\n'
IMAP (127.0.0.1:58220-{127.0.0.1:1993}-outlook.office365.com:993; toto@totoresources.com) --> b'BHP4 SUBSCRIBE ""\r\n'
IMAP (127.0.0.1:58220-{127.0.0.1:1993}-outlook.office365.com:993; toto@totoresources.com) <-- b'BHP4 BAD Command Argument Error. 11\r\n'
Stopping Email OAuth 2.0 Proxy
Error : BHP4 BAD Command Argument Error. 11
idea ?
Thanks a lot
Beta Was this translation helpful? Give feedback.
All reactions