ó
Kü½cc           @   s„   d  Z  d d l Z d d l m Z d d d „  ƒ  YZ e ƒ  Z d d d d	 d
 d d d d d d d d d d d d g Z d „  Z d S(   s  Contains all the common functionality for msg bounce scanning API.

This module can also be used as the basis for a bounce detection testing
framework.  When run as a script, it expects two arguments, the listname and
the filename containing the bounce message.

iÿÿÿÿN(   t   syslogt   _Stopc           B   s   e  Z RS(    (   t   __name__t
   __module__(    (    (    s:   /export/web/mailman/mailman/Mailman/Bouncers/BouncerAPI.pyR   "   s   t   DSNt   Qmailt   Postfixt   Yahoot   Caiwirelesst   Exchanget   Eximt   Netscapet
   Compuservet	   Microsoftt	   GroupWiset   SMTP32t   SimpleMatcht   SimpleWarningt   Yalet   LLNLt   AOLc         C   sI   xB t  D]: } d | } t | ƒ t j | j | ƒ } | r | Sq Wg  S(   Ns   Mailman.Bouncers.(   t   BOUNCE_PIPELINEt
   __import__t   syst   modulest   process(   t   mlistt   msgt   modulet   modnamet   addrs(    (    s:   /export/web/mailman/mailman/Mailman/Bouncers/BouncerAPI.pyt   ScanMessages>   s    

(    (   t   __doc__R   t   Mailman.Logging.SyslogR    R   t   StopR   R   (    (    (    s:   /export/web/mailman/mailman/Mailman/Bouncers/BouncerAPI.pyt   <module>   s,   		