Comments (2)
Hi @bkircher
Your question is very interesting.
I was using the Debian version of imaplib2 [1]. This version is the upstream imaplib2.py3 version [2] with these patches applied:
- Use SSLContext if available so we send SNI
- Do not use TIMEOUT_MAX for Condition.wait()
These patches are in the "Pull request" for imaplib2.
Now I am using "my own version". Is like the Debian version, with the patch "Remove crash if debug is set and port is not set" (it is in Pull request" too). It only affects an specific problem with debug and tunneling, so is like the Debian version.
If you are using the Debian's version, is perfect. I am not sure about other distros, like Fedora, Slackware,...
Probably, in the future, these patches could be applied to the upstream. See [3].
I proposed migrate imaplib2 to Python 3 standard lib. See [4].
Regards,
kix
[1] Debian version: https://packages.debian.org/sid/python3-imaplib2
[2] Upstream version: https://github.com/imaplib2/imaplib2
[3] jazzband/imaplib2#7
[4] jazzband/imaplib2#12
from offlineimap3.
Hey hey @thekix Many thanks for the thorough answer.
Upstream is dead it seems. The picture on PyPI looks even more woeful: https://pypi.org/search/?q=imaplib2
FYI, imaplib2 is not packaged for Fedora. At least I couldn't find any.
I'll carry the discussion over to jazzband/imaplib2#7. Thanks again @thekix
from offlineimap3.
Related Issues (20)
- Why does the readme recommend an AUR package? HOT 3
- [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed error HOT 4
- Offlineimap config files not stored when installing via `pip` HOT 7
- APPEND command error: BAD ['invalid rfc5322 message: Sender should not be present if equal to From'] HOT 3
- offlineimap3 produces error due to defect in Spam email HOT 6
- Support py3.12 HOT 1
- ERROR: UID 11544 has defects preventing it from being processed! HOT 2
- No module named commands error (Debian) HOT 1
- Syncronization of previously deleted/moved emails: 'failed to label messages: Message does not exist'
- "tmp" folder conflicts with mapfilenametmp
- keyring has broken user environment and scripts HOT 2
- Imaputil quote function should escape backslashes first and then quotes
- TypeError: decoding with '136' codec failed (TypeError: utf7m_decode() takes 1 positional argument but 2 were given)
- Document reasoning for having maxsyncaccounts
- IMAP <> IMAP sync introduces a large fixed offset for the received date-time when mail headers contain a negative timezone (eg a USA-based remote mail host). HOT 1
- IMAP with outlook.office365.com and XOAUTH2 fails since 18-Feb-2024 with `command LIST illegal in state NONAUTH`
- Cannot handle 'already exists' and 'Cannot create this folder' messages when syncing folders with Courier IMAP
- Incompatible with Python 3.12 HOT 4
- KeyError: 'cygwin' when installing
- openssl password decryption error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from offlineimap3.