auto
    qˆâáæ565àÀä 5   q‹      Í•]oÚ0…ïû+<_ì.yùhmOŒ �¢LÓ4íÂ‰±šÄ‘mJÙ¯ŸCÂšM°	Ñ]Åv¿9ç8¶ýWál¸ü<¡÷Ë»	š|7v >u‡ á2¬^xn«0šb„cŠ€ívën»®TkX. 1Yê�6JÄÆe†arå—cä
ù	§Ì>‘o„I9çŒ?!¹B 7FÆmåb¥"> “™Ís¶)wÏ¤›h7–²°b2ÖŽÖé�ö`£è„ªrbÊQ<–Yf§s©ˆU;Ð5‚¦�ð´ð¡RbµA-Î�$Û•šÛÿ…>+c�ö2Ë¦"¾IÐ#MÅ:°‘&¾ÈÖH«8À b™kˆRš?¸k±Âˆ¦&À_ÆÃÙWË�IÊÙÄ§(Q|à·Ã`z;BL¦4ã>ÐãÌ�e˜L¨6(“L¬g'áû
¾ßN+&ä:V¢0BæÏ(X‹M«±Lm(ÖkÏ:HT“ªö§4hüSóÁb4]†ãE	+K<«{‘ÕÆdnÁÜ PXÌHµ«ó¨Ä½Î#]Üº¨v«Ä:1˜ ä £ä?D´Ér¹Í›)Ù8šÏ ßoLêFSè/Ê:­N×iµ�Nµ½›V¡ ×i_Ò‚­C5×®b“FçV:ýî%­Øÿ'©�ühžÅÆõõ%mÔûÀª�0itÎay½/bå©iå,û¤÷¦ÿ›UùË3êÛÄ‡ý]çCu?½Xô      sˆâáæ498àÀä ò   s‹      Í”OoÛ ‡ïýŒÃnö§©4µ˜©‹#-Rþ)Í4MÓpŒjƒdiöé‡ãdM«DÛNÛÉ€ðóþ0�7Ù|¸ú²¡�«é->}˜Œ‡G Ÿ¯‡ Ù*ë^â^0ša„Kï›[€ívo¯cc×°ZBéëj Î[Å},¼ÀôŠ´cô
‘R2žˆxå+IÇZÈ'd
fã�2¬ÜlòJñã S;pR‹BU2²6qébnL>$w‘sÕ‘ÀÆYp%³íD6²’›ºÓ¥€Jå–ÙLYp{j»Ž@'ÔààFr#v­rò?è‹}\,ß[¶MK‰/ÑwV©µN±7¦DÕkä,O1(n´ƒ¼bú1^«#Vùçß¾lgSÂPie‘â÷Ãtv7O3Lg¬–Øyf˜{L'ÌyT¡
%ÅEø¡ƒÔ�Ëf“IÇ­j¼2ú…Pâi©ÜT®a¡Ö›PAiO©¿Kƒña,î—£Ù*/»HD»Ä³Ý¿ØlL�Óe*PÞØÝ!ŽÎí­Î]swì¢C±V­K�)B:KþEBý¨ÍVŸ†6àl<�qì¦¿š§²¯ìú½~?J’(¹Aýä¶÷¡`'ÓËeüáï ‡ƒB`Š	tÏO\LÛ      uˆâáæ‚l@àÀä    u‹      Å”_o›0Åßû)<?ì.¡©Vµ†©‘-M¢4Ó4M{0Ø€ÀÈvG²O?’MÉþHÕòÄÅüð=ç.yÍG«Ï‹1z¿zœ¢ÅÇwÓÉaàÓõ ZEÝƒ¡ë Æ3ŒpnL}Ð4�Û\»Re°ZBnÊbÚ(‘—†Ã+Ò®…Wˆäœ2{EÄSðpR1¾A2E Ÿ�Œû‡˜,5h^±TÜe¼”n®ÝDÊÚ6`2ÑŽÖÅ�B­dbñ"…¤aPˆ– …áŽ-U[È8¯i²F%Ðµ·‚`¯ˆÄ’m[¡ƒË‰²½wÑÐx§­-UHLŽ¾ÑBdU€�¬qHD™!­’ ƒHd¥!.hµv3‘bDà/“Ñü«åÀäíÛ!¡(W<ðÛQ0»Ÿg´äèiæÑ28œRmP)™Hggá§~ßÏouLÄu¢Dm„¬Ž(X‹}«‰,tM­×ë W}ªCØŸÒ°yöÃX<,Ç³U4Yv‘°v‹£ºÿwÄ8\PÅ+ƒ"¡xb¤ÚîCè½®b]ßnÑÞ¢Ynpˆ�ƒN’ÿ�Ësµ®dSõ£±±ŸeÙ~Ž®b1–}±¿¨ó=ßw¼[Ç÷‘w{7ô:gÃ¿ùpúhC¿„�Áï§±9ÚØ¼„ÿ·6þò—„ý°"°›ŸºAÿÕ—ª¸K    %  wˆÞ“þBÛK7+,�§š|�<¦öjÿŸçâáæ148ÝÀä  ”   w‹      …�Á
Â@DïûÏ–Õ^lýšnÖTiÝÈ6¥ñßÕ …,¨“ã›I&Uèpè3Ï)ÂÝ �œ[ØxÕÑ=\•æk�è%E“äoÙ¦þ=Šø&­·&‰ZKgzÔ q’írºôgi!ð?þPtûçGã¯›º	ôËo«îwD¨_<ôË-ÐT    7  yˆ×�þ]Œq¬Ù
0qŠ9^óç„d.6ÿæÖa–Ü4ý(Ô¾R( 	Å €rà›S�ÿå ?÷    y"""
IMAP repository support

Copyright (C) 2002-2019 John Goerzen & contributors

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
"""
import os
import netrc
import errno
from sys import exc_info
from threading import Event
from offlineimap import folder, imaputil, imapserver, OfflineImapError
from offlineimap.repository.Base import BaseRepository
from offlineimap.threadutil import ExitNotifyThread
from offlineimap.utils.distro_utils import get_os_sslcertfile, \
    get_os_sslcertfile_searchpath


class IMAPRepository(BaseRepository):
    """
    IMAP Repository Class, children of BaseRepository
    """
    def __init__(self, reposname, account):
        self.idlefolders = None
        BaseRepository.__init__(self, reposname, account)
        # self.ui is being set by the BaseRepository
        self._host = None
        # Must be set before calling imapserver.IMAPServer(self)
        self.oauth2_request_url = None
        self.imapserver = imapserver.IMAPServer(self)
        self.folders = None
        self.copy_ignore_eval = None
        # Keep alive.
        self.kaevent = None
        self.kathread = None

        # Only set the newmail_hook in an IMAP repository.
        if self.config.has_option(self.getsection(), 'newmail_hook'):
            self.newmail_hook = self.localeval.eval(
                self.getconf('newmail_hook'))

        if self.getconf('sep', None):
            self.ui.info("The 'sep' setting is being ignored for IMAP "
              