diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/aliases.py | 16 | ||||
| -rw-r--r-- | modules/htmlformat.py | 19 | ||||
| -rw-r--r-- | modules/maillist.py | 19 | ||||
| -rw-r--r-- | modules/mm_admin.py | 19 | ||||
| -rw-r--r-- | modules/mm_archive.py | 19 | ||||
| -rw-r--r-- | modules/mm_bouncer.py | 19 | ||||
| -rw-r--r-- | modules/mm_cfg.py.in | 19 | ||||
| -rw-r--r-- | modules/mm_defaults.py | 19 | ||||
| -rw-r--r-- | modules/mm_defaults.py.in | 19 | ||||
| -rw-r--r-- | modules/mm_deliver.py | 19 | ||||
| -rw-r--r-- | modules/mm_digest.py | 19 | ||||
| -rw-r--r-- | modules/mm_err.py | 19 | ||||
| -rw-r--r-- | modules/mm_html.py | 19 | ||||
| -rw-r--r-- | modules/mm_mailcmd.py | 19 | ||||
| -rw-r--r-- | modules/mm_mbox.py | 19 | ||||
| -rw-r--r-- | modules/mm_message.py | 19 | ||||
| -rw-r--r-- | modules/mm_security.py | 19 | ||||
| -rw-r--r-- | modules/mm_utils.py | 19 | ||||
| -rw-r--r-- | modules/smtplib.py | 17 | ||||
| -rw-r--r-- | modules/versions.py | 19 |
20 files changed, 357 insertions, 18 deletions
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 |
