diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/fblast.py | 60 | ||||
| -rw-r--r-- | tests/msgs/bad_01.txt | 62 |
2 files changed, 0 insertions, 122 deletions
diff --git a/tests/fblast.py b/tests/fblast.py deleted file mode 100644 index 50368b3be..000000000 --- a/tests/fblast.py +++ /dev/null @@ -1,60 +0,0 @@ -"""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 -""" - -FROMADDR = 'ok@dom.ain' -LISTADDR = 'list@dom.ain' - -import sys -import time -import smtplib - -conn = smtplib.SMTP() -conn.connect() - -snooze = int(sys.argv[1]) - -try: - i = 1 - while 1: - sys.stdout.write('.') - sys.stdout.flush() - i += 1 - if i % 50 == 0: - print - for j in range(10): - conn.sendmail(FROMADDR, [LISTADDR], """\ -From: %(FROMADDR)s -To: $(LISTADDR)s -Subject: test %(num)d -X-No-Archive: yes - -testing %(num)d -""" % {'num' : i, - 'FROMADDR': FROMADDR, - 'LISTADDR': LISTADDR, - }) - time.sleep(snooze) -finally: - conn.quit() diff --git a/tests/msgs/bad_01.txt b/tests/msgs/bad_01.txt deleted file mode 100644 index 04a172677..000000000 --- a/tests/msgs/bad_01.txt +++ /dev/null @@ -1,62 +0,0 @@ -From xxxxx@webmail6.catholic.org Mon Oct 2 22:11:14 2000 -Return-Path: <xxxxx@webmail6.catholic.org> -Delivered-To: mailman-developers@python.org -Received: from webmail6.catholic.org (unknown [63.196.163.10]) - by dinsdale.python.org (Postfix) with ESMTP id 680521CF4C - for <mailman-developers@python.org>; Mon, 2 Oct 2000 22:11:14 -0400 (EDT) -Received: (from root@localhost) - by webmail6.catholic.org (8.10.1/8.10.1) id e932BDE08525; - Mon, 2 Oct 2000 19:11:13 -0700 (PDT) -To: "catholic.org@catholicnet.org.uk" <@@forward@@.python.org> -Received: from dinsdale.python.org (dinsdale.cnri.reston.va.us [132.151.1.21]) - by webmail6.catholic.org (8.10.1/8.10.1) with SMTP id e932BBa08476 - for <xxxxx@catholic.org>; Mon, 2 Oct 2000 19:11:11 -0700 (PDT) -Received: from dinsdale.python.org (localhost [127.0.0.1]) - by dinsdale.python.org (Postfix) with ESMTP - id 1DF9A1CF35; Mon, 2 Oct 2000 22:11:07 -0400 (EDT) -Delivered-To: mailman-users@python.org -Received: from alb-net.com (www.alb-net.com [205.216.244.65]) - by dinsdale.python.org (Postfix) with ESMTP - id 55FEC1CF28; Mon, 2 Oct 2000 22:10:11 -0400 (EDT) -Received: from localhost (localhost [127.0.0.1]) - by alb-net.com (8.11.0/8.11.0) with ESMTP id e932AAU22315; - Mon, 2 Oct 2000 22:10:10 -0400 (EDT) -From: Zzzzz TTTT <zzzzz@alb-net.com> -Cc: mailman-developers@python.org -Message-ID: <Pine.GSO.4.21.0010022206280.5021-100000@alb-net.com> -Organization: "http://www.alb-net.com/" -X-Loop: ZZZZZ -MIME-Version: 1.0 -Content-Type: TEXT/PLAIN; charset=US-ASCII -Subject: [Mailman-Users] "download the full raw archive" -Sender: mailman-users-admin@python.org -Errors-To: mailman-users-admin@python.org -X-BeenThere: mailman-users@python.org -X-Mailman-Version: 2.0beta6 -Precedence: bulk -List-Help: <mailto:mailman-users-request@python.org?subject=help> -List-Post: <mailto:mailman-users@python.org> -List-Subscribe: <http://www.python.org/mailman/listinfo/mailman-users>, <mailto:mailman-users-request@python.org?subject=subscribe> -List-Id: Mailman mailing list management users <mailman-users.python.org> -List-Unsubscribe: <http://www.python.org/mailman/listinfo/mailman-users>, <mailto:mailman-users-request@python.org?subject=unsubscribe> -List-Archive: <http://www.python.org/pipermail/mailman-users/> -Date: Mon, 2 Oct 2000 22:10:10 -0400 (EDT) -X-Date-Received: Tue, 3 Oct 2000 02:11:12 -0800 -X-EdgeMail-Forward: catholic.org@catholicnet.org.uk <@@forward@@> - - -Doesn't this link run contrary to the "obscure_addresses" Option? - -Even if I have the obscure_addresses Option set to YES, the e-mail -addresses of public archives can be still harvested by various robots out -there. - -later, -Zzzzz - - ------------------------------------------------------- -Mailman-Users maillist - Mailman-Users@python.org -http://www.python.org/mailman/listinfo/mailman-users - - |
