Your IP : 216.73.216.137
�
��f��c&@s�dZdZddlZddlZddlZddlZddlZddlZddlZddl Z ddl
Z
ddlmZmZm
Z
ddlmZyddlZeZWnek
r�eZYnXdddd d
dgZdZdZd
ZdZddfZdZi'ddfd6dfd6ddddfd6dfd6dfd6dfd6ddfd6ddfd6ddfd6ddfd6dfd6dfd 6ddfd!6ddfd"6ddfd#6ddfd$6ddfd%6ddfd&6dfd'6ddddfd6ddfd(6ddfd)6ddddfd*6dfd+6dfd,6ddfd-6dfd.6ddfd/6ddfd06ddfd16ddfd26dfd36dfd46ddfd56dfd66ddfd76dfd86dfd96ddfd:6Zejd;�Zejd<�Zejd=�Z ejd>ej!�Z"ejd?�Z#ejd@�Z$ejdA�Z%ejdBej!�Z&GdCd�d�Z'er�GdDdE�dEe'�Z(ej)dE�nGdFd�de'�Z*GdGdH�dH�Z+dIj,dJ�Z-dKdL�e.e-dMd��D�Z/dNd�Z0dOd �Z1dPd
�Z2dQd�Z3e4dRkr�ddl5Z5ddl6Z6y)e5j5ej7dMd�dS�\Z8Z9Wn:e5j:k
r�Z;zfff\Z8Z9WYddZ;[;XnXe<Z=xWe8D]O\Z>Z;e>dTkr e?e;�Zn(e>dUkr1e;Z=e9r.e=fZ9nnq�We9rHdVfZ9ne9dZ@e6jA�ZBe6j6dWeBe@psdXf�ZCdYieBdZ6d[d\6ZDd]eBeCffd^d_ffd`d_daffddbffdcdbe<e<eDffdddedfffdgdbffdhe<didjffdkdldmffdndldodpffdqffdrffdsffdtfffZEdgffdudvffdwd.dxffdudyffdce<e<e<eDffdsffdzfffZFd{d|�ZGy�e=r�e*e=�ZHne'e@�ZHeHjIdkreEdMd�ZEneHjJd}eHjK�eHjJd~eHjLf�x!eED]\ZMZ9eGeMe9�q9WxheGdddd�f�D]QZNejOd�eN�ZPePr�ePjQdM�ZRneNj,�dMZReGd�eRf�qlWx�eFD]|\ZMZ9eGeMe9�ZSeMe9fdwd.dxffkrq�neSdMj,�ZTeTr%q�neGdwd d�eTdMd�f�q�WeUd��Wn4eUd��er�eUd�ej7d�n�YnXndS(�u�IMAP4 client.
Based on RFC 2060.
Public class: IMAP4
Public variable: Debug
Public functions: Internaldate2tuple
Int2AP
ParseFlags
Time2Internaldate
u2.58iN(udatetimeutimezoneu timedelta(uDEFAULT_BUFFER_SIZEuIMAP4uIMAP4_streamuInternaldate2tupleuInt2APu
ParseFlagsuTime2Internaldates
i�i�u IMAP4REV1i'uAUTHuSELECTEDuAPPENDuNONAUTHuAUTHENTICATEuLOGOUTu
CAPABILITYuCHECKuCLOSEuCOPYuCREATEuDELETEu DELETEACLuEXAMINEuEXPUNGEuFETCHuGETACLu
GETANNOTATIONuGETQUOTAuGETQUOTAROOTuMYRIGHTSuLISTuLOGINuLSUBu NAMESPACEuNOOPuPARTIALu PROXYAUTHuRENAMEuSEARCHuSELECTuSETACLu
SETANNOTATIONuSETQUOTAuSORTuSTARTTLSuSTATUSuSTOREu SUBSCRIBEuTHREADuUIDuUNSUBSCRIBEs\+( (?P<data>.*))?s.*FLAGS \((?P<flags>[^\)]*)\)s�.*INTERNALDATE "(?P<day>[ 0123][0-9])-(?P<mon>[A-Z][a-z][a-z])-(?P<year>[0-9][0-9][0-9][0-9]) (?P<hour>[0-9][0-9]):(?P<min>[0-9][0-9]):(?P<sec>[0-9][0-9]) (?P<zonen>[-+])(?P<zoneh>[0-9][0-9])(?P<zonem>[0-9][0-9])"s.*{(?P<size>\d+)}$s
\r\n|\r|\ns)\[(?P<type>[A-Z-]+)( (?P<data>[^\]]*))?\]s$\* (?P<type>[A-Z-]+)( (?P<data>.*))?s3\* (?P<data>\d+) (?P<type>[A-Z-]+)( (?P<data2>.*))?cBs�|EeZdZdZGdd�de�ZGdd�de�ZGdd�de�Zded d
�Z dd�Z
d
d�Zdd�Zdedd�Z
dd�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd �Zd!d"�Zd#d$�Zd%d&�Zd'd(�Zd)d*�Zd+d,�Zd-d.�Zd/d0�Zd1d2�Zd3d4�Zd5d6�Zd7d8�Z d9d:�Z!d;d<�Z"d=d>�Z#d?d@dAdB�Z$dCdD�Z%dEdF�Z&dGdH�Z'dIdJ�Z(d?d@dKdL�Z)dMdN�Z*dOdP�Z+dQdR�Z,dSdT�Z-dUdV�Z.dWdX�Z/dYdZ�Z0d[d�d\d]�Z2d^d_�Z3d`da�Z4dbdc�Z5ddde�Z6d�dfdg�Z8dhdi�Z9djdk�Z:dldm�Z;dndo�Z<dpdq�Z=drds�Z>dtdu�Z?dvdw�Z@dxdy�ZAdzd{�ZBd|d}�ZCd~d�ZDd�d��ZEd�d��ZFd�d��ZGd�d��ZHd�d��ZId�d��ZJd�d��ZKd�d��ZLd�d�d��ZMd�d��ZNd�d��ZOd�d��ZPd�S(�uIMAP4u�IMAP4 client class.
Instantiate with: IMAP4([host[, port]])
host - host's name (default: localhost);
port - port number (default: standard IMAP4 port).
All IMAP4rev1 commands are supported by methods of the same
name (in lower-case).
All arguments to commands are converted to strings, except for
AUTHENTICATE, and the last argument to APPEND which is passed as
an IMAP4 literal. If necessary (the string contains any
non-printing characters or white-space and isn't enclosed with
either parentheses or double quotes) each string is quoted.
However, the 'password' argument to the LOGIN command is always
quoted. If you want to avoid having an argument string quoted
(eg: the 'flags' argument to STORE) then enclose the string in
parentheses (eg: "(\Deleted)").
Each command returns a tuple: (type, [data, ...]) where 'type'
is usually 'OK' or 'NO', and 'data' is either the text from the
tagged response, or untagged results from command. Each 'data'
is either a string, or a tuple. If a tuple, then the first part
is the header of the response, and the second part contains
the data (ie: 'literal' value).
Errors raise the exception class <instance>.error("<reason>").
IMAP4 server errors raise <instance>.abort("<reason>"),
which is a sub-class of 'error'. Mailbox status changes
from READ-WRITE to READ-ONLY raise the exception class
<instance>.readonly("<reason>"), which is a sub-class of 'abort'.
"error" exceptions imply a program error.
"abort" exceptions imply the connection should be reset, and
the command re-tried.
"readonly" exceptions imply the command should be re-tried.
Note: to use this module, you must read the RFCs pertaining to the
IMAP4 protocol, as the semantics of the arguments to each IMAP4
command are left to the invoker, not to mention the results. Also,
most IMAP servers implement a sub-set of the commands available here.
cBs|EeZdZdS(uIMAP4.errorN(u__name__u
__module__u__qualname__(u
__locals__((u,/opt/alt/python33/lib64/python3.3/imaplib.pyuerror�suerrorcBs|EeZdZdS(uIMAP4.abortN(u__name__u
__module__u__qualname__(u
__locals__((u,/opt/alt/python33/lib64/python3.3/imaplib.pyuabort�suabortcBs|EeZdZdS(uIMAP4.readonlyN(u__name__u
__module__u__qualname__(u
__locals__((u,/opt/alt/python33/lib64/python3.3/imaplib.pyureadonly�sureadonlyucCs�t|_d|_d|_i|_i|_d|_d|_ d|_
d|_|j||�y|j
�Wn;tk
r�y|j�Wntjk
r�YnX�YnXdS(NuLOGOUTuiF(uDebugudebugustateuNoneuliteralutagged_commandsuuntagged_responsesucontinuation_responseuFalseuis_readonlyutagnumu_tls_establisheduopenu_connectu Exceptionushutdownusocketuerror(uselfuhostuport((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu__init__�s$
uIMAP4.__init__cCs]ttjdd��|_tjd|jdtj�|_d|_d|_ i|_
|jdkr�|jdt
�|jd |j�n|j�|_d
|jkr�d|_n-d|jkr�d
|_n|j|j��|j�|jdkr|jd|jf�nx-tD]%}||jkr<q!n||_dSW|jd��dS(Nii��s(?P<tag>s"\d+) (?P<type>[A-Z]+) (?P<data>.*)i
iiuimaplib version %sunew IMAP4 connection, tag=%suPREAUTHuAUTHuOKuNONAUTHiuCAPABILITIES: %ruserver not IMAP4 compliant(uInt2APurandomurandintutagpreureucompileuASCIIutagreu_cmd_log_lenu_cmd_log_idxu_cmd_logudebugu_mesgu__version__u
_get_responseuwelcomeuuntagged_responsesustateuerroru_get_capabilitiesucapabilitiesuAllowedVersionsuPROTOCOL_VERSION(uselfuversion((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu_connect�s0
uIMAP4._connectcCs3|tkrt||j��Std|��dS(NuUnknown IMAP4 command: '%s'(uCommandsugetattruloweruAttributeError(uselfuattr((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu__getattr__�suIMAP4.__getattr__cCstj|j|jf�S(N(usocketucreate_connectionuhostuport(uself((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu_create_socket�suIMAP4._create_socketcCs:||_||_|j�|_|jjd�|_dS(u�Setup connection to remote server on "host:port"
(default: localhost:standard IMAP4 port).
This connection will be used by the routines:
read, readline, send, shutdown.
urbN(uhostuportu_create_socketusockumakefileufile(uselfuhostuport((u,/opt/alt/python33/lib64/python3.3/imaplib.pyuopen�s u
IMAP4.opencCs|jj|�S(uRead 'size' bytes from remote.(ufileuread(uselfusize((u,/opt/alt/python33/lib64/python3.3/imaplib.pyureadsu
IMAP4.readcCsB|jjtd�}t|�tkr>|jdt��n|S(uRead line from remote.iugot more than %d bytes(ufileureadlineu_MAXLINEulenuerror(uselfuline((u,/opt/alt/python33/lib64/python3.3/imaplib.pyureadline
suIMAP4.readlinecCs|jj|�dS(uSend data to remote.N(usockusendall(uselfudata((u,/opt/alt/python33/lib64/python3.3/imaplib.pyusendsu
IMAP4.sendcCs�|jj�z^y|jjtj�Wn@tjk
ri}z|jtjkrW�nWYdd}~XnXWd|jj�XdS(u Close I/O established in "open".N( ufileucloseusockushutdownusocketu SHUT_RDWRuerroruerrnouENOTCONN(uselfue((u,/opt/alt/python33/lib64/python3.3/imaplib.pyushutdowns
uIMAP4.shutdowncCs|jS(ufReturn socket instance used to connect to IMAP4 server.
socket = <instance>.socket()
(usock(uself((u,/opt/alt/python33/lib64/python3.3/imaplib.pyusocket$suIMAP4.socketcCs]d}|jddg|�\}}|dr8||fS|j�\}}|j|||�S(uReturn most recent 'RECENT' responses if any exist,
else prompt server for an update using the 'NOOP' command.
(typ, [data]) = <instance>.recent()
'data' is None if no new messages,
else list of RECENT responses, most recent last.
uRECENTuOKiNi����(u_untagged_responseuNoneunoop(uselfunameutypudat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyurecent0s
uIMAP4.recentcCs|j|dg|j��S(u�Return data for response 'code' if received, or None.
Old value for response 'code' is cleared.
(code, [data]) = <instance>.response(code)
N(u_untagged_responseuNoneuupper(uselfucode((u,/opt/alt/python33/lib64/python3.3/imaplib.pyuresponseAsuIMAP4.responsecCs�d}|sd}n|rE|d|dfd krKd|}qKnd
}|r`t|�}nd
}tjt|�|_|j||||�S(u�Append message to named mailbox.
(typ, [data]) = <instance>.append(mailbox, flags, date_time, message)
All args except `message' can be None.
uAPPENDuINBOXiiu(u)u(%s)i����(u(u)N(uNoneuTime2InternaldateuMapCRLFusubuCRLFuliteralu_simple_command(uselfumailboxuflagsu date_timeumessageuname((u,/opt/alt/python33/lib64/python3.3/imaplib.pyuappendOs uIMAP4.appendcCsk|j�}t|�j|_|jd|�\}}|dkrX|j|d��nd|_||fS(usAuthenticate command - requires response processing.
'mechanism' specifies which authentication mechanism is to
be used - it must appear in <instance>.capabilities in the
form AUTH=<mechanism>.
'authobject' must be a callable object:
data = authobject(response)
It will be called to process server continuation responses; the
response argument it is passed will be a bytes. It should return bytes
data that will be base64 encoded and sent to the server. It should
return None if the client abort response '*' should be sent instead.
uAUTHENTICATEuOKiuAUTHi����(uupperu_Authenticatoruprocessuliteralu_simple_commanduerrorustate(uselfu mechanismu
authobjectumechutypudat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyuauthenticatefs uIMAP4.authenticatecCs.d}|j|�\}}|j|||�S(uT(typ, [data]) = <instance>.capability()
Fetch capabilities list from server.u
CAPABILITY(u_simple_commandu_untagged_response(uselfunameutypudat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu
capability�suIMAP4.capabilitycCs
|jd�S(uRCheckpoint mailbox on server.
(typ, [data]) = <instance>.check()
uCHECK(u_simple_command(uself((u,/opt/alt/python33/lib64/python3.3/imaplib.pyucheck�suIMAP4.checkcCs0z|jd�\}}Wdd|_X||fS(u�Close currently selected mailbox.
Deleted messages are removed from writable mailbox.
This is the recommended command before 'LOGOUT'.
(typ, [data]) = <instance>.close()
uCLOSENuAUTH(u_simple_commandustate(uselfutypudat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyuclose�s
uIMAP4.closecCs|jd||�S(u�Copy 'message_set' messages onto end of 'new_mailbox'.
(typ, [data]) = <instance>.copy(message_set, new_mailbox)
uCOPY(u_simple_command(uselfumessage_setunew_mailbox((u,/opt/alt/python33/lib64/python3.3/imaplib.pyucopy�su
IMAP4.copycCs|jd|�S(uPCreate new mailbox.
(typ, [data]) = <instance>.create(mailbox)
uCREATE(u_simple_command(uselfumailbox((u,/opt/alt/python33/lib64/python3.3/imaplib.pyucreate�suIMAP4.createcCs|jd|�S(uPDelete old mailbox.
(typ, [data]) = <instance>.delete(mailbox)
uDELETE(u_simple_command(uselfumailbox((u,/opt/alt/python33/lib64/python3.3/imaplib.pyudelete�suIMAP4.deletecCs|jd||�S(u�Delete the ACLs (remove any rights) set for who on mailbox.
(typ, [data]) = <instance>.deleteacl(mailbox, who)
u DELETEACL(u_simple_command(uselfumailboxuwho((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu deleteacl�suIMAP4.deleteaclcCs.d}|j|�\}}|j|||�S(u�Permanently remove deleted items from selected mailbox.
Generates 'EXPUNGE' response for each deleted message.
(typ, [data]) = <instance>.expunge()
'data' is list of 'EXPUNGE'd message numbers in order received.
uEXPUNGE(u_simple_commandu_untagged_response(uselfunameutypudat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyuexpunge�s u
IMAP4.expungecCs4d}|j|||�\}}|j|||�S(u#Fetch (parts of) messages.
(typ, [data, ...]) = <instance>.fetch(message_set, message_parts)
'message_parts' should be a string of selected parts
enclosed in parentheses, eg: "(UID BODY[TEXT])".
'data' are tuples of message part envelope and data.
uFETCH(u_simple_commandu_untagged_response(uselfumessage_setu
message_partsunameutypudat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyufetch�s
uIMAP4.fetchcCs+|jd|�\}}|j||d�S(uXGet the ACLs for a mailbox.
(typ, [data]) = <instance>.getacl(mailbox)
uGETACLuACL(u_simple_commandu_untagged_response(uselfumailboxutypudat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyugetacl�suIMAP4.getaclcCs1|jd|||�\}}|j||d�S(ua(typ, [data]) = <instance>.getannotation(mailbox, entry, attribute)
Retrieve ANNOTATIONs.u
GETANNOTATIONu
ANNOTATION(u_simple_commandu_untagged_response(uselfumailboxuentryu attributeutypudat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu
getannotation�suIMAP4.getannotationcCs+|jd|�\}}|j||d�S(u�Get the quota root's resource usage and limits.
Part of the IMAP4 QUOTA extension defined in rfc2087.
(typ, [data]) = <instance>.getquota(root)
uGETQUOTAuQUOTA(u_simple_commandu_untagged_response(uselfurootutypudat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyugetquota�suIMAP4.getquotacCs^|jd|�\}}|j||d�\}}|j||d�\}}|||gfS(u�Get the list of quota roots for the named mailbox.
(typ, [[QUOTAROOT responses...], [QUOTA responses]]) = <instance>.getquotaroot(mailbox)
uGETQUOTAROOTuQUOTAu QUOTAROOT(u_simple_commandu_untagged_response(uselfumailboxutypudatuquotau quotaroot((u,/opt/alt/python33/lib64/python3.3/imaplib.pyugetquotaroot�suIMAP4.getquotarootu""u*cCs4d}|j|||�\}}|j|||�S(u�List mailbox names in directory matching pattern.
(typ, [data]) = <instance>.list(directory='""', pattern='*')
'data' is list of LIST responses.
uLIST(u_simple_commandu_untagged_response(uselfu directoryupatternunameutypudat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyulistsu
IMAP4.listcCsY|jd||j|��\}}|dkrF|j|d��nd|_||fS(u�Identify client using plaintext password.
(typ, [data]) = <instance>.login(user, password)
NB: 'password' will be quoted.
uLOGINuOKiuAUTHi����(u_simple_commandu_quoteuerrorustate(uselfuuserupasswordutypudat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyulogins
$ uIMAP4.logincCs&|||_|_|jd|j�S(ur Force use of CRAM-MD5 authentication.
(typ, [data]) = <instance>.login_cram_md5(user, password)
uCRAM-MD5(uuserupassworduauthenticateu_CRAM_MD5_AUTH(uselfuuserupassword((u,/opt/alt/python33/lib64/python3.3/imaplib.pyulogin_cram_md5suIMAP4.login_cram_md5cCsZddl}t|jt�r0|jjd�n|j}|jd|j||�j�S(u1 Authobject to use with CRAM-MD5 authentication. iNuASCIIu (uhmacu
isinstanceupasswordustruencodeuuseruHMACu hexdigest(uselfu challengeuhmacupwd((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu_CRAM_MD5_AUTH(s$ uIMAP4._CRAM_MD5_AUTHcCs�d|_y|jd�\}}Wn,ddtj�dd�g}}YnX|j�d|jkr{d|jdfS||fS(u|Shutdown connection to server.
(typ, [data]) = <instance>.logout()
Returns server 'BYE' response.
uLOGOUTuNOu%s: %sNiuBYE(ustateu_simple_commandusysuexc_infoushutdownuuntagged_responses(uselfutypudat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyulogout0s )
uIMAP4.logoutcCs4d}|j|||�\}}|j|||�S(u�List 'subscribed' mailbox names in directory matching pattern.
(typ, [data, ...]) = <instance>.lsub(directory='""', pattern='*')
'data' are tuples of message part envelope and data.
uLSUB(u_simple_commandu_untagged_response(uselfu directoryupatternunameutypudat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyulsub@su
IMAP4.lsubcCs+|jd|�\}}|j||d�S(u�Show my ACLs for a mailbox (i.e. the rights that I have on mailbox).
(typ, [data]) = <instance>.myrights(mailbox)
uMYRIGHTS(u_simple_commandu_untagged_response(uselfumailboxutypudat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyumyrightsKsuIMAP4.myrightscCs.d}|j|�\}}|j|||�S(ub Returns IMAP namespaces ala rfc2342
(typ, [data, ...]) = <instance>.namespace()
u NAMESPACE(u_simple_commandu_untagged_response(uselfunameutypudat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu namespaceSsuIMAP4.namespacecCs/|jdkr"|j|j�n|jd�S(uFSend NOOP command.
(typ, [data]) = <instance>.noop()
iuNOOP(udebugu_dump_uruuntagged_responsesu_simple_command(uself((u,/opt/alt/python33/lib64/python3.3/imaplib.pyunoop]su
IMAP4.noopcCs:d}|j|||||�\}}|j||d�S(u�Fetch truncated part of a message.
(typ, [data, ...]) = <instance>.partial(message_num, message_part, start, length)
'data' is tuple of message part envelope and data.
uPARTIALuFETCH(u_simple_commandu_untagged_response(uselfumessage_numumessage_partustartulengthunameutypudat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyupartialhs!u
IMAP4.partialcCsd}|jd|�S(u�Assume authentication as "user".
Allows an authorised administrator to proxy into any user's
mailbox.
(typ, [data]) = <instance>.proxyauth(user)
u PROXYAUTH(u_simple_command(uselfuuseruname((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu proxyauthts uIMAP4.proxyauthcCs|jd||�S(ukRename old mailbox name to new.
(typ, [data]) = <instance>.rename(oldmailbox, newmailbox)
uRENAME(u_simple_command(uselfu
oldmailboxu
newmailbox((u,/opt/alt/python33/lib64/python3.3/imaplib.pyurename�suIMAP4.renamecGsXd}|r-|j|d||�\}}n|j||�\}}|j|||�S(u�Search mailbox for matching messages.
(typ, [data]) = <instance>.search(charset, criterion, ...)
'data' is space separated list of matching message numbers.
uSEARCHuCHARSET(u_simple_commandu_untagged_response(uselfucharsetucriteriaunameutypudat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyusearch�s
!uIMAP4.searchuINBOXcCs�i|_||_|r!d}nd}|j||�\}}|dkr^d|_||fSd|_d|jkr�|r�|jdkr�|j|j�n|jd|��n||jjd d
g�fS(utSelect a mailbox.
Flush all untagged responses.
(typ, [data]) = <instance>.select(mailbox='INBOX', readonly=False)
'data' is count of messages in mailbox ('EXISTS' response).
Mandated responses are ('FLAGS', 'EXISTS', 'RECENT', 'UIDVALIDITY'), so
other responses should be obtained via <instance>.response('FLAGS') etc.
uEXAMINEuSELECTuOKuAUTHuSELECTEDu READ-ONLYiu%s is not writableuEXISTSN( uuntagged_responsesuis_readonlyu_simple_commandustateudebugu_dump_urureadonlyugetuNone(uselfumailboxureadonlyunameutypudat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyuselect�s
uIMAP4.selectcCs|jd|||�S(uZSet a mailbox acl.
(typ, [data]) = <instance>.setacl(mailbox, who, what)
uSETACL(u_simple_command(uselfumailboxuwhouwhat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyusetacl�suIMAP4.setaclcGs+|jd|�\}}|j||d�S(u_(typ, [data]) = <instance>.setannotation(mailbox[, entry, attribute]+)
Set ANNOTATIONs.u
SETANNOTATIONu
ANNOTATION(u_simple_commandu_untagged_response(uselfuargsutypudat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu
setannotation�suIMAP4.setannotationcCs.|jd||�\}}|j||d�S(uiSet the quota root's resource limits.
(typ, [data]) = <instance>.setquota(root, limits)
uSETQUOTAuQUOTA(u_simple_commandu_untagged_response(uselfurootulimitsutypudat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyusetquota�suIMAP4.setquotacGs^d}|d|dfdkr-d|}n|j||||�\}}|j|||�S( u�IMAP4rev1 extension SORT command.
(typ, [data]) = <instance>.sort(sort_criteria, charset, search_criteria, ...)
uSORTiiu(u)u(%s)i����(u(u)(u_simple_commandu_untagged_response(uselfu
sort_criteriaucharsetusearch_criteriaunameutypudat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyusort�s
u
IMAP4.sortcCsd}ts|jd��n|jr9|jd��n||jkrZ|jd��n|dkr�tjtj�}|j tj
O_ n|j|�\}}|dkr�|j|j
�|_
|j
jd�|_d|_|j�n|jd��|j|||�S( NuSTARTTLSuSSL support missinguTLS session already establisheduTLS not supported by serveruOKurbuCouldn't establish TLS sessionT(uHAVE_SSLuerroru_tls_establisheduabortucapabilitiesuNoneusslu
SSLContextuPROTOCOL_SSLv23uoptionsuOP_NO_SSLv2u_simple_commanduwrap_socketusockumakefileufileuTrueu_get_capabilitiesu_untagged_response(uselfussl_contextunameutypudat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyustarttls�s$
uIMAP4.starttlscCs4d}|j|||�\}}|j|||�S(upRequest named status conditions for mailbox.
(typ, [data]) = <instance>.status(mailbox, names)
uSTATUS(u_simple_commandu_untagged_response(uselfumailboxunamesunameutypudat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyustatus�suIMAP4.statuscCsX|d|dfd kr'd|}n|jd|||�\}}|j||d�S(
u�Alters flag dispositions for messages in mailbox.
(typ, [data]) = <instance>.store(message_set, command, flags)
iiu(u)u(%s)uSTOREuFETCHi����(u(u)(u_simple_commandu_untagged_response(uselfumessage_setucommanduflagsutypudat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyustores
uIMAP4.storecCs|jd|�S(uYSubscribe to new mailbox.
(typ, [data]) = <instance>.subscribe(mailbox)
u SUBSCRIBE(u_simple_command(uselfumailbox((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu subscribesuIMAP4.subscribecGs7d}|j||||�\}}|j|||�S(u�IMAPrev1 extension THREAD command.
(type, [data]) = <instance>.thread(threading_algorithm, charset, search_criteria, ...)
uTHREAD(u_simple_commandu_untagged_response(uselfuthreading_algorithmucharsetusearch_criteriaunameutypudat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyuthreadsuIMAP4.threadcGs�|j�}|tkr.|jd|��n|jt|krp|jd||jdjt|�f��nd}|j|||�\}}|d kr�|}nd}|j|||�S(
u�Execute "command arg ..." with messages identified by UID,
rather than message number.
(typ, [data]) = <instance>.uid(command, arg1, arg2, ...)
Returns response appropriate to 'command'.
uUnknown IMAP4 UID command: %su9command %s illegal in state %s, only allowed in states %su, uUIDuSEARCHuSORTuTHREADuFETCH(uSEARCHuSORTuTHREAD(uupperuCommandsuerrorustateujoinu_simple_commandu_untagged_response(uselfucommanduargsunameutypudat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyuuid s u IMAP4.uidcCs|jd|�S(u_Unsubscribe from old mailbox.
(typ, [data]) = <instance>.unsubscribe(mailbox)
uUNSUBSCRIBE(u_simple_command(uselfumailbox((u,/opt/alt/python33/lib64/python3.3/imaplib.pyuunsubscribe9suIMAP4.unsubscribecGs;|j�}|tkr+|jft|<n|j||�S(uAllow simple extension commands
notified by server in CAPABILITY response.
Assumes command is legal in current state.
(typ, [data]) = <instance>.xatom(name, arg, ...)
Returns response appropriate to extension command `name'.
(uupperuCommandsustateu_simple_command(uselfunameuargs((u,/opt/alt/python33/lib64/python3.3/imaplib.pyuxatomAs
uIMAP4.xatomcCs�|dkrd}n|j}|jdkr\|jd|t|j|d��|f�n||kr|||j|�n
|g||<dS(Nsiu#untagged_responses[%s] %s += ["%r"]u(uNoneuuntagged_responsesudebugu_mesgulenugetuappend(uselfutypudatuur((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu_append_untaggedWs &uIMAP4._append_untaggedcCs>|jjd�}|r:|j|djdd���ndS(NuBYEiuasciiureplacei����(uuntagged_responsesugetuabortudecode(uselfubye((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu
_check_byeesuIMAP4._check_byec
Gs�|jt|krKd|_|jd||jdjt|�f��nx*dD]"}||jkrR|j|=qRqRWd|jkr�|jr�|jd��n|j �}t
|d�}|d |}xO|D]G}|dkr�q�nt|t�rt
|d�}n|d |}q�W|j}|dk r�d|_t
|�t
|j�kr`|}q�d}|t
d
t|�d�}n|jdkr�|jd|�n|jd|�y|j|t�WnAtjtfk
r} z|jd
| ��WYdd} ~ XnX|dkr#|Sx�x!|j�rI|j|r)|Sq)W|rb||j�}n|jdkr�|jdt|��ny|j|�|jt�WnAtjtfk
r�} z|jd
| ��WYdd} ~ XnX|s&Pq&q&|S(Nu9command %s illegal in state %s, only allowed in states %su, uOKuNOuBADu READ-ONLYu#mailbox status changed to READ-ONLYuASCIIs u {%s}iu> %rusocket error: %suwrite literal size %s(uOKuNOuBAD(ustateuCommandsuNoneuliteraluerrorujoinuuntagged_responsesuis_readonlyureadonlyu_new_tagubytesu
isinstanceustrutypeu_commandulenudebugu_mesgu_logusenduCRLFusocketuOSErroruabortu
_get_responseutagged_commandsucontinuation_response(
uselfunameuargsutyputagudatauarguliteralu literatoruval((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu_commandksh
&
&uIMAP4._commandcCs|dkr|j�ny|j|�\}}Wn�|jk
ru}z|jd||f��WYdd}~XnA|jk
r�}z|jd||f��WYdd}~XnX|dkr�|j�n|dkr�|jd|||f��n||fS(NuLOGOUTucommand: %s => %suBADu%s command error: %s %s(u
_check_byeu_get_tagged_responseuabortuerror(uselfunameutagutypudatauval((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu_command_complete�s
+,
uIMAP4._command_completecCsk|j�\}}|dgkr3|jd��nt|dd�}|j�}t|j��|_dS(Nu"no CAPABILITY response from serveriuASCIIi����(u
capabilityuNoneuerrorustruupperutupleusplitucapabilities(uselfutypudat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu_get_capabilities�suIMAP4._get_capabilitiescCs�|j�}|j|j|�r�|jjd�}||jkrX|jd|��n|jjd�}t|d�}|jjd�}||gf|j|<n�d}|jt |�s�|jt
|�r�|jjd�}q�n|jdkr6|jt|�r |jjd�|_dS|jd|��n|jjd�}t|d�}|jjd�}|dkr~d }n|r�|d
|}nx�|jt
|�rt|jjd��}|jdkr�|jd
|�n|j|�}|j|||f�|j�}q�W|j||�|dkr�|jt|�r�|jjd�}t|d�}|j||jjd��n|jdkr�|dkr�|jd||f�n|S(Nutaguunexpected tagged response: %sutypeuASCIIudataudata2uunexpected response: '%s'uasciiss usizeiuread literal size %suOKuNOuBADiuBYEu%s response: %r(uOKuNOuBAD(uNOuBADuBYE(u _get_lineu_matchutagreumougrouputagged_commandsuabortustruNoneuUntagged_responseuUntagged_statusuContinuationucontinuation_responseuLiteraluintudebugu_mesgureadu_append_untaggedu
Response_code(uselfuresputagutypudatudat2usizeudata((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu
_get_response�sP uIMAP4._get_responsecCs�x�|j|}|dk r*|j|=|S|j�y|j�Wq|jk
r�}z$|jdkrv|j�n�WYdd}~XqXqdS(Ni(utagged_commandsuNoneu
_check_byeu
_get_responseuabortudebugu print_log(uselfutaguresultuval((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu_get_tagged_response"s
uIMAP4._get_tagged_responsecCs�|j�}|s$|jd��n|jd�sE|jd��n|dd�}|jdkrx|jd|�n|jd|�|S(Nusocket error: EOFs
usocket error: unterminated lineiiu< %ri����(ureadlineuabortuendswithudebugu_mesgu_log(uselfuline((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu _get_line=suIMAP4._get_linecCsc|j|�|_|jdk rV|jdkrV|jd|j|jj�f�n|jdk S(Niu matched r'%r' => %r(umatchumouNoneudebugu_mesgupatternugroups(uselfucreus((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu_matchPs&uIMAP4._matchcCs@|jtt|j�d�}|jd|_d|j|<|S(NuASCIIi(utagpreubytesustrutagnumuNoneutagged_commands(uselfutag((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu_new_tag\s
uIMAP4._new_tagcCs0|jdd�}|jdd�}d|dS(Nu\u\\u"u\"(ureplace(uselfuarg((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu_quotedsuIMAP4._quotecGs|j||j||��S(N(u_command_completeu_command(uselfunameuargs((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu_simple_commandlsuIMAP4._simple_commandcCsw|dkr||fS||jkr2|dgfS|jj|�}|jdkrm|jd||f�n||fS(NuNOiuuntagged_responses[%s] => %s(uuntagged_responsesuNoneupopudebugu_mesg(uselfutypudatunameudata((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu_untagged_responseqs
uIMAP4._untagged_responsecCsl|dkrtj�}ntjdtj|��}tjjd||dd|f�tjj�dS(Nu%M:%Su
%s.%02d %s
id(uNoneutimeustrftimeu localtimeusysustderruwriteuflush(uselfususecsutm((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu_mesgs
%uIMAP4._mesgcCsU|j�}|sdSd}tdd�|�}|jd||j|�f�dS(Nu
cSs3d|d|ddr+dj|d�p.dfS(Nu%s: "%s"iiu" "u(ujoin(ux((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu<lambda>�su IMAP4._dump_ur.<locals>.<lambda>uuntagged responses dump:%s%s(uitemsumapu_mesgujoin(uselfudictulut((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu_dump_ur�suIMAP4._dump_urcCsM|tj�f|j|j<|jd7_|j|jkrId|_ndS(Nii(utimeu_cmd_logu_cmd_log_idxu_cmd_log_len(uselfuline((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu_log�su
IMAP4._logc Cs�|jdt|j��|j|j}}xY|r�y|j|j|�WnYnX|d7}||jkr{d}n|d8}q0WdS(Nulast %d IMAP4 interactions:ii(u_mesgulenu_cmd_logu_cmd_log_idxu_cmd_log_len(uselfuiun((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu print_log�s
uIMAP4.print_logNF(Qu__name__u
__module__u__qualname__u__doc__u Exceptionuerroruabortureadonlyu
IMAP4_PORTu__init__u_connectu__getattr__u_create_socketuopenureadureadlineusendushutdownusocketurecenturesponseuappenduauthenticateu
capabilityucheckucloseucopyucreateudeleteu deleteacluexpungeufetchugetaclu
getannotationugetquotaugetquotarootulistuloginulogin_cram_md5u_CRAM_MD5_AUTHulogoutulsubumyrightsu namespaceunoopupartialu proxyauthurenameusearchuFalseuselectusetaclu
setannotationusetquotausortuNoneustarttlsustatusustoreu subscribeuthreaduuiduunsubscribeuxatomu_append_untaggedu
_check_byeu_commandu_command_completeu_get_capabilitiesu
_get_responseu_get_tagged_responseu _get_lineu_matchu_new_tagu_quoteu_simple_commandu_untagged_responseu_mesgu_dump_uru_logu print_log(u
__locals__((u,/opt/alt/python33/lib64/python3.3/imaplib.pyuIMAP4vs�,*
M PcBsS|EeZdZdZded d d dd�Zdd�Zdedd�Zd S(
u IMAP4_SSLu3IMAP4 client class over SSL connection
Instantiate with: IMAP4_SSL([host[, port[, keyfile[, certfile[, ssl_context]]]]])
host - host's name (default: localhost);
port - port number (default: standard IMAP4 SSL port);
keyfile - PEM formatted file that contains your private key (default: None);
certfile - PEM formatted certificate chain file (default: None);
ssl_context - a SSLContext object that contains your certificate chain
and private key (default: None)
Note: if ssl_context is provided, then parameters keyfile or
certfile should not be set otherwise ValueError is raised.
for more documentation see the docstring of the parent class IMAP4.
ucCs�|dk r'|dk r'td��n|dk rN|dk rNtd��n||_||_||_tj|||�dS(Nu8ssl_context and keyfile arguments are mutually exclusiveu9ssl_context and certfile arguments are mutually exclusive(uNoneu
ValueErrorukeyfileucertfileussl_contextuIMAP4u__init__(uselfuhostuportukeyfileucertfileussl_context((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu__init__�s uIMAP4_SSL.__init__cCsEtj|�}|jr(|jj|�Stj||j|j�SdS(N(uIMAP4u_create_socketussl_contextuwrap_socketusslukeyfileucertfile(uselfusock((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu_create_socket�s uIMAP4_SSL._create_socketcCstj|||�dS(u�Setup connection to remote server on "host:port".
(default: localhost:standard IMAP4 SSL port).
This connection will be used by the routines:
read, readline, send, shutdown.
N(uIMAP4uopen(uselfuhostuport((u,/opt/alt/python33/lib64/python3.3/imaplib.pyuopen�suIMAP4_SSL.openN( u__name__u
__module__u__qualname__u__doc__uIMAP4_SSL_PORTuNoneu__init__u_create_socketuopen(u
__locals__((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu IMAP4_SSL�s
u IMAP4_SSLcBsh|EeZdZdZdd�Zdddd�Zdd�Zdd �Zd
d�Z dd
�Z
dS(uIMAP4_streamu�IMAP4 client class over a stream
Instantiate with: IMAP4_stream(command)
where "command" is a string that can be passed to subprocess.Popen()
for more documentation see the docstring of the parent class IMAP4.
cCs||_tj|�dS(N(ucommanduIMAP4u__init__(uselfucommand((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu__init__�s uIMAP4_stream.__init__cCsd|_d|_d|_d|_tj|jdtdtj dtj dddd�|_|jj|_
|jj|_dS(u�Setup a stream connection.
This connection will be used by the routines:
read, readline, send, shutdown.
ubufsizeustdinustdoutushellu close_fdsNT(uNoneuhostuportusockufileu
subprocessuPopenucommanduDEFAULT_BUFFER_SIZEuPIPEuTrueuprocessustdinu writefileustdoutureadfile(uselfuhostuport((u,/opt/alt/python33/lib64/python3.3/imaplib.pyuopen�s uIMAP4_stream.opencCs|jj|�S(uRead 'size' bytes from remote.(ureadfileuread(uselfusize((u,/opt/alt/python33/lib64/python3.3/imaplib.pyuread�suIMAP4_stream.readcCs
|jj�S(uRead line from remote.(ureadfileureadline(uself((u,/opt/alt/python33/lib64/python3.3/imaplib.pyureadline�suIMAP4_stream.readlinecCs!|jj|�|jj�dS(uSend data to remote.N(u writefileuwriteuflush(uselfudata((u,/opt/alt/python33/lib64/python3.3/imaplib.pyusendsuIMAP4_stream.sendcCs+|jj�|jj�|jj�dS(u Close I/O established in "open".N(ureadfileucloseu writefileuprocessuwait(uself((u,/opt/alt/python33/lib64/python3.3/imaplib.pyushutdowns
uIMAP4_stream.shutdownN(u__name__u
__module__u__qualname__u__doc__u__init__uNoneuopenureadureadlineusendushutdown(u
__locals__((u,/opt/alt/python33/lib64/python3.3/imaplib.pyuIMAP4_stream�s cBsJ|EeZdZdZdd�Zdd�Zdd�Zdd �Zd
S(u_AuthenticatorucPrivate class to provide en/decoding
for base64-based authentication conversation.
cCs
||_dS(N(umech(uselfumechinst((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu__init__su_Authenticator.__init__cCs5|j|j|��}|dkr(dS|j|�S(Nu*(umechudecodeuNoneuencode(uselfudatauret((u,/opt/alt/python33/lib64/python3.3/imaplib.pyuprocesssu_Authenticator.processcCs�d}t|t�r'|jd�}nxw|r�t|�dkre|dd�}|dd�}n|}d}tj|�}|r*||dd�}q*q*W|S(NsuASCIIi0ii����(u
isinstanceustruencodeulenubinasciiu
b2a_base64(uselfuinpuouputue((u,/opt/alt/python33/lib64/python3.3/imaplib.pyuencodes u_Authenticator.encodecCs|s
dStj|�S(Ns(ubinasciiu
a2b_base64(uselfuinp((u,/opt/alt/python33/lib64/python3.3/imaplib.pyudecode7su_Authenticator.decodeN(u__name__u
__module__u__qualname__u__doc__u__init__uprocessuencodeudecode(u
__locals__((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu_Authenticators
u_Authenticatoru0 Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Decu cCs)i|]\}}|d|j��qS(i(uencode(u.0unus((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu
<dictcomp>=s u
<dictcomp>ic Cs7tj|�}|sd
St|jd�}|jd�}t|jd��}t|jd��}t|jd��}t|jd��}t|jd��}t|jd��} t|jd ��}
| d
|
d
}|dkr�|}n||||||dddf }tj|�|}
tj |
�S(u�Parse an IMAP4 INTERNALDATE string.
Return corresponding local time. The return value is a
time.struct_time tuple or None if the string has wrong format.
umonuzonenudayuyearuhouruminusecuzonehuzonemi<s-iNi����i����i����(
uInternalDateumatchuNoneuMon2numugroupuintucalendarutimegmutimeu localtime(urespumoumonuzonenudayuyearuhouruminusecuzonehuzonemuzoneuttuutc((u,/opt/alt/python33/lib64/python3.3/imaplib.pyuInternaldate2tuple?s$
!cCs\d}d}tt|��}x7|rWt|d�\}}|||d�|}q!W|S(u-Convert integer to A-P string representation.ssABCDEFGHIJKLMNOPii(uintuabsudivmod(unumuvaluAPumod((u,/opt/alt/python33/lib64/python3.3/imaplib.pyuInt2APbs cCs2tj|�}|sfSt|jd�j��S(u-Convert IMAP4 flags response to python tuple.uflags(uFlagsumatchutupleugroupusplit(urespumo((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu
ParseFlagsoscCs�t|ttf�r3tj|tj�j�}n6t|t�r�y
|j }Wntt
k
r�tjr�|d}|dkr�tj
tj|��d}ntjtjf|}n
tj}YnXtd|�}tdt|�|dd��}not|t�r0|jdkr'td��n|}n9t|t�r]|d|d
fdkr]|Std
��djt|j�}|j|�S(u�Convert date_time to IMAP4 INTERNALDATE representation.
Return string in form: '"DD-Mmm-YYYY HH:MM:SS +HHMM"'. The
date_time argument can be a number (int or float) representing
seconds since epoch (as returned by time.time()), a 9-tuple
representing local time, an instance of time.struct_time (as
returned by time.localtime()), an aware datetime instance or a
double-quoted string. In the last case, it is assumed to already
be in the correct format.
iiusecondsutzinfoNiudate_time must be awareiu"udate_time not of a known typeu"%d-{}-%Y %H:%M:%S %z"i����i����(u"u"(u
isinstanceuintufloatudatetimeu
fromtimestamputimezoneuutcu
astimezoneutupleu tm_gmtoffuAttributeErrorutimeudaylightu localtimeumktimeualtzoneu timedeltautzinfouNoneu
ValueErrorustruformatuMonthsumonthustrftime(u date_timeudtugmtoffudstudeltaufmt((u,/opt/alt/python33/lib64/python3.3/imaplib.pyuTime2Internaldatezs0
% )u__main__ud:s:u-du-suuIMAP password for %s on %s: u localhostuJFrom: %(user)s@localhost%(lf)sSubject: IMAP4 test%(lf)s%(lf)sdata...%(lf)suuseru
ulfuloginucreateu
/tmp/xxx 1urenameu/tmp/yyyu
/tmp/yyz 2uappendulistu/tmpuyy*uselectusearchuSUBJECTutestufetchu1u(FLAGS INTERNALDATE RFC822)ustoreuFLAGSu
(\Deleted)u namespaceuexpungeurecentucloseuresponseuUIDVALIDITYuuiduALLuEXISTSulogoutcCsitjd||f�tt|�|�\}}tjd|||f�|dkre|d�n|S(Nu%s %su%s => %s %suNOi(uMu_mesgugetattr(ucmduargsutypudat((u,/opt/alt/python33/lib64/python3.3/imaplib.pyurun�s
urunuPROTOCOL_VERSION = %suCAPABILITIES = %ru/tmp/uyy%u.*"([^"]+)"$udeleteu%su:(FLAGS INTERNALDATE RFC822.SIZE RFC822.HEADER RFC822.TEXT)u
All tests OK.u
Tests failed.u8
If you would like to see debugging output,
try: %s -d5
(Vu__doc__u__version__ubinasciiuerrnourandomureusocketu
subprocessusysutimeucalendarudatetimeutimezoneu timedeltauiouDEFAULT_BUFFER_SIZEussluTrueuHAVE_SSLuImportErroruFalseu__all__uCRLFuDebugu
IMAP4_PORTuIMAP4_SSL_PORTuAllowedVersionsu_MAXLINEuCommandsucompileuContinuationuFlagsuInternalDateuASCIIuLiteraluMapCRLFu
Response_codeuUntagged_responseuUntagged_statusuIMAP4u IMAP4_SSLuappenduIMAP4_streamu_AuthenticatorusplituMonthsu enumerateuMon2numuInternaldate2tupleuInt2APu
ParseFlagsuTime2Internaldateu__name__ugetoptugetpassuargvuoptlistuargsuerroruvaluNoneustream_commanduoptuintuhostugetuseruUSERuPASSWDu test_mesgu test_seq1u test_seq2urunuMustateu_mesguPROTOCOL_VERSIONucapabilitiesucmdumlumatchumougroupupathudatuuiduprint(((u,/opt/alt/python33/lib64/python3.3/imaplib.pyu<module>s8l
����1/9,##
))%
?>