1
"""Throw email at Mailman as fast as you can.
3
This is not a unit test, it's a functional test, so you can't run it within
4
the unit test framework (hence its filename doesn't start with `test_').
5
Here's how I use this one:
9
- add an alias to your MTA, say `devnull' that pipes its messages to, you
12
- make this address a member of your list
14
- add another address to `accept_these_non_members', let's call it ok@dom.ain
16
- change the FROMADDR variable to ok@dom.ain
18
- change the LISTADDR variable to point to your list
20
- run this program like so: python fblast.py N
21
where N is the number of seconds to sleep before sending the next msg
23
- let this run until you're tired of it, then hit ^C
26
FROMADDR = 'ok@dom.ain'
27
LISTADDR = 'list@dom.ain'
36
snooze = int(sys.argv[1])
47
conn.sendmail(FROMADDR, [LISTADDR], """\