ports/mail/py-offlineimap3/files/patch-offlineimap_imapserver.py
Derek Schrock 9dc8d74ac0 mail/offlineimap3: Two-way synchronization of local Maildir and IMAP folders (new port)
OfflineIMAP is software that downloads your email mailbox(es) as
local Maildirs. OfflineIMAP will synchronize both sides via IMAP.

PR:			262233
Author:			Derek Schrock <dereks@lifeofadishwasher.com>
Reviewed by:		koobs
Differential Revision:	https://reviews.freebsd.org/D34388
2022-12-27 16:22:20 +01:00

11 lines
569 B
Python

--- offlineimap/imapserver.py.orig 2022-02-27 05:55:01 UTC
+++ offlineimap/imapserver.py
@@ -879,7 +879,7 @@ class IdleThread:
while not success:
imapobj = self.parent.acquireconnection()
try:
- imapobj.select(self.folder)
+ imapobj.select(imaputil.foldername_to_imapname(self.folder))
except OfflineImapError as e:
if e.severity == OfflineImapError.ERROR.FOLDER_RETRY:
# Connection closed, release connection and retry.