summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mailman/Archiver.py19
-rw-r--r--Mailman/Bouncer.py19
-rw-r--r--Mailman/Defaults.py.in19
-rw-r--r--Mailman/Deliverer.py19
-rw-r--r--Mailman/Digester.py19
-rw-r--r--Mailman/Errors.py19
-rw-r--r--Mailman/HTMLFormatter.py19
-rw-r--r--Mailman/ListAdmin.py19
-rw-r--r--Mailman/MailCommandHandler.py19
-rw-r--r--Mailman/MailList.py19
-rw-r--r--Mailman/Mailbox.py19
-rw-r--r--Mailman/Message.py19
-rw-r--r--Mailman/SecurityManager.py19
-rw-r--r--Mailman/Utils.py19
-rw-r--r--Mailman/aliases.py16
-rw-r--r--Mailman/htmlformat.py19
-rw-r--r--Mailman/mm_cfg.py.dist.in19
-rw-r--r--Mailman/smtplib.py17
-rw-r--r--Mailman/versions.py19
-rw-r--r--README30
-rwxr-xr-xcgi/admin17
-rwxr-xr-xcgi/admindb17
-rwxr-xr-xcgi/archives15
-rwxr-xr-xcgi/edithtml17
-rwxr-xr-xcgi/handle_opts17
-rwxr-xr-xcgi/listinfo17
-rwxr-xr-xcgi/options17
-rwxr-xr-xcgi/private17
-rwxr-xr-xcgi/roster17
-rwxr-xr-xcgi/subscribe17
-rwxr-xr-xcron/archive16
-rwxr-xr-xcron/checkdbs17
-rwxr-xr-xcron/mailpasswds17
-rwxr-xr-xcron/senddigests17
-rwxr-xr-xcron/upvolumes_monthly15
-rwxr-xr-xcron/upvolumes_yearly17
-rwxr-xr-xfilters/bowa-strip15
-rwxr-xr-xmail/deliver17
-rw-r--r--mail/dumb_deliver16
-rw-r--r--modules/aliases.py16
-rw-r--r--modules/htmlformat.py19
-rw-r--r--modules/maillist.py19
-rw-r--r--modules/mm_admin.py19
-rw-r--r--modules/mm_archive.py19
-rw-r--r--modules/mm_bouncer.py19
-rw-r--r--modules/mm_cfg.py.in19
-rw-r--r--modules/mm_defaults.py19
-rw-r--r--modules/mm_defaults.py.in19
-rw-r--r--modules/mm_deliver.py19
-rw-r--r--modules/mm_digest.py19
-rw-r--r--modules/mm_err.py19
-rw-r--r--modules/mm_html.py19
-rw-r--r--modules/mm_mailcmd.py19
-rw-r--r--modules/mm_mbox.py19
-rw-r--r--modules/mm_message.py19
-rw-r--r--modules/mm_security.py19
-rw-r--r--modules/mm_utils.py19
-rw-r--r--modules/smtplib.py17
-rw-r--r--modules/versions.py19
-rwxr-xr-xscripts/answer_majordomo_mail16
-rwxr-xr-xscripts/mailcmd17
-rwxr-xr-xscripts/mailowner17
-rwxr-xr-xscripts/owner17
-rwxr-xr-xscripts/post17
-rwxr-xr-xscripts/request17
-rw-r--r--src/Makefile17
-rw-r--r--src/alias-wrapper.c21
-rw-r--r--src/cgi-wrapper.c26
-rw-r--r--src/mail-wrapper.c24
69 files changed, 1193 insertions, 72 deletions
diff --git a/Mailman/Archiver.py b/Mailman/Archiver.py
index 8e56c1d8e..32944a20a 100644
--- a/Mailman/Archiver.py
+++ b/Mailman/Archiver.py
@@ -1,10 +1,27 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""Mixin class for putting new messages in the right place for archival.
Public archives are separated from private ones. An external archival
mechanism (eg, pipermail) should be pointed to the right places, to do the
archival."""
-__version__ = "$Revision: 441 $"
+__version__ = "$Revision: 539 $"
import sys, os, string
import mm_utils, mm_mbox, mm_cfg, mm_message
diff --git a/Mailman/Bouncer.py b/Mailman/Bouncer.py
index 92c4b34ca..5e117cc42 100644
--- a/Mailman/Bouncer.py
+++ b/Mailman/Bouncer.py
@@ -1,6 +1,23 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"Handle delivery bounce messages, doing filtering when list is set for it."
-__version__ = "$Revision: 538 $"
+__version__ = "$Revision: 539 $"
# It's possible to get the mail-list senders address (list-admin) in the
# bounce list. You probably don't want to have list mail sent to that
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in
index dcab24630..28b7ef0a8 100644
--- a/Mailman/Defaults.py.in
+++ b/Mailman/Defaults.py.in
@@ -1,3 +1,20 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""Distributed default settings for significant mailman config variables.
You should NOT edit the values here unless you're changing settings for
@@ -9,7 +26,7 @@ this file, to override the distributed defaults with site-specific ones.
import os
VERSION = '1.0b3'
-__version__ = "$Revision: 519 $"
+__version__ = "$Revision: 539 $"
# The URL for Mailman sources, etc. - you probably don't want to change this.
MAILMAN_URL = 'http://www.list.org/'
diff --git a/Mailman/Deliverer.py b/Mailman/Deliverer.py
index 4ed84fc8f..0d103ebd1 100644
--- a/Mailman/Deliverer.py
+++ b/Mailman/Deliverer.py
@@ -1,6 +1,23 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""Mixin class with message delivery routines."""
-__version__ = "$Revision: 536 $"
+__version__ = "$Revision: 539 $"
import string, os, sys, tempfile
diff --git a/Mailman/Digester.py b/Mailman/Digester.py
index f84cd4742..f85af8c10 100644
--- a/Mailman/Digester.py
+++ b/Mailman/Digester.py
@@ -1,6 +1,23 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""Mixin class with list-digest handling methods and settings."""
-__version__ = "$Revision: 507 $"
+__version__ = "$Revision: 539 $"
import mm_utils, mm_err, mm_message, mm_cfg
import time, os, string, re
diff --git a/Mailman/Errors.py b/Mailman/Errors.py
index 1f8ded433..746c24380 100644
--- a/Mailman/Errors.py
+++ b/Mailman/Errors.py
@@ -1,6 +1,23 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""Shared mailman errors and messages."""
-__version__ = "$Revision: 477 $"
+__version__ = "$Revision: 539 $"
MMUnknownListError = "MMUnknownListError"
diff --git a/Mailman/HTMLFormatter.py b/Mailman/HTMLFormatter.py
index 1a4ab1f2d..ec4f6c4c6 100644
--- a/Mailman/HTMLFormatter.py
+++ b/Mailman/HTMLFormatter.py
@@ -1,6 +1,23 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""Routines for presentation of list-specific HTML text."""
-__version__ = "$Revision: 525 $"
+__version__ = "$Revision: 539 $"
import os
diff --git a/Mailman/ListAdmin.py b/Mailman/ListAdmin.py
index 61a0473fa..047612e27 100644
--- a/Mailman/ListAdmin.py
+++ b/Mailman/ListAdmin.py
@@ -1,6 +1,23 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""Mixin class which handles of administrative requests."""
-__version__ = "$Revision: 394 $"
+__version__ = "$Revision: 539 $"
# When an operation can't be completed, and is sent to the list admin for
# Handling, we consider that an error condition, and raise MMNeedApproval
diff --git a/Mailman/MailCommandHandler.py b/Mailman/MailCommandHandler.py
index 01f999871..c8538a8ac 100644
--- a/Mailman/MailCommandHandler.py
+++ b/Mailman/MailCommandHandler.py
@@ -1,6 +1,23 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""Process maillist user commands arriving via email."""
-__version__ = "$Revision: 489 $"
+__version__ = "$Revision: 539 $"
# Try to stay close to majordomo commands, but accept common mistakes.
# Not implemented: get / index / which.
diff --git a/Mailman/MailList.py b/Mailman/MailList.py
index f141309d7..4aa1bc2e6 100644
--- a/Mailman/MailList.py
+++ b/Mailman/MailList.py
@@ -1,6 +1,23 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"The class representing a mailman maillist. Mixes in many feature classes."
-__version__ = "$Revision: 535 $"
+__version__ = "$Revision: 539 $"
try:
import mm_cfg
diff --git a/Mailman/Mailbox.py b/Mailman/Mailbox.py
index 580f1f290..e3d63a853 100644
--- a/Mailman/Mailbox.py
+++ b/Mailman/Mailbox.py
@@ -1,6 +1,23 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"Extend mailbox.UnixMailbox."
-__version__ = "$Revision: 399 $"
+__version__ = "$Revision: 539 $"
import mailbox
diff --git a/Mailman/Message.py b/Mailman/Message.py
index a13138710..e85af9aff 100644
--- a/Mailman/Message.py
+++ b/Mailman/Message.py
@@ -1,6 +1,23 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""Embody incoming and outgoing messages as objects."""
-__version__ = "$Revision: 499 $"
+__version__ = "$Revision: 539 $"
import sys
diff --git a/Mailman/SecurityManager.py b/Mailman/SecurityManager.py
index d516cd06f..67b9d40ca 100644
--- a/Mailman/SecurityManager.py
+++ b/Mailman/SecurityManager.py
@@ -1,6 +1,23 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""Handle passwords and sanitize approved messages."""
-__version__ = "$Revision: 444 $"
+__version__ = "$Revision: 539 $"
import crypt, types, string, os
diff --git a/Mailman/Utils.py b/Mailman/Utils.py
index 2b9ef7d2c..26e41d196 100644
--- a/Mailman/Utils.py
+++ b/Mailman/Utils.py
@@ -1,3 +1,20 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""Miscellaneous essential routines.
This inncludes actual message transmission routines, address checking and
@@ -5,7 +22,7 @@ message and address munging, a handy-dandy routine to map a function on all
the maillists, the Logging routines, and whatever else doesn't belong
elsewhere."""
-__version__ = "$Revision: 508 $"
+__version__ = "$Revision: 539 $"
import sys, string, fcntl, os, random, regsub, re
diff --git a/Mailman/aliases.py b/Mailman/aliases.py
index 700c062b2..b56d18d14 100644
--- a/Mailman/aliases.py
+++ b/Mailman/aliases.py
@@ -1,3 +1,19 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
# This is mailman's interface to the alias database.
# TODO:
diff --git a/Mailman/htmlformat.py b/Mailman/htmlformat.py
index 9e8228d6f..68b0fe4fc 100644
--- a/Mailman/htmlformat.py
+++ b/Mailman/htmlformat.py
@@ -1,9 +1,26 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""Library for program-based construction of an HTML documents.
Encapsulate HTML formatting directives in classes that act as containers
for python and, recursively, for nested HTML formatting objects."""
-__version__ = "$Revision: 404 $"
+__version__ = "$Revision: 539 $"
# Eventually could abstract down to HtmlItem, which outputs an arbitrary html
# object given start / end tags, valid options, and a value.
diff --git a/Mailman/mm_cfg.py.dist.in b/Mailman/mm_cfg.py.dist.in
index 99865588a..764924859 100644
--- a/Mailman/mm_cfg.py.dist.in
+++ b/Mailman/mm_cfg.py.dist.in
@@ -1,3 +1,20 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""This is the module which takes your site-specific settings.
From a raw distribution it should be copied to mm_cfg.py. If you
@@ -18,7 +35,7 @@ setting by using the value as a format string against the
list-instance-object's dictionary - see the distributed value of
DEFAULT_MSG_FOOTER for an example."""
-__version__ = "$Revision: 445 $"
+__version__ = "$Revision: 539 $"
#######################################################
# Here's where we get the distributed defaults. #
diff --git a/Mailman/smtplib.py b/Mailman/smtplib.py
index db6e3e254..fdb4b3bff 100644
--- a/Mailman/smtplib.py
+++ b/Mailman/smtplib.py
@@ -1,3 +1,20 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
# A quick hack. Talk to the SMTP port.
# Right now this isn't very functional.
# A lot of functionality was borrowed directly from ftplib...
diff --git a/Mailman/versions.py b/Mailman/versions.py
index 9a67be362..8ff02d1e6 100644
--- a/Mailman/versions.py
+++ b/Mailman/versions.py
@@ -1,3 +1,20 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""Routines which rectify an old maillist with current maillist structure.
The maillist .CheckVersion() method looks for an old .data_version
@@ -15,7 +32,7 @@ updates the data_version number of the list, and then does a .Save(), so
the transformations won't be run again until another version change is
detected."""
-__version__ = "$Revision: 439 $"
+__version__ = "$Revision: 539 $"
import re, string, types
import mm_cfg
diff --git a/README b/README
index cc9d1619c..a8780bfce 100644
--- a/README
+++ b/README
@@ -1,24 +1,30 @@
-Mailman 1.0b3 (README $Revision: 531 $, $Date: 1998-05-20 18:28:05 +0100 (Wed, 20 May 1998) $)
+Mailman (README $Revision: 539 $, $Date: 1998-05-25 19:14:57 +0100 (Mon, 25 May 1998) $)
-This is mailman, maillist management software written mostly in
-Python. Mailman was originally developed by John Viega. Ken
-Manheimer picked it up after substantial revisions of the development
-version were lost in a system crash, and refined some of the rough
-edges, enough so that mailman is now the production system for
-python.org. We expect to continue to develop mailman, and see
-blossoming of this very promising foundation as other people join in.
+Mailman - a mailing list management system
+Copyright (C) 1998 by the Free Software Foundation, Inc.
+59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+
+This is Mailman, maillist management software written mostly in
+Python. Mailman was originally developed by John Viega. Subsequent
+development (through version 1.1) was by Ken Manheimer. Currently,
+Mailman development is a group effort, led by John Viega, Ken
+Manheimer and Barry Warsaw.
Initial version of Mailman (v. 0.9) written by John Viega Dec 12-15
1996. Mailman 1.0b3, 2, and 1.1 developments by ken manheimer, 4/98
and 5/98.
+We recommend that you join the mailman user's mailing list. You may
+do so at the following web address (which also is an example of the
+system in action):
+
+ http://www.python.org/mailman/listinfo/mailman-users
+
For anyone interested in joining the development crowd, or just
-tracking the progress, there's a maillist for you to join:
+tracking the progress, there's a developer's mailing list:
- mailman-developers@python.org
+ http://www.python.org/mailman/listinfo/mailman-developers
-Visit http://www.python.org/mailman/listinfo/mailman-developers for
-more info (and for an example of the system in action).
See file DONE for info on changes since v. 0.9
diff --git a/cgi/admin b/cgi/admin
index e3335176f..31057bbf2 100755
--- a/cgi/admin
+++ b/cgi/admin
@@ -1,11 +1,26 @@
#!/usr/local/bin/python
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
"""Process and produce the list-administration options forms.
To run stand-alone for debugging, set env var PATH_INFO to name of list
and, optionally, options category."""
-__version__ = "$Revision: 528 $"
+__version__ = "$Revision: 539 $"
import sys
sys.path.append('/home/mailman/mailman/modules')
diff --git a/cgi/admindb b/cgi/admindb
index c188fe104..3401f864d 100755
--- a/cgi/admindb
+++ b/cgi/admindb
@@ -1,8 +1,23 @@
#!/usr/local/bin/python
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
"""Produce and process the pending-approval items for a list."""
-__version__ = "$Revision: 459 $"
+__version__ = "$Revision: 539 $"
import sys
sys.path.append('/home/mailman/mailman/modules')
diff --git a/cgi/archives b/cgi/archives
index 9019391f9..e13518486 100755
--- a/cgi/archives
+++ b/cgi/archives
@@ -1,4 +1,19 @@
#!/usr/local/bin/python
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
# This script is being deprecated, in favor hookups for an external archiver.
diff --git a/cgi/edithtml b/cgi/edithtml
index f9bfbcbdb..e3680944c 100755
--- a/cgi/edithtml
+++ b/cgi/edithtml
@@ -1,8 +1,23 @@
#!/usr/local/bin/python
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
"""Script which implements admin editing of the list's html templates."""
-__version__ = "$Revision: 405 $"
+__version__ = "$Revision: 539 $"
import sys
sys.path.append('/home/mailman/mailman/modules')
diff --git a/cgi/handle_opts b/cgi/handle_opts
index 858850383..63106d426 100755
--- a/cgi/handle_opts
+++ b/cgi/handle_opts
@@ -1,8 +1,23 @@
#!/usr/local/bin/python
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
"""Process input to user options form."""
-__version__ = "$Revision: 534 $"
+__version__ = "$Revision: 539 $"
import sys
sys.path.append('/home/mailman/mailman/modules')
diff --git a/cgi/listinfo b/cgi/listinfo
index 4437defed..2fb2dfc15 100755
--- a/cgi/listinfo
+++ b/cgi/listinfo
@@ -1,10 +1,25 @@
#!/usr/local/bin/python
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
"""Produce listinfo page, primary web entry-point to maillists.
Errors are redirected to logs/errors."""
-__version__ = "$Revision: 528 $"
+__version__ = "$Revision: 539 $"
# No lock needed in this script, because we don't change data.
diff --git a/cgi/options b/cgi/options
index 5baaf233b..3fb248a0f 100755
--- a/cgi/options
+++ b/cgi/options
@@ -1,4 +1,19 @@
#!/usr/local/bin/python
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
"""Produce user options form, from list options.html template.
@@ -6,7 +21,7 @@ Takes listname/userid in PATH_INFO, expecting an "obscured" userid.
(Depending on the mm_utils.{O,Uno}bscureEmail utilities tolerance,
will work fine with an unobscured ids as well.)"""
-__version__ = "$Revision: 526 $"
+__version__ = "$Revision: 539 $"
# We don't need to lock in this script, because we're never going to change
# data.
diff --git a/cgi/private b/cgi/private
index 4cd631d27..370370a75 100755
--- a/cgi/private
+++ b/cgi/private
@@ -1,4 +1,19 @@
#!/usr/local/bin/python -u
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
"""Provide a password-interface wrapper around a hierarchy of web pages.
@@ -11,7 +26,7 @@ subscribers.
executables are).
"""
-__version__ = "$Revision: 429 $"
+__version__ = "$Revision: 539 $"
import sys, os, string, re
diff --git a/cgi/roster b/cgi/roster
index bdfdaeb23..439e86f0a 100755
--- a/cgi/roster
+++ b/cgi/roster
@@ -1,10 +1,25 @@
#!/usr/local/bin/python
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
"""Produce subscriber roster, using listinfo form data, roster.html template.
Takes listname in PATH_INFO."""
-__version__ = "$Revision: 407 $"
+__version__ = "$Revision: 539 $"
# We don't need to lock in this script, because we're never going to change
# data.
diff --git a/cgi/subscribe b/cgi/subscribe
index e24d89a6c..fa5efd1ff 100755
--- a/cgi/subscribe
+++ b/cgi/subscribe
@@ -1,8 +1,23 @@
#!/usr/local/bin/python
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
"""Process listinfo form submission, ie subscriptions or roster requests."""
-__version__ = "$Revision: 482 $"
+__version__ = "$Revision: 539 $"
import sys
sys.path.append('/home/mailman/mailman/modules')
diff --git a/cron/archive b/cron/archive
index 60e07c350..210118247 100755
--- a/cron/archive
+++ b/cron/archive
@@ -1,5 +1,21 @@
#!/usr/local/bin/python
#
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+#
# NOTE: This is being deprecated since mailman has been shifted over to an
# external archiver (ie, andrew kuchling's latest version of pipermail.)
#
diff --git a/cron/checkdbs b/cron/checkdbs
index b9297a312..f1f08a37e 100755
--- a/cron/checkdbs
+++ b/cron/checkdbs
@@ -1,8 +1,23 @@
#!/usr/local/bin/python
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
"Invoked by cron, checks for pending list requests and mails the admin if any."
-__version__ = "$Revision: 389 $"
+__version__ = "$Revision: 539 $"
import sys, os
diff --git a/cron/mailpasswds b/cron/mailpasswds
index 8bd9f47bd..27f34e4a2 100755
--- a/cron/mailpasswds
+++ b/cron/mailpasswds
@@ -1,4 +1,19 @@
#!/usr/local/bin/python
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
"""Send password reminders for all lists to all users.
@@ -6,7 +21,7 @@ We accumulate users and their passwords, and use the last list to send a
single message to each user with their complete collection of passwords,
rather than sending a single message for each password."""
-__version__ = "$Revision: 408 $"
+__version__ = "$Revision: 539 $"
# This puppy should probably do lots of logging.
diff --git a/cron/senddigests b/cron/senddigests
index 700dd0b6e..320c49aad 100755
--- a/cron/senddigests
+++ b/cron/senddigests
@@ -1,10 +1,25 @@
#!/usr/local/bin/python
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
"""Dispatch digests for lists w/pending messages and digest_send_periodic set.
Typically it's invoked via cron."""
-__version__ = "$Revision: 389 $"
+__version__ = "$Revision: 539 $"
import sys, os
diff --git a/cron/upvolumes_monthly b/cron/upvolumes_monthly
index 5f8f6eebb..99215f96b 100755
--- a/cron/upvolumes_monthly
+++ b/cron/upvolumes_monthly
@@ -1,4 +1,19 @@
#!/usr/local/bin/python
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
# NOTE: This is being deprecated since mailman has been shifted over to an
# external archiver (ie, andrew kuchling's latest version of pipermail.)
diff --git a/cron/upvolumes_yearly b/cron/upvolumes_yearly
index 552973d2e..fa97d1a04 100755
--- a/cron/upvolumes_yearly
+++ b/cron/upvolumes_yearly
@@ -1,5 +1,20 @@
#!/usr/local/bin/python
-
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+#
# NOTE: This is being deprecated since mailman has been shifted over to an
# external archiver (ie, andrew kuchling's latest version of pipermail.)
#
diff --git a/filters/bowa-strip b/filters/bowa-strip
index 1985a0697..0dd527a9a 100755
--- a/filters/bowa-strip
+++ b/filters/bowa-strip
@@ -1,4 +1,19 @@
#!/usr/local/bin/python
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
import sys, __main__, string
diff --git a/mail/deliver b/mail/deliver
index 756a6387e..a84bb539e 100755
--- a/mail/deliver
+++ b/mail/deliver
@@ -1,8 +1,23 @@
#!/usr/local/bin/python
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
"""Partition a mass delivery into a suitable set of subdeliveries."""
-__version__ = "$Revision: 433 $"
+__version__ = "$Revision: 539 $"
# Heh, heh, heh, this partition reminds me of the knapsack problem ;-)
# Ie, the optimal distribution here is NP Complete.
diff --git a/mail/dumb_deliver b/mail/dumb_deliver
index 900ad0486..c59a74ce1 100644
--- a/mail/dumb_deliver
+++ b/mail/dumb_deliver
@@ -1,5 +1,21 @@
#!/usr/local/bin/python
#
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
SENDMAIL_CMD = '/usr/sbin/sendmail -f %s %s'
import os
diff --git a/modules/aliases.py b/modules/aliases.py
index 700c062b2..b56d18d14 100644
--- a/modules/aliases.py
+++ b/modules/aliases.py
@@ -1,3 +1,19 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
# This is mailman's interface to the alias database.
# TODO:
diff --git a/modules/htmlformat.py b/modules/htmlformat.py
index 9e8228d6f..68b0fe4fc 100644
--- a/modules/htmlformat.py
+++ b/modules/htmlformat.py
@@ -1,9 +1,26 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""Library for program-based construction of an HTML documents.
Encapsulate HTML formatting directives in classes that act as containers
for python and, recursively, for nested HTML formatting objects."""
-__version__ = "$Revision: 404 $"
+__version__ = "$Revision: 539 $"
# Eventually could abstract down to HtmlItem, which outputs an arbitrary html
# object given start / end tags, valid options, and a value.
diff --git a/modules/maillist.py b/modules/maillist.py
index f141309d7..4aa1bc2e6 100644
--- a/modules/maillist.py
+++ b/modules/maillist.py
@@ -1,6 +1,23 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"The class representing a mailman maillist. Mixes in many feature classes."
-__version__ = "$Revision: 535 $"
+__version__ = "$Revision: 539 $"
try:
import mm_cfg
diff --git a/modules/mm_admin.py b/modules/mm_admin.py
index 61a0473fa..047612e27 100644
--- a/modules/mm_admin.py
+++ b/modules/mm_admin.py
@@ -1,6 +1,23 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""Mixin class which handles of administrative requests."""
-__version__ = "$Revision: 394 $"
+__version__ = "$Revision: 539 $"
# When an operation can't be completed, and is sent to the list admin for
# Handling, we consider that an error condition, and raise MMNeedApproval
diff --git a/modules/mm_archive.py b/modules/mm_archive.py
index 8e56c1d8e..32944a20a 100644
--- a/modules/mm_archive.py
+++ b/modules/mm_archive.py
@@ -1,10 +1,27 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""Mixin class for putting new messages in the right place for archival.
Public archives are separated from private ones. An external archival
mechanism (eg, pipermail) should be pointed to the right places, to do the
archival."""
-__version__ = "$Revision: 441 $"
+__version__ = "$Revision: 539 $"
import sys, os, string
import mm_utils, mm_mbox, mm_cfg, mm_message
diff --git a/modules/mm_bouncer.py b/modules/mm_bouncer.py
index 92c4b34ca..5e117cc42 100644
--- a/modules/mm_bouncer.py
+++ b/modules/mm_bouncer.py
@@ -1,6 +1,23 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"Handle delivery bounce messages, doing filtering when list is set for it."
-__version__ = "$Revision: 538 $"
+__version__ = "$Revision: 539 $"
# It's possible to get the mail-list senders address (list-admin) in the
# bounce list. You probably don't want to have list mail sent to that
diff --git a/modules/mm_cfg.py.in b/modules/mm_cfg.py.in
index 99865588a..764924859 100644
--- a/modules/mm_cfg.py.in
+++ b/modules/mm_cfg.py.in
@@ -1,3 +1,20 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""This is the module which takes your site-specific settings.
From a raw distribution it should be copied to mm_cfg.py. If you
@@ -18,7 +35,7 @@ setting by using the value as a format string against the
list-instance-object's dictionary - see the distributed value of
DEFAULT_MSG_FOOTER for an example."""
-__version__ = "$Revision: 445 $"
+__version__ = "$Revision: 539 $"
#######################################################
# Here's where we get the distributed defaults. #
diff --git a/modules/mm_defaults.py b/modules/mm_defaults.py
index dcab24630..28b7ef0a8 100644
--- a/modules/mm_defaults.py
+++ b/modules/mm_defaults.py
@@ -1,3 +1,20 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""Distributed default settings for significant mailman config variables.
You should NOT edit the values here unless you're changing settings for
@@ -9,7 +26,7 @@ this file, to override the distributed defaults with site-specific ones.
import os
VERSION = '1.0b3'
-__version__ = "$Revision: 519 $"
+__version__ = "$Revision: 539 $"
# The URL for Mailman sources, etc. - you probably don't want to change this.
MAILMAN_URL = 'http://www.list.org/'
diff --git a/modules/mm_defaults.py.in b/modules/mm_defaults.py.in
index dcab24630..28b7ef0a8 100644
--- a/modules/mm_defaults.py.in
+++ b/modules/mm_defaults.py.in
@@ -1,3 +1,20 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""Distributed default settings for significant mailman config variables.
You should NOT edit the values here unless you're changing settings for
@@ -9,7 +26,7 @@ this file, to override the distributed defaults with site-specific ones.
import os
VERSION = '1.0b3'
-__version__ = "$Revision: 519 $"
+__version__ = "$Revision: 539 $"
# The URL for Mailman sources, etc. - you probably don't want to change this.
MAILMAN_URL = 'http://www.list.org/'
diff --git a/modules/mm_deliver.py b/modules/mm_deliver.py
index 4ed84fc8f..0d103ebd1 100644
--- a/modules/mm_deliver.py
+++ b/modules/mm_deliver.py
@@ -1,6 +1,23 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""Mixin class with message delivery routines."""
-__version__ = "$Revision: 536 $"
+__version__ = "$Revision: 539 $"
import string, os, sys, tempfile
diff --git a/modules/mm_digest.py b/modules/mm_digest.py
index f84cd4742..f85af8c10 100644
--- a/modules/mm_digest.py
+++ b/modules/mm_digest.py
@@ -1,6 +1,23 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""Mixin class with list-digest handling methods and settings."""
-__version__ = "$Revision: 507 $"
+__version__ = "$Revision: 539 $"
import mm_utils, mm_err, mm_message, mm_cfg
import time, os, string, re
diff --git a/modules/mm_err.py b/modules/mm_err.py
index 1f8ded433..746c24380 100644
--- a/modules/mm_err.py
+++ b/modules/mm_err.py
@@ -1,6 +1,23 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""Shared mailman errors and messages."""
-__version__ = "$Revision: 477 $"
+__version__ = "$Revision: 539 $"
MMUnknownListError = "MMUnknownListError"
diff --git a/modules/mm_html.py b/modules/mm_html.py
index 1a4ab1f2d..ec4f6c4c6 100644
--- a/modules/mm_html.py
+++ b/modules/mm_html.py
@@ -1,6 +1,23 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""Routines for presentation of list-specific HTML text."""
-__version__ = "$Revision: 525 $"
+__version__ = "$Revision: 539 $"
import os
diff --git a/modules/mm_mailcmd.py b/modules/mm_mailcmd.py
index 01f999871..c8538a8ac 100644
--- a/modules/mm_mailcmd.py
+++ b/modules/mm_mailcmd.py
@@ -1,6 +1,23 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""Process maillist user commands arriving via email."""
-__version__ = "$Revision: 489 $"
+__version__ = "$Revision: 539 $"
# Try to stay close to majordomo commands, but accept common mistakes.
# Not implemented: get / index / which.
diff --git a/modules/mm_mbox.py b/modules/mm_mbox.py
index 580f1f290..e3d63a853 100644
--- a/modules/mm_mbox.py
+++ b/modules/mm_mbox.py
@@ -1,6 +1,23 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"Extend mailbox.UnixMailbox."
-__version__ = "$Revision: 399 $"
+__version__ = "$Revision: 539 $"
import mailbox
diff --git a/modules/mm_message.py b/modules/mm_message.py
index a13138710..e85af9aff 100644
--- a/modules/mm_message.py
+++ b/modules/mm_message.py
@@ -1,6 +1,23 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""Embody incoming and outgoing messages as objects."""
-__version__ = "$Revision: 499 $"
+__version__ = "$Revision: 539 $"
import sys
diff --git a/modules/mm_security.py b/modules/mm_security.py
index d516cd06f..67b9d40ca 100644
--- a/modules/mm_security.py
+++ b/modules/mm_security.py
@@ -1,6 +1,23 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""Handle passwords and sanitize approved messages."""
-__version__ = "$Revision: 444 $"
+__version__ = "$Revision: 539 $"
import crypt, types, string, os
diff --git a/modules/mm_utils.py b/modules/mm_utils.py
index 2b9ef7d2c..26e41d196 100644
--- a/modules/mm_utils.py
+++ b/modules/mm_utils.py
@@ -1,3 +1,20 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""Miscellaneous essential routines.
This inncludes actual message transmission routines, address checking and
@@ -5,7 +22,7 @@ message and address munging, a handy-dandy routine to map a function on all
the maillists, the Logging routines, and whatever else doesn't belong
elsewhere."""
-__version__ = "$Revision: 508 $"
+__version__ = "$Revision: 539 $"
import sys, string, fcntl, os, random, regsub, re
diff --git a/modules/smtplib.py b/modules/smtplib.py
index db6e3e254..fdb4b3bff 100644
--- a/modules/smtplib.py
+++ b/modules/smtplib.py
@@ -1,3 +1,20 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
# A quick hack. Talk to the SMTP port.
# Right now this isn't very functional.
# A lot of functionality was borrowed directly from ftplib...
diff --git a/modules/versions.py b/modules/versions.py
index 9a67be362..8ff02d1e6 100644
--- a/modules/versions.py
+++ b/modules/versions.py
@@ -1,3 +1,20 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
"""Routines which rectify an old maillist with current maillist structure.
The maillist .CheckVersion() method looks for an old .data_version
@@ -15,7 +32,7 @@ updates the data_version number of the list, and then does a .Save(), so
the transformations won't be run again until another version change is
detected."""
-__version__ = "$Revision: 439 $"
+__version__ = "$Revision: 539 $"
import re, string, types
import mm_cfg
diff --git a/scripts/answer_majordomo_mail b/scripts/answer_majordomo_mail
index 1d8dbade2..8a7220e5f 100755
--- a/scripts/answer_majordomo_mail
+++ b/scripts/answer_majordomo_mail
@@ -1,4 +1,20 @@
#!/usr/local/bin/python
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+#
# This is another script that's really just for my use, but
# feel free to use it if you know how...
diff --git a/scripts/mailcmd b/scripts/mailcmd
index 7b2cc9f75..3b767d7b4 100755
--- a/scripts/mailcmd
+++ b/scripts/mailcmd
@@ -1,4 +1,19 @@
#! /usr/local/bin/python
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
"""Process emailed commands.
@@ -7,7 +22,7 @@ of the target mailing list.
Errors are redirected to logs/errors."""
-__version__ = "$Revision: 399 $"
+__version__ = "$Revision: 539 $"
import sys
diff --git a/scripts/mailowner b/scripts/mailowner
index 829d9ff58..70a9b0d85 100755
--- a/scripts/mailowner
+++ b/scripts/mailowner
@@ -1,4 +1,19 @@
#! /usr/local/bin/python
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
"""Send a message to the maillist owner.
@@ -7,7 +22,7 @@ This script gets called by the wrapper.
Stdin is the mail message, and argv[1] is the name of the mailing list
whose owner(s) to send mail to."""
-__version__ = "$Revision: 417 $"
+__version__ = "$Revision: 539 $"
import sys
diff --git a/scripts/owner b/scripts/owner
index 829d9ff58..70a9b0d85 100755
--- a/scripts/owner
+++ b/scripts/owner
@@ -1,4 +1,19 @@
#! /usr/local/bin/python
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
"""Send a message to the maillist owner.
@@ -7,7 +22,7 @@ This script gets called by the wrapper.
Stdin is the mail message, and argv[1] is the name of the mailing list
whose owner(s) to send mail to."""
-__version__ = "$Revision: 417 $"
+__version__ = "$Revision: 539 $"
import sys
diff --git a/scripts/post b/scripts/post
index ec5e3cecf..195894c23 100755
--- a/scripts/post
+++ b/scripts/post
@@ -1,4 +1,19 @@
#! /usr/local/bin/python
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
"""Accept posts to a list and handle them properly.
@@ -7,7 +22,7 @@ This script is invoked via the mail wrapper.
Stdin is the mail message, and argv[1] is the name of the target mailing
list."""
-__version__ = "$Revision: 416 $"
+__version__ = "$Revision: 539 $"
# Todo: check size of To: list < 100
# Send back why the post was rejected.
diff --git a/scripts/request b/scripts/request
index 7b2cc9f75..3b767d7b4 100755
--- a/scripts/request
+++ b/scripts/request
@@ -1,4 +1,19 @@
#! /usr/local/bin/python
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
"""Process emailed commands.
@@ -7,7 +22,7 @@ of the target mailing list.
Errors are redirected to logs/errors."""
-__version__ = "$Revision: 399 $"
+__version__ = "$Revision: 539 $"
import sys
diff --git a/src/Makefile b/src/Makefile
index c519f4ac6..d246f2e9c 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,3 +1,20 @@
+# Copyright (C) 1998 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 License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+
+
HOME=/home/mailman
CGI=${HOME}/cgi-bin
MAILMAN=${HOME}/mailman
diff --git a/src/alias-wrapper.c b/src/alias-wrapper.c
index 0c419cd9d..212f04c50 100644
--- a/src/alias-wrapper.c
+++ b/src/alias-wrapper.c
@@ -1,3 +1,24 @@
+/*
+** alias-wrapper.c:
+** wrapper to allow the mailman user to modify the aliases database.
+**
+** Copyright (C) 1998 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 License
+** along with this program; if not, write to the Free Software
+** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+*/
+
#include <stdio.h>
diff --git a/src/cgi-wrapper.c b/src/cgi-wrapper.c
index f62fe9e7b..5c6ac9504 100644
--- a/src/cgi-wrapper.c
+++ b/src/cgi-wrapper.c
@@ -1,22 +1,42 @@
/*
+** cgi-wrapper.c:
** generic wrapper that will take info from a environment
** variable, and pass it to two commands.
**
-** 10-17-96 : Hal Schechner
+** Copyright (C) 1998 by the Free Software Foundation, Inc.
**
-** 12-14-96 : John Viega -- changed to work on 1 command, take a list of
+** 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 License
+** along with this program; if not, write to the Free Software
+** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+**
+** 10-17-96 : Hal Schechner (hal-j@channel21.com)
+**
+** 12-14-96 : John Viega (viega@list.org)
+** changed to work on 1 command, take a list of
** valid commands, just pass on argv, and use
** execvp() Also threw in some useful feedback for
** when there's a failure, mainly for future
** debugging.
**
-** 03-31-98 : John Viega -- Consolidated all CGI wrappers into 1, removed
+** 03-31-98 : John Viega (viega@list.org)
+** Consolidated all CGI wrappers into 1, removed
** checking the command name, (it was not real
** security anyway...) and changed it to use
** syslog on error. This definitely doesn't have
** any of Hal's code left ;-)
**
*/
+
#include <stdio.h>
#include <stdarg.h>
#include <syslog.h>
diff --git a/src/mail-wrapper.c b/src/mail-wrapper.c
index 3969c57e3..3ad0803d4 100644
--- a/src/mail-wrapper.c
+++ b/src/mail-wrapper.c
@@ -1,17 +1,35 @@
/*
+** mail-wrapper.c:
** generic wrapper that will take info from a environment
** variable, and pass it to two commands.
**
-** 10-17-96 : Hal Schechner
+** Copyright (C) 1998 by the Free Software Foundation, Inc.
**
-** 12-14-96 : John Viega -- changed to work on 1 command, take a list of
+** 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 License
+** along with this program; if not, write to the Free Software
+** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+**
+** 10-17-96 : Hal Schechner (hal-j@channel21.com)
+**
+** 12-14-96 : John Viega (viega@list.org)
+** changed to work on 1 command, take a list of
** valid commands, just pass on argv, and use
** execvp() Also threw in some useful feedback for
** when there's a failure, mainly for future
** debugging. Made it a root script so we could
** call setuid()
**
-** Chmod this bitch 4755.
+** Chmod this 4755.
**
*/
#include <stdio.h>