%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/mailman/Mailman/Handlers/
Upload File :
Create Path :
Current File : //lib/mailman/Mailman/Handlers/Approve.pyo

�
��ac@s�dZddlZddlmZddlmZddlmZyeefWne	k
rodZdZnXdZ
d	�Zed
�Z[d�Z
d�ZdS(
s3Determine whether the message is approved for delivery.

This module only tests for definitive approvals.  IOW, this module only
determines whether the message is definitively approved or definitively
denied.  Situations that could hold a message for approval or confirmation are
not tested by this module.
i����N(ttyped_subpart_iterator(tmm_cfg(tErrorsiis
cCs|S(N((ts((sf/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/Handlers/Approve.pyt_*ss�Message rejected.
It appears that this message contains an HTML part with the
Approved: password line, but due to the way it is coded in the
HTML it can't be safely removed.
c	Cs�g}x0dD](}|j||�}||k	r
Pq
q
W||kr5d}t}xt|dd�D]}PqdW|dk	rd|j�dk	rd|jdt�j�}d}	x9ttt	|��|�D]\}
}	|	j
�r�Pq�q�W|	jd	�}|d
krd|	| }|	|d}
|j�dkra|
j
�}||
=t|tj|��t}qaqdn|r5|dtj|�}x�t|d�D]�}|dk	r�|j�dk	r�|jdt�}tj||�r�t|tj|d|��q+tj|tjd
d|��r+tjt�q+q�q�Wq5n||k	r||jtjtjtjf|�r|d|d<d|d<ng|jdg�D]}|j
�j�^q�}|j�j�|kr�tj�ndS(Ntapprovedtapproves
x-approveds	x-approvettexttplaintdecodett:iis:(�|\s|&nbsp;)*s	(?s)<.*?>t
adminapprovedsx-beenthere(RRs
x-approveds	x-approve(RRs	x-approves
x-approved( tgettNonetFalseRtget_payloadtTruet
splitlinestziptrangetlentstriptfindtlowertlstript
reset_payloadtNLtjointretescapetsearchtsubRt
RejectMessagetREJECTtAuthenticateRtAuthListPostertAuthListModeratort
AuthListAdmintget_alltGetListEmailt	LoopError(tmlisttmsgtmsgdatatmissingthdrtpasswdtparttstrippedtlinestlinetlinenotitnametvaluetpatternRt
beentheres((sf/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/Handlers/Approve.pytprocess6s\
(
		!		

1cCs�|j�pd}|j�}|jd�}|jd�}|d=|d=|j||�|j|�|r�|jd|�n|r�|jd|�ndS(Nsus-asciitformattdelspscontent-transfer-encodingscontent-typetFormattDelSp(tget_content_charsettget_content_typet	get_paramtset_payloadtset_typet	set_param(R0tpayloadtcsettctypeR;R<((sf/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/Handlers/Approve.pyR�s
(t__doc__Rtemail.IteratorsRtMailmanRRRRt	NameErrorRRR"R:R(((sf/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/Handlers/Approve.pyt<module>s 

			a

Zerion Mini Shell 1.0