php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /usr/lib/mailman/Mailman/Handlers/ |
files >> //usr/lib/mailman/Mailman/Handlers/SpamDetect.pyo |
Pc @ s d Z d d k Z d d k l Z d d k l Z d d k l Z d d k l Z d d k l Z d d k l Z y e e f Wn e j o d Z d Z n Xd Z d e i f d YZ d e i f d YZ e i Z d d d YZ d e f d YZ d Z d S( s9 Do more detailed spam detection. This module hard codes site wide spam detection. By hacking the KNOWN_SPAMMERS variable, you can set up more regular expression matches against message headers. If spam is detected the message is discarded immediately. TBD: This needs to be made more configurable and robust. iN( t StringIO( t Generator( t mm_cfg( t Errors( t i18n( t hold_for_approvali i c C s | S( N( ( t s( ( sd /builddir/build/BUILDROOT/mailman-2.1.12-18.el6.i386//usr/lib/mailman/Mailman/Handlers/SpamDetect.pyt _. s t SpamDetectedc B s e Z d Z RS( s The message contains known spam( t __name__t __module__t __doc__( ( ( sd /builddir/build/BUILDROOT/mailman-2.1.12-18.el6.i386//usr/lib/mailman/Mailman/Handlers/SpamDetect.pyR 3 s t HeaderMatchHoldc B s e Z e d Z RS( s) The message headers matched a filter rule( R R R t reason( ( ( sd /builddir/build/BUILDROOT/mailman-2.1.12-18.el6.i386//usr/lib/mailman/Mailman/Handlers/SpamDetect.pyR 6 s t Teec B s e Z d Z d Z RS( c C s | | _ | | _ d S( N( t _outfp_at _outfp_b( t selft outfp_at outfp_b( ( sd /builddir/build/BUILDROOT/mailman-2.1.12-18.el6.i386//usr/lib/mailman/Mailman/Handlers/SpamDetect.pyt __init__@ s c C s$ | i i | | i i | d S( N( R t writeR ( R R ( ( sd /builddir/build/BUILDROOT/mailman-2.1.12-18.el6.i386//usr/lib/mailman/Mailman/Handlers/SpamDetect.pyR D s ( R R R R ( ( ( sd /builddir/build/BUILDROOT/mailman-2.1.12-18.el6.i386//usr/lib/mailman/Mailman/Handlers/SpamDetect.pyR ? s t HeaderGeneratorc B s) e Z e d d Z d Z d Z RS( iN c C s# t i | | | | d | _ d S( Nt ( R R t _headertxt( R t outfpt mangle_from_t maxheaderlen( ( sd /builddir/build/BUILDROOT/mailman-2.1.12-18.el6.i386//usr/lib/mailman/Mailman/Handlers/SpamDetect.pyR K s c C sX t } | i } t | | | _ z t i | | Wd | | _ X| i | _ d S( N( R t _fpR R t _write_headerst getvalueR ( R t msgt sfpt oldfp( ( sd /builddir/build/BUILDROOT/mailman-2.1.12-18.el6.i386//usr/lib/mailman/Mailman/Handlers/SpamDetect.pyR O s c C s | i S( N( R ( R ( ( sd /builddir/build/BUILDROOT/mailman-2.1.12-18.el6.i386//usr/lib/mailman/Mailman/Handlers/SpamDetect.pyt header_textY s ( R R t TrueR R R"