%PDF- %PDF-
| Direktori : /lib/mailman/tests/ |
| Current File : //lib/mailman/tests/onebounce.pyo |
�
�ac @ s� d Z d d l Z d d l Z d d l Z d d l Z d d l m Z e j d Z d Z d d � Z
d � Z e d k r� e � n d S(
sY Test the bounce detection for files containing bounces.
Usage: %(PROGRAM)s [options] file1 ...
Options:
-h / --help
Print this text and exit.
-v / --verbose
Verbose output.
-a / --all
Run the message through all the bounce modules. Normally this script
stops at the first one that finds a match.
i����N( t
BouncerAPIi s , t c C s+ t t � GH| r | GHn t j | � d S( N( t __doc__t globalst syst exit( t codet msg( ( s] /builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/tests/onebounce.pyt usage/ s c C s� y/ t j t j d d d d d g � \ } } Wn# t j k
rT } t d | � n Xd } } xW | D]O \ } } | d k r� t d � qf | d k r� d } qf | d k rf d } qf qf Wx� | D]� } t | � } t j | � } | j � x� t j
D]� } d
| }
t |
� t j |
j
| � } | t j k rJ| Gd GH| sJPqJn | se| r�| Gd GHq�q� | Gd Gt j | � GH| s� Pq� q� Wq� Wd S( Ni t hvat helpt verboset alli s -hs --helps -vs --verboses -as --alls Mailman.Bouncers.s
got a Stops found no matchest found( s -hs --help( s -vs --verbose( s -as --all( t getoptR t argvt errorR t opent emailt message_from_filet closeR t BOUNCE_PIPELINEt
__import__t modulest processt Stopt
COMMASPACEt join( t optst argsR R R t optt argt filet fpt modulet modnamet addrs( ( s] /builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/tests/onebounce.pyt main7 s>