aboutsummaryrefslogtreecommitdiffstats
path: root/tests/msgs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/msgs')
-rw-r--r--tests/msgs/.cvsignore1
-rw-r--r--tests/msgs/Makefile.in68
-rw-r--r--tests/msgs/bad_01.txt62
-rw-r--r--tests/msgs/nimda.txt43
4 files changed, 174 insertions, 0 deletions
diff --git a/tests/msgs/.cvsignore b/tests/msgs/.cvsignore
new file mode 100644
index 00000000..f3c7a7c5
--- /dev/null
+++ b/tests/msgs/.cvsignore
@@ -0,0 +1 @@
+Makefile
diff --git a/tests/msgs/Makefile.in b/tests/msgs/Makefile.in
new file mode 100644
index 00000000..3844820b
--- /dev/null
+++ b/tests/msgs/Makefile.in
@@ -0,0 +1,68 @@
+# Copyright (C) 2001 by the Free Software Foundation, Inc.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public Licenseo
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+# NOTE: Makefile.in is converted into Makefile by the configure script
+# in the parent directory. Once configure has run, you can recreate
+# the Makefile by running just config.status.
+
+# Variables set by configure
+
+VPATH= @srcdir@
+srcdir= @srcdir@
+bindir= @bindir@
+prefix= @prefix@
+exec_prefix= @exec_prefix@
+
+CC= @CC@
+CHMOD= @CHMOD@
+INSTALL= @INSTALL@
+
+DEFS= @DEFS@
+
+# Customizable but not set by configure
+
+OPT= @OPT@
+CFLAGS= $(OPT) $(DEFS)
+MSGSDIR= $(prefix)/tests/msgs
+SHELL= /bin/sh
+
+MSG_FILES= $(srcdir)/*.txt
+
+
+# Modes for directories and executables created by the install
+# process. Default to group-writable directories but
+# user-only-writable for executables.
+DIRMODE= 775
+EXEMODE= 755
+FILEMODE= 644
+INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
+
+# Rules
+all:
+
+install:
+ for f in $(MSG_FILES); \
+ do \
+ $(INSTALL) -m $(FILEMODE) $$f $(MSGSDIR); \
+ done
+
+finish:
+
+clean:
+
+distclean:
+ -rm *.pyc
+ -rm Makefile
diff --git a/tests/msgs/bad_01.txt b/tests/msgs/bad_01.txt
new file mode 100644
index 00000000..04a17267
--- /dev/null
+++ b/tests/msgs/bad_01.txt
@@ -0,0 +1,62 @@
+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
+
+
diff --git a/tests/msgs/nimda.txt b/tests/msgs/nimda.txt
new file mode 100644
index 00000000..fba0ae09
--- /dev/null
+++ b/tests/msgs/nimda.txt
@@ -0,0 +1,43 @@
+Received: from tom.interq.or.jp (tom.interq.or.jp [210.172.128.229])
+ by imap.interq.or.jp with ESMTP id f8J1sCHb006936
+ for <ben@gmo.jp>;
+ Wed, 19 Sep 2001 10:54:13 +0900 (JST)
+Received: from master.debian.org (mail@master.debian.org [216.234.231.130])
+ by tom.interq.or.jp with ESMTP id f8J1sAS04533
+ for <ben@gmo.jp>; ) Wed, 19 Sep 2001 10:54:11 +0900 (JST)
+Date: Wed, 19 Sep 2001 10:54:11 +0900 (JST)
+From: <crt@kiski.net>
+Subject: C:\WINNT\mmc.exebqinsghtmstaskicwconnhtml helpdialerhypertrmgotodlgmsicwie6bakieexbqqviewie6bakeudcediticwdldwintlreadmehypertrmmsicwnpbqv32hypertrmicwhelpieexmscreatehmmapiwrite32npbqs32fixiehtml helpicwconn1write32ie6setupicwtutorieexsupportsetuphtml helplover.com.install
+MIME-Version: 1.0
+Content-Type: multipart/related;
+ type="multipart/alternative";
+ boundary="====_ABC1234567890DEF_===="
+X-Priority: 3
+X-MSMail-Priority: Normal
+X-Unsent: 1
+
+--====_ABC1234567890DEF_====
+Content-Type: multipart/alternative;
+ boundary="====_ABC0987654321DEF_===="
+
+--====_ABC0987654321DEF_====
+Content-Type: text/html;
+ charset="iso-8859-1"
+Content-Transfer-Encoding: quoted-printable
+
+
+<HTML><HEAD></HEAD><BODY bgColor=3D#ffffff>
+<iframe src=3Dcid:EA4DMGBP9p height=3D0 width=3D0>
+</iframe></BODY></HTML>
+--====_ABC0987654321DEF_====--
+
+--====_ABC1234567890DEF_====
+Content-Type: audio/x-wav;
+ name="readme.exe"
+Content-Transfer-Encoding: base64
+Content-ID: <EA4DMGBP9p>
+
+XXXX
+--====_ABC1234567890DEF_====
+
+