Last active
July 23, 2017 23:58
-
-
Save sigma/11295734 to your computer and use it in GitHub Desktop.
#published getmail ssl #patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/getmailcore/retrievers.py b/getmailcore/retrievers.py | |
index c0f6580..37e21dc 100755 | |
--- a/getmailcore/retrievers.py | |
+++ b/getmailcore/retrievers.py | |
@@ -402,8 +402,7 @@ class SimpleIMAPSSLRetriever(IMAPRetrieverBase, IMAPSSLinitMixIn): | |
ConfInstance(name='configparser', required=False), | |
ConfDirectory(name='getmaildir', required=False, default='~/.getmail/'), | |
- # socket.ssl() and socket timeouts are incompatible in Python 2.3 | |
- #ConfInt(name='timeout', required=False, default=180), | |
+ ConfInt(name='timeout', required=False, default=180), | |
ConfString(name='server'), | |
ConfInt(name='port', required=False, default=imaplib.IMAP4_SSL_PORT), | |
ConfString(name='username'), | |
@@ -488,8 +487,7 @@ class MultidropIMAPSSLRetriever(MultidropIMAPRetrieverBase, IMAPSSLinitMixIn): | |
ConfInstance(name='configparser', required=False), | |
ConfDirectory(name='getmaildir', required=False, default='~/.getmail/'), | |
- # socket.ssl() and socket timeouts are incompatible in Python 2.3 | |
- #ConfInt(name='timeout', required=False, default=180), | |
+ ConfInt(name='timeout', required=False, default=180), | |
ConfString(name='server'), | |
ConfInt(name='port', required=False, default=imaplib.IMAP4_SSL_PORT), | |
ConfString(name='username'), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment