%PDF- %PDF-
Direktori : /lib/mailman/Mailman/Bouncers/ |
Current File : //lib/mailman/Mailman/Bouncers/Netscape.pyo |
� ��ac @ sb d Z d d l Z d d l m Z e j d e j � Z e j d e j � Z d � Z d � Z d S( sd Netscape Messaging Server bounce formats. I've seen at least one NMS server version 3.6 (envy.gmp.usyd.edu.au) bounce messages of this format. Bounces come in DSN MIME format, but don't include any -Recipient: headers. Gotta just parse the text :( NMS 4.1 (dfw-smtpin1.email.verio.net) seems even worse, but we'll try to decipher the format here too. i����N( t StringIOs; This Message was undeliverable due to the following reason:s. (?P<reply>please reply to)?.*<(?P<addr>[^>]*)>c C sD | j � r3 x1 | j � D] } t | | � q Wn | j | � d S( N( t is_multipartt get_payloadt flattent append( t msgt leavest part( ( sg /builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/Bouncers/Netscape.pyR ) s c C s) | j � s d Sd } g } t | | � xI t t t | � d � | � D]( \ } } | j � d k rI | } PqI qI W| s d St | j � � } g } x� | j � } | s� Pn t j | � } | r� xZ | j � } | s� Pn t j | � } | r� | j d � r� | j | j d � � q� q� q� q� | S( Ni s text/plaint replyt addr( R t NoneR t zipt ranget lent get_content_typeR R t readlinet pcret searcht acret groupR ( R t plainmsgR t it subpartt bodyt addrst linet mo( ( sg /builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/Bouncers/Netscape.pyt process3 s6 ,"( t __doc__t ret cStringIOR t compilet IGNORECASER R R R ( ( ( sg /builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/Bouncers/Netscape.pyt <module> s