docker-offlineimap/offlineimap
Sebastian Spaeth 0f45d89e34 Throw OfflineImapError on DNS error
In case we misconfigured a server name or are otherwise offline, a
socket.gaierror will be raised when attempting to connect. We catch that
case and raise an OfflineImapError with severity ERROR.REPO, meaning we
should stop syncing this account and continue with the next one.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2011-05-05 20:00:07 +02:00
..
folder Merge branch 'ss/corrupted-uidmap-file' into next 2011-05-02 19:09:52 +02:00
repository Make str() of Repository() be its name 2011-04-27 19:07:10 +02:00
ui Introduce an *empty* debug type 2011-05-02 20:41:36 +02:00
__init__.py Add OfflineImapError class 2011-05-05 20:00:07 +02:00
accounts.py accounts: remove duplicated code paths 2011-05-05 19:52:24 +02:00
CustomConfig.py Improve CustomConfig documentation 2011-01-20 19:46:01 +01:00
error.py Add OfflineImapError class 2011-05-05 20:00:07 +02:00
imaplib2.py imaplib2: Bump from 2.20 to 2.22 2011-04-11 19:10:45 +02:00
imaplibutil.py Fix IMAP4_Tunnel to work with imaplib2 2011-04-13 18:41:53 +02:00
imapserver.py Throw OfflineImapError on DNS error 2011-05-05 20:00:07 +02:00
imaputil.py cleanup import statements and conform to PEP-8 2011-03-14 21:35:33 +01:00
init.py Introduce an *empty* debug type 2011-05-02 20:41:36 +02:00
localeval.py Update FSF address 2006-08-12 05:15:55 +01:00
mbnames.py Update FSF address 2006-08-12 05:15:55 +01:00
syncmaster.py cleanup import statements and conform to PEP-8 2011-03-14 21:35:33 +01:00
threadutil.py cleanup import statements and conform to PEP-8 2011-03-14 21:35:33 +01:00