%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib/mailman/tests/
Upload File :
Create Path :
Current File : //usr/lib/mailman/tests/test_bounces.pyc

�
�ac@s�dZddlZddlZddlZddlZyddlmZWnek
riddlZnXddl	m
Z
dejfd��YZd�Z
edkr�ejd	d
�ndS(s"Test the bounce detection modules.i����N(t__init__(tStopt
BounceTestchBs;eZdddgfdddgfdddgfdddgfdd	d
gfddd
gfdddgfdddgfdddgfdddgfdddgfdddgfdddgfdddgfddd gfdd!d"gfdd#d$gfdd%d&gfdd'd(gfdd)d*gfdd+d,gfdd-d.gfdd/d0d1gfdd2d3gfdd4d5gfdd6d7gfdd8d9gfdd:d;gfdd<d=gfdd>d?gfdd@dAgfddBdCgfddDdEgfddFdGgfddHdIgfddJdKgfddLdMgfddNdOgfddPdQgfddRdSgfddTdUgfddVdWgfddXdYgfddZd[gfdd\d]gfd^d_efd^d`efd^daefd^dbefd^dcefdddedfgfdddggfdhdgdigfdjdkdldmgfdndodpgfdndqdrgfdndsdtgfdndudvgfdndwefdndxefdndyefdndzefdnd{d|gfdnd}d~gfdndd�gfdnd�d�gfdnd�d�gfdnd�d�gfdnd�d�gfdnd�d�gfdnd�efdhd�d�gfdhd�d�gfd�d�d�gfd�d�d�gfd�d�d�gfd�d�d�d�gfd�d�d�gfd�d�d�gfd�d�d�gfd�d�d�gfd�d�d�gfd�d�d�gfd�d�d�gfd�d�d�gfd�d�d�gfd�d�d�gfd�d�d�gfd�d�d�d�gfd�d�d�gfd�d�d�gfd�d�d�gfd�d�d�d�gfd�d�d�d�gfd�d�d�d�d�d�gfd�d�d�d�d�d�gfd�d�d�d�d�d�d�d�gfd�d�d�d�gfd�d�d�d�d�gfd�d�d�d�gfd�d�d�gffeZd��Zd��Zd��Zd��ZRS(�tPostfixspostfix_01.txtsxxxxx@local.iespostfix_02.txtsyyyyy@digicool.comspostfix_03.txtsttttt@ggggg.comspostfix_04.txtsdavidlowie@mail1.keftamail.comspostfix_05.txtsbjelf@detectit.nettEximsexim_01.txtsdelangen@its.tudelft.nltSimpleMatchssendmail_01.txtszzzzz@nfg.nls
simple_01.txtsbbbsss@turbosport.coms
simple_02.txtschris.ggggmmmm@usa.nets
simple_04.txtsclaird@starbase.neosoft.comsnewmailru_01.txtszzzzz@newmail.rus
hotpop_01.txtsallensmithee@hotpop.comsmicrosoft_03.txtsmidica@banknbr.coms
simple_05.txtsrlosardo@sbcglobal.nets
simple_06.txtsdlyle@hamiltonpacific.coms
simple_07.txtswilliam.xxxx@sbcglobal.nets
simple_08.txtsseverin.XXX@t-online.des
simple_09.txtsRobotMail@auto-walther.des
simple_10.txtssais@thehartford.coms
simple_11.txtscarlosr73@hartfordlife.coms
simple_12.txtscharrogar@rhine1.andrew.ac.jps
simple_13.txtsdycusibreix@ademe.frs
simple_14.txtsdump@dachamp.comsiqxwmmfauudpo@dachamp.coms
simple_15.txtsisam@kviv.bes
simple_16.txtsxvlogtfsei@the-messenger.coms
simple_17.txtsinternetsailing@gmail.coms
simple_18.txtspowell@kesslersupply.coms
simple_19.txtsmcfall@cepi.com.ars
simple_20.txtsduke@ald.socgen.coms
simple_23.txtsketchuy@dadoservice.its
simple_24.txtsliberty@gomaps.coms
simple_25.txtsmahau@cnbearing.coms
simple_26.txtsreilizavet@lar.ieo.its
simple_27.txtskulp@webmail.pla.net.pys
simple_29.txtsthilakayi_bing@landshire.coms
simple_30.txtswmnqicorpat@nqicorp.coms
simple_31.txtsnmorel@actisce.frs
simple_32.txtsteteyn@agence-forbin.coms
simple_33.txtshmu@extralumin.coms
simple_34.txtsroland@xxx.coms
simple_36.txts
garyt@xxx.coms
simple_37.txtsuser@uci.edus
simple_38.txtsprueba@domain.coms
bounce_02.txtsacinsp1@midsouth.rr.coms
bounce_03.txtsjames@jeborall.demon.co.ukt
SimpleWarnings
simple_03.txts
simple_21.txts
simple_22.txts
simple_28.txts
simple_35.txtt	GroupWisesgroupwise_01.txtsthoff@MAINEX1.ASU.EDUsgroupwise_02.txttExchangesomarmo@thebas.comtYalesyale_01.txtsthomas.dtankengine@cs.yale.edusthomas.dtankengine@yale.edutDSNs
dsn_01.txtsJimmyMcEgypt@go.coms
dsn_02.txtszzzzz@zeus.hud.ac.uks
dsn_03.txtsddd.kkk@advalvas.bes
dsn_04.txtsmax.haas@unibas.chs
dsn_05.txts
dsn_06.txts
dsn_07.txts
dsn_08.txts
dsn_09.txtspr@allen-heath.coms
dsn_10.txtsanne.person@dom.ains
dsn_11.txtsjoem@example.coms
dsn_12.txtsauaauqdgrdz@jtc-con.co.jps
dsn_13.txtsmarcooherbst@cardinal.coms
dsn_14.txtsartboardregistration@home.dks
dsn_15.txtshoru@ccc-ces.coms
dsn_16.txtshishealinghand@pastors.coms
dsn_17.txtsmicrosoft_01.txtsDJBENNETT@IKON.COMsmicrosoft_02.txtsMDMOORE@BALL.COMtSMTP32s
smtp32_01.txtsoliver@pcworld.com.phs
smtp32_02.txtslists@mail.spicynoodles.coms
smtp32_03.txtsborisk@gw.xraymedia.coms
smtp32_04.txtsafter_another@pacbell.netsone_bad_address@pacbell.nets
smtp32_05.txts!jmrpowersports@jmrpowersports.coms
smtp32_06.txts!Absolute_garbage_addr@pacbell.nets
smtp32_07.txtsinfo@husbyran.comtQmailsqmail_01.txtspsadisc@wwwmail.n-h.desqmail_02.txtsrauschlo@frontfin.comsqmail_03.txtscrown@hbc.co.jpsqmail_04.txtsmerotiia@tennisnsw.com.ausqmail_05.txts&ivokggrrdvc@caixaforte.freeservers.comsqmail_06.txtsntl@xxx.comsqmail_07.txtsuser@example.nettLLNLsllnl_01.txtstrotts1@llnl.govtNetscapesnetscape_01.txtsaaaaa@corel.comsbbbbb@corel.comtYahoosyahoo_01.txts%subscribe.motorcycles@listsociety.comsyahoo_02.txtsagarciamartiartu@yahoo.essyahoo_03.txtscresus22@yahoo.comsyahoo_04.txtsopen00now@yahoo.co.uksyahoo_05.txtsjjb700@yahoo.comsyahoo_06.txtsandrew_polevoy@yahoo.comsbaruch_sterin@yahoo.comsrjhoeks@yahoo.comstritonrugger91@yahoo.comsyahoo_07.txtsmark1960_1998@yahoo.comsovchenkov@yahoo.comstsa412@yahoo.comsvaxheadroom@yahoo.comsyahoo_08.txtschatrathis@yahoo.comscrownjules01@yahoo.comscwl_999@yahoo.comseichaiwiu@yahoo.comsyuli_kolesnikov@yahoo.comsyahoo_09.txtshankel_o_fung@yahoo.comsultravirus2001@yahoo.comsyahoo_10.txtsjajcchoo@yahoo.comslyons94706@yahoo.comsturtle4jne@yahoo.comtSinassina_01.txtsboboman76@sina.comsalan_t18@sina.comtAOLs
aol_01.txtsscreenname@aol.comc	Cs�x�|jD]�\}}}d|}t|�ttjjdd|��}ztj|�}Wd|j�Xt	j
|j|�}|dkr�g}n|t
k	r�g|D]}|j�^q�}|j�|j�n|j||�q
WdS(NsMailman.Bouncers.tteststbounces(tDATAt
__import__topentostpathtjointemailtmessage_from_filetclosetsystmodulestprocesstNoneRtstriptsorttassertEqual(	tselftmodnametfiletaddrstmoduletfptmsgt
foundaddrstfound((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/tests/test_bounces.pyttest_bounce�s

	

cCs�ddlm}ttjjddd��}ztj|�}Wd|j�X|j	|ddk	�|j	|j|��dS(Ni����(RRRspostfix_01.txtsx-mailer(tMailman.BouncersRRRRRRRRtfailIfR R(R$RR)R*((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/tests/test_bounces.pyttest_SMTP32_failure�scCs<ddlm}tjd�}|jd|j|��dS(Ni����(tCaiwirelesssMContent-Type: multipart/report; boundary=BOUNDARY

--BOUNDARY

--BOUNDARY--

(R.R1Rtmessage_from_stringR#R R(R$R1R*((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/tests/test_bounces.pyttest_caiwireless�s	cCs<ddlm}tjd�}|jd|j|��dS(Ni����(t	MicrosoftsMContent-Type: multipart/report; boundary=BOUNDARY

--BOUNDARY

--BOUNDARY--

(R.R4RR2R#R R(R$R4R*((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/tests/test_bounces.pyttest_microsoft�s	(t__name__t
__module__RRR-R0R3R5(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/tests/test_bounces.pyR!s�																									
cCs&tj�}|jtjt��|S(N(tunittestt	TestSuitetaddTestt	makeSuiteR(tsuite((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/tests/test_bounces.pyR<�st__main__tdefaultTestR<(t__doc__RRR8RtMailmanRtImportErrortpathstMailman.Bouncers.BouncerAPIRtTestCaseRR<R6tmain(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/tests/test_bounces.pyt<module>s
�	

Zerion Mini Shell 1.0