-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reappearance of an old issue, in a different place #14
Comments
Sorry, I left out the details on the two packages:
|
at first glance i'm under the impression this is a downstream issue im not familiar with the debian patches applied on top |
unfortunately the bugfix back then didn't include a test to validate against different cases/misbehaviours |
Not sure to understand what you mean, but Debian patches do not seem to touch related code. Can you explain your doubt? |
I'm having the same issue, which is fixed in my case by changing diff --git a/imaplib2/imaplib2.py b/imaplib2/imaplib2.py
index cfa108f..373e240 100644
--- a/imaplib2/imaplib2.py
+++ b/imaplib2/imaplib2.py
@@ -1414,8 +1414,8 @@ class IMAP4(object):
if not ok:
break
- if data == 'go ahead': # Apparently not uncommon broken IMAP4 server response to AUTHENTICATE command
- data = ''
+ if data == b'go ahead': # Apparently not uncommon broken IMAP4 server response to AUTHENTICATE command
+ data = b''
# Send literal |
Hi, an Italian friend got the same issue reading from a PEC few days ago. 🤷♂️ He was running offlineimap3 with a system imaplib2 installed on an updated Ubuntu.
The workaround we used was to hack _Authenticator.decode like this:
I didn't try @miseran's fix because I wasn't aware if it back then. So looks like we have two issues here:
|
I'm re-experiencing a problem that I reported years ago: I'm on a Debian sid system and I use
offlineimap
to keep a local copy of my incoming email. As reported in the references issue, fetching from one of my providers gives the following traceback:Inspecting the case, I found that the bad value triggering the error is
go ahead
, that is, the very same case cured in the commit 3e87a66.The text was updated successfully, but these errors were encountered: