MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 216.73.216.185
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /lib64/python2.7/Demo/scripts/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //lib64/python2.7/Demo/scripts/mboxconvert.pyo
�
V
�Qc@s�ddlZddlZddlZddlZddlZddlZddlZd�Zejd�Z	d�Z
d�Zdadd�Z
ed	kr�e�ndS(
i����Nc	Cs�t}y#tjtjdd�\}}Wn7tjk
rb}tjjd|�tjd�nXx)|D]!\}}|dkrjt}qjqjW|s�dg}nd}x�|D]�}|dks�|dkr�|tj	�p�|}q�t
jj|�rt
|�p|}q�t
jj|�r�yt|�}Wn6tk
re}tjjd	||f�d}q�nX||�pu|}|j�q�tjjd
|�d}q�W|r�tj|�ndS(Nitfs%s
is-ft-its%s: %s
s%s: not found
(tmmdftgetopttsystargvterrortstderrtwritetexittmessagetstdintostpathtisdirtmhtisfiletopentIOErrortclose(	tdofiletoptstargstmsgtotatststargR((s0/usr/lib64/python2.7/Demo/scripts/mboxconvert.pytmains<#



s[1-9][0-9]*cCs�d}tj|�}x�|D]�}tj|�t|�krCqntjj||�}yt|�}Wn6tk
r�}t	j
jd||f�d}qnXt|�p�|}qW|S(Nis%s: %s
i(
R
tlistdirtnumerictmatchtlenRtjoinRRRRR	R(tdirRtmsgsRtfnR((s0/usr/lib64/python2.7/Demo/scripts/mboxconvert.pyR2s
cCsad}xT|j�}|sPn|dkrCt||�p=|}q	tjjd|f�q	|S(Nis
sBad line in MMFD mailbox: %r
(treadlineRRRR	(RRtline((s0/usr/lib64/python2.7/Demo/scripts/mboxconvert.pyRBs	iRc
Csyd}tj|�}|jd�\}}|jd�}|rQtj|�}n<tjjd|j	d�f�t
j|j��t
j}dG|Gtj|�GHx|jD]
}|Gq�W|jd�stdadt|�tf}	tjjd|	|f�d	G|	GHnHx`|j�}||kr0Pn|sPtjjd
�d}Pn|d dkrmd
|}n|GqH|S(NitFromtDatesUnparseable date: %r
s
message-idis<%s.%d>sAdding Message-ID %s (From %s)
sMessage-ID:sUnexpected EOF in message
isFrom t>(trfc822tMessagetgetaddrtgetdatettimetmktimeRRR	t	getheaderR
tfstattfilenotstattST_MTIMEtctimetheadersthas_keytcounterthexR&(
Rt	delimiterRtmtfullnametemailtttttR'tmsgid((s0/usr/lib64/python2.7/Demo/scripts/mboxconvert.pyRQs@	

t__main__(R+RR/R
R4RtreRtcompileRRRR9Rt__name__(((s0/usr/lib64/python2.7/Demo/scripts/mboxconvert.pyt<module>s	!		
*

MMCT - 2023