%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/mailman/Mailman/Bouncers/
Upload File :
Create Path :
Current File : //lib/mailman/Mailman/Bouncers/Postfix.pyc

�
��ac@szdZddlZddlmZd�Zejdej�Zejdej�Zejd�Z	d�Z
d	�ZdS(
sTParse bounce messages generated by Postfix.

This also matches something called `Keftamail' which looks just like Postfix
bounces with the word Postfix scratched out and the word `Keftamail' written
in in crayon.

It also matches something claiming to be `The BNS Postfix program', and
`SMTP_Gateway'.  Everybody's gotta be different, huh?
i����N(tStringIOcCsD|j�r3x1|j�D]}t||�qWn
|j|�dS(N(tis_multiparttget_payloadtflattentappend(tmsgtleavestpart((sf/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/Bouncers/Postfix.pyR ss5[ \t]*the\s*(bns)?\s*(postfix|keftamail|smtp_gateway)sfailure reason:$s<(?P<addr>[^>]*)>:cCs�g}t|j��}d}x�|j�}|s7Pn|j�}|dkrvtj|�smtj|�rvd}q!|dkr!|r!tj|�}|r�|j	|j
d��q�q!q!|S(Niitaddr(RRtreadlinetrstriptpcretmatchtrcretacretsearchRtgroup(Rtaddrstbodytstatetlinetmo((sf/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/Bouncers/Postfix.pytfindaddr0s*	cCsx|j�dkrdSg}t||�xH|D]@}|j�dkr0|jdd�j�dkr0t|�Sq0WdS(Nsmultipart/mixedsmultipart/reports
text/plainscontent-descriptionttnotification(smultipart/mixedsmultipart/report(tget_content_typetNoneRtgettlowerR(RRtsubpart((sf/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/Bouncers/Postfix.pytprocessIs

(t__doc__tret	cStringIORRtcompilet
IGNORECASERR
RRR(((sf/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/Bouncers/Postfix.pyt<module>s			

Zerion Mini Shell 1.0