%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/mailman/tests/
Upload File :
Create Path :
Current File : //lib/mailman/tests/fblast.pyo

�
�ac@sdZdZdZddlZddlZddlZej�Zej�e	ej
d�Zz�dZx�ej
jd�ej
j�ed7Zeddkr�HnxCed	�D]5Zejeegd
ied6ed6ed
6�q�Weje�qkWdej�XdS(s�Throw email at Mailman as fast as you can.

This is not a unit test, it's a functional test, so you can't run it within
the unit test framework (hence its filename doesn't start with `test_').
Here's how I use this one:

- set up a dummy list

- add an alias to your MTA, say `devnull' that pipes its messages to, you
  guessed it, /dev/null

- make this address a member of your list

- add another address to `accept_these_non_members', let's call it ok@dom.ain

- change the FROMADDR variable to ok@dom.ain

- change the LISTADDR variable to point to your list

- run this program like so: python fblast.py N
  where N is the number of seconds to sleep before sending the next msg

- let this run until you're tired of it, then hit ^C
s
ok@dom.ainslist@dom.aini����Nit.i2ii
s]From: %(FROMADDR)s
To: $(LISTADDR)s
Subject: test %(num)d
X-No-Archive: yes

testing %(num)d
tnumtFROMADDRtLISTADDR(t__doc__RRtsysttimetsmtplibtSMTPtconntconnecttinttargvtsnoozetitstdouttwritetflushtrangetjtsendmailtsleeptquit(((sZ/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/tests/fblast.pyt<module>s.





Zerion Mini Shell 1.0