%PDF- %PDF-
Mini Shell

Mini Shell

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

�
��ac@s�dZddlmZddlmZddlmZddlmZddlmZddlm	Z	ddlm
Z
dd	lmZdd
lm
Z
e
jZyeefWnek
r�dZdZnXd
dd��YZdS(s+Mixin class with message delivery routines.i����(tMIMEText(tMIMEMessage(tmm_cfg(tErrors(tUtils(tMessage(ti18n(tPending(tsyslogiit	DeliverercBsJeZdd�Zd�Zd�Zdded�Zd�Zd�Z	RS(tcCsy|j|�}|jr1tj|j�d}nd}|jrg|j|�}tjtd��}nd}|tjdi	|jd6|j	d6|d6|d6|j
�d	6|jd
dt�d6|j
|dt�d
6|d6|j|�d6d|d|�7}|rtd�}	nd}	|j}
tj|j|�|j�td�||�}d|d<|j|dtj�dS(Ns
R
s�Note: Since this is a list of mailing lists, administrative
notices like the password reminder will be sent to
your membership administrative address, %(addr)s.ssubscribeack.txtt	real_namet	host_nametwelcometumbrellat	emailaddrtlistinfotabsolutetlistinfo_urlt
optionsurltpasswordtusertlangtmlists (Digest mode)s5Welcome to the "%(realname)s" mailing list%(digmode)styessX-No-Archivetverp(tgetMemberLanguagetwelcome_msgRtwrapt
umbrella_listtGetMemberAdminEmailt_tmaketextRRtGetListEmailtGetScriptURLtTruet
GetOptionsURLtgetMemberCPAddressRtUserNotificationtGetRequestEmailtsendRtVERP_PERSONALIZED_DELIVERIES(tselftnameRtdigestttexttpluserR
taddrRtdigmodetrealnametmsg((s_/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/Deliverer.pytSendSubscribeAck+s>				


		
cCs_|j}tj|j|�|j�td�tj|j�|�}|j	|dt
j�dS(Ns=You have been unsubscribed from the %(realname)s mailing listR(RRR&RtGetBouncesEmailRRRtgoodbye_msgR(RR)(R*R/RR1R2((s_/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/Deliverer.pytSendUnsubscribeAckRs		cCs�d|j|jf}|j�}|j�}|j|�s�tdd||j��|j�}|su|j�nz$|j	|t
j��|j�Wd|s�|j
�nXn|j|�}|j|�}td�}|j|�}	t
j|	�}
|j|�}t||
d�j|
d�}t
jdi|d6|jd6|j�d	6|d
6|j|dt�d6|d
6|j�d6d|	d|�}tj|||||	�}
d|
d<|
j|dtj�dS(Ns%s@%sterrors(User %s had a false password for list %ss&%(listfullname)s mailing list remindertreplacesuserpass.txtRtlistnamet
fqdn_lnameRRtoptions_urltrequestaddrt	owneraddrRRRsX-No-ArchiveR(RRR'R4tgetMemberPasswordRt
internal_nametLockedtLocktsetMemberPasswordRtMakeRandomPasswordtSavetUnlockR%RRRt
GetCharSettunicodetencodeR R!R$R#t
GetOwnerEmailRR&R(RR)(R*RtlistfullnameR<t	adminaddrt	waslockedtcpusert	recipienttsubjectRtcsetRR-R2((s_/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/Deliverer.pytMailUserPasswordZsF	



	
cCs�|dkrtd�}n|dkr6td�}nttj|�dtj|j��}t|�}tj	||d|�}|j
d�|j|�|j|�|j|�dS(NsNo reason givens(no subject)t_charsetttomoderatorssmultipart/mixed(
tNoneRRRRRFtpreferred_languageRRtOwnerNotificationtset_typetattachR((R*R2R-RORSt
attachmenttnotice((s_/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/Deliverer.pytForwardMessage�s


cCs|j�}tdd|||�tj|td�tjtd���}|j|�y&ddlm	}||dt
�}Wntjk
r�dSXt
j�}t
j|j�z;tj|td�tjtd���}|j|�Wdt
j|�XdS(	Ntmischiefs(%s was invited to %s but confirmed to %ss%Hostile subscription attempt detecteds�%(address)s was invited to a different mailing
list, but in a deliberate malicious attempt they tried to confirm the
invitation to your list.  We just thought you'd like to know.  No further
action by you is required.i����(tMailListtlocks�You invited %(address)s to your list, but in a
deliberate malicious attempt, they tried to confirm the invitation to a
different list.  We just thought you'd like to know.  No further action by you
is required.(R?RRRVRRRR(tMailman.MailListR]tFalseRtMMListErrorRtget_translationtset_languageRUtset_translation(R*R9taddresstselfnameR2R]Rtotrans((s_/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/Deliverer.pytSendHostileSubscriptionNotice�s0	
		
		c
Cs�|j}i|d6|d6|j|dt�d6|j�d6}tjd|d|j|�d|�}|jtj	||�}i|j
�d	d
6|d6}dtj||j
f}|j|�}	tj�}
tj|	�ztd
�}Wdtj|
�Xtj|||d|	�}|jd�t|dtj|	��}|j|�|jt|��|j|d|dtd|�dS(NR9ReRRR=s	probe.txtRRs-bouncestbouncesttokens%s@%ss'%(listname)s mailing list probe messagesmultipart/mixedRRt	envsenderRtprobe_token(RR$R#RIRR Rtpend_newRtPROBE_BOUNCER?RtVERP_PROBE_FORMATRRRbRcRRdRR&RWRRFRXRR(R`(
R*tmemberR2R9tdR-Rjt	probedictt	probeaddrtulangRgROtouter((s_/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/Deliverer.pyt	sendProbe�s6	
	



	

N(
t__name__t
__module__R3R6RQRTR#R[RhRv(((s_/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/Deliverer.pyR	*s'		0	&N((t__doc__temail.MIMETextRtemail.MIMEMessageRtMailmanRRRRRRtMailman.Logging.SyslogRRR#R`t	NameErrorR	(((s_/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/Deliverer.pyt<module>s 	



Zerion Mini Shell 1.0