Re: Hang up reading Yandex mail box listing.
Viacheslav Chimishuk <[email protected]>
| Newsgroups | gmane.mail.getmail.user |
|---|---|
| Message-ID | <[email protected]> |
On 16.07.2019 09:41, Charles Cazabon <[email protected]> wrote: > This is likely a workaround for the (old, now-fixed) bug in the Python > standard library. Without it (as I recall), SSL connections were unreliable > and could return garbage when reading, and cause exceptions when writing. > > If this is the case - and I could be wrong, getmail has 20 years of history at > this point - then it should no longer be needed. If you comment out or remove > the setblocking() call, does the issue go away? Let me try. Ok, I've commented the line and getmail still delivers mail. Let's wait for a week to be sure. I'll get back to you after this period. By the way, I found another setblocking(1) for Python23 code in _pop3ssl.py, which is for some legacy Python versions, AFAIU. Sure, this is not my case, just letting you know. Thanks for helping. -- Best regards, Viacheslav Chimishuk [email protected] Ukraine, Khmelnitsky