Index: NEWS =================================================================== RCS file: /cvsroot/mailman/mailman/NEWS,v retrieving revision 1.25.2.13 retrieving revision 1.25.2.14 diff -u -r1.25.2.13 -r1.25.2.14 --- NEWS 3 Apr 2002 22:50:10 -0000 1.25.2.13 +++ NEWS 9 Apr 2002 20:57:40 -0000 1.25.2.14 @@ -4,6 +4,14 @@ Here is a history of user visible changes to Mailman. +2.0.10 (09-Apr-2002) + + - Closed another small race condition. + + - Add the RFC-2822 recommended Message-ID: header on internally + generated outgoing messages. Not all MTAs add this field if + missing (read: Qmail). + 2.0.9 (02-Apr-2002) - Closed a race condition which could, under rare circumstances, Index: Mailman/Message.py =================================================================== RCS file: /cvsroot/mailman/mailman/Mailman/Message.py,v retrieving revision 1.40.2.2 retrieving revision 1.40.2.3 diff -u -r1.40.2.2 -r1.40.2.3 --- Mailman/Message.py 3 Apr 2002 22:40:41 -0000 1.40.2.2 +++ Mailman/Message.py 4 Apr 2002 21:14:59 -0000 1.40.2.3 @@ -196,10 +196,14 @@ # make sure that the first line does NOT contain a colon! Message.__init__(self, StringIO(text)) # RFC 2822 requires a Date: header, and while most MTAs add one if - # it's missing, Qmail does not. + # it's missing, qmail does not. if not self.get('date'): self['Date'] = Utils.formatdate(localtime=1) - + # RFC 2822 recommends a Message-ID: header, and while most MTAs add + # one if it's missing, qmail does not. + if not self.get('message-id'): + self['Message-ID'] = Utils.make_msgid(idstring='Mailman') + class UserNotification(OutgoingMessage): Index: Mailman/Utils.py =================================================================== RCS file: /cvsroot/mailman/mailman/Mailman/Utils.py,v retrieving revision 1.104.2.5 retrieving revision 1.104.2.6 diff -u -r1.104.2.5 -r1.104.2.6 --- Mailman/Utils.py 3 Apr 2002 22:47:12 -0000 1.104.2.5 +++ Mailman/Utils.py 4 Apr 2002 21:14:23 -0000 1.104.2.6 @@ -28,6 +28,8 @@ import string import re import time +import socket +import random from UserDict import UserDict from types import StringType import random @@ -737,3 +739,28 @@ 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'][now[1] - 1], now[0], now[3], now[4], now[5], zone) + + + +def make_msgid(idstring=None): + """Returns a string suitable for RFC 2822 compliant Message-ID:, e.g: + + <20020201195627.33539.96671@nightshade.la.mastaler.com> + + Optional idstring if given is a string used to strengthen the + uniqueness of the Message-ID, otherwise an empty string is used. + """ + timeval = time.time() + utcdate = time.strftime('%Y%m%d%H%M%S', time.gmtime(timeval)) + pid = os.getpid() + randint = random.randrange(100000) + if idstring is None: + idstring = '' + else: + idstring = '.' + idstring + try: + idhost = socket.getfqdn() + except AttributeError: + idhost = socket.gethostbyaddr(socket.gethostname())[0] + msgid = '<%s.%s.%s%s@%s>' % (utcdate, pid, randint, idstring, idhost) + return msgid Index: Mailman/Version.py =================================================================== RCS file: /cvsroot/mailman/mailman/Mailman/Version.py,v retrieving revision 1.20.2.9 retrieving revision 1.20.2.10 diff -u -r1.20.2.9 -r1.20.2.10 --- Mailman/Version.py 2 Apr 2002 23:36:35 -0000 1.20.2.9 +++ Mailman/Version.py 9 Apr 2002 21:06:16 -0000 1.20.2.10 @@ -15,7 +15,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # Mailman version -VERSION = "2.0.9" +VERSION = "2.0.10" # And as a hex number in the manner of PY_VERSION_HEX ALPHA = 0xa @@ -27,7 +27,7 @@ MAJOR_REV = 2 MINOR_REV = 0 -MICRO_REV = 9 +MICRO_REV = 10 REL_LEVEL = FINAL # at most 15 beta releases! REL_SERIAL = 0 Index: admin/www/MMGenerator.py =================================================================== RCS file: /cvsroot/mailman/mailman/admin/www/MMGenerator.py,v retrieving revision 1.2.2.2 retrieving revision 1.2.2.3 diff -u -r1.2.2.2 -r1.2.2.3 --- admin/www/MMGenerator.py 5 Jan 2001 16:23:07 -0000 1.2.2.2 +++ admin/www/MMGenerator.py 4 Apr 2002 17:51:53 -0000 1.2.2.3 @@ -5,7 +5,9 @@ http://www.wooz.org/users/barry/software/pyware.html """ +import time import os +import re from Skeleton import Skeleton from Sidebar import Sidebar, BLANKCELL @@ -13,6 +15,8 @@ from HTParser import HTParser from LinkFixer import LinkFixer +COMMA = ',' + sitelinks = [ @@ -49,18 +53,26 @@ self.__d = {'rootdir': rootdir} self.__linkfixer.massage(p.sidebar, self.__d) # tweak - p.sidebar.append((None, - ''' SourceForge Logo''' - % self.__d)) + p.sidebar.append((None, """\ +
 SourceForge Logo + """ % self.__d)) p.sidebar.append(BLANKCELL) - copyright = self.__parser.get('copyright', '1998,1999,2000,2001') - p.sidebar.append((None, '© ' + copyright + - '
Free Software Foundation, Inc.')) + years = COMMA.join([str(x) + for x in range(1998, time.localtime()[0]+1)]) + copyright = self.__parser.get('copyright', years) + p.sidebar.append((None, '© ' + copyright + """\ +
Free Software Foundation, Inc.
+Verbatim copying and distribution of this entire article is permitted in +any medium, provided this notice is preserved.
+Please send comments on these pages to +<webmasters@gnu.org>, other questions to <gnu@gnu.org>. +""")) Sidebar.__init__(self, p.sidebar) # # fix up our site links, no relthis because the site links are @@ -90,7 +102,13 @@ return Banner.get_banner(self) def get_title(self): - return self.__parser.get('title') + title = self.__parser.get('title') + return title + ' - GNU Project - Free Software Foundation (FSF)' + + def get_meta(self): + skel = Skeleton.get_meta(self) + extra = '\n' + return skel + extra def get_sidebar(self): return Sidebar.get_sidebar(self) Index: admin/www/admins.html =================================================================== RCS file: /cvsroot/mailman/mailman/admin/www/admins.html,v retrieving revision 1.4.2.2 retrieving revision 1.4.2.3 diff -u -r1.4.2.2 -r1.4.2.3 --- admin/www/admins.html 27 Nov 2001 22:27:41 -0000 1.4.2.2 +++ admin/www/admins.html 4 Apr 2002 18:07:26 -0000 1.4.2.3 @@ -1,173 +1,186 @@ - + + - - - + + + - -Site Administrator Documentation - - - + +Site Administrator Documentation - GNU Project - Free Software Foundation (FSF) + + + + + + - +
- + - - + + - - - + + +
+
-
      +
+ + + + - + - - + +
+ + - + - - - - - - - - - - + + + + + + + + + + - - - + + + - - - + + + - - + + - - + + - -
Overview -
+
Mailman 2.1 info -
-Home -
-Features -
-Requirements, Download -
-Installation -
-Discussion Lists -
-Bugs and Patches -
-Frequently Asked Questions -
-Mailman in Use -
-Wishlist! -
  -
+
+Home +
+Features +
+Requirements, Download +
+Installation +
+Discussion Lists +
+Bugs and Patches +
+Frequently Asked Questions +
+Mailman in Use +
+Wishlist! +
  +
Documentation -
-Users -
-List Managers -
+
+Users +
+List Managers +
Site Administrators -
-Developers -
-Other Documentation -
  -
+
+Developers +
+Other Documentation +
  +
Email Us -
-mailman-users@python.org -
+
+mailman-users@python.org +
  -
- SourceForge Logo -
+
+
 SourceForge Logo + +
  -
-© 1998,1999,2000,2001
Free Software Foundation, Inc. -
+
+© 1998,1999,2000,2001,2002
Free Software Foundation, Inc.
+Verbatim copying and distribution of this entire article is permitted in +any medium, provided this notice is preserved.
+Please send comments on these pages to +<webmasters@gnu.org>, other questions to <gnu@gnu.org>. + +
- -   + +   -
+

Site Administrator Documentation

By definition, the site administrator has shell access to the Mailman @@ -385,7 +398,7 @@ - - - - + + + + Index: admin/www/bugs.ht =================================================================== RCS file: /cvsroot/mailman/mailman/admin/www/bugs.ht,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -u -r1.1 -r1.1.2.1 --- admin/www/bugs.ht 8 Nov 2000 18:43:39 -0000 1.1 +++ admin/www/bugs.ht 4 Apr 2002 17:29:52 -0000 1.1.2.1 @@ -11,7 +11,6 @@ developed on SourceForge. Please use the SourceForge bug tracker to -report any bugs; I've retired the old Jitterbug database on -python.org. If you have patches you'd like to submit, the best place +report any bugs. If you have patches you'd like to submit, the best place to do that is on the SourceForge patch manager. Index: admin/www/bugs.html =================================================================== RCS file: /cvsroot/mailman/mailman/admin/www/bugs.html,v retrieving revision 1.4.2.2 retrieving revision 1.4.2.3 diff -u -r1.4.2.2 -r1.4.2.3 --- admin/www/bugs.html 27 Nov 2001 22:27:42 -0000 1.4.2.2 +++ admin/www/bugs.html 4 Apr 2002 18:07:26 -0000 1.4.2.3 @@ -1,179 +1,191 @@ - + + - - - + + + - -Bugs and Patches - - - + +Bugs and Patches - GNU Project - Free Software Foundation (FSF) + + + + + + - +
- + - - + + - - - + + +
+
-
      +
+ + + + - + - - + +
+ + - + - - - - - - + + + + + + - - - - + + + + - - - - + + + + - - + + - - + + - -
Overview -
+
Mailman 2.1 info -
-Home -
-Features -
-Requirements, Download -
-Installation -
-Discussion Lists -
+
+Home +
+Features +
+Requirements, Download +
+Installation +
+Discussion Lists +
Bugs and Patches -
-Frequently Asked Questions -
-Mailman in Use -
-Wishlist! -
  -
+
+Frequently Asked Questions +
+Mailman in Use +
+Wishlist! +
  +
Exits -
-Bug Tracker -
-Patch Manager -
-Mailman Project -
  -
+
+Bug Tracker +
+Patch Manager +
+Mailman Project +
  +
Email Us -
-mailman-users@python.org -
+
+mailman-users@python.org +
  -
- SourceForge Logo -
+
+
 SourceForge Logo + +
  -
-© 1998,1999,2000,2001
Free Software Foundation, Inc. -
+
+© 1998,1999,2000,2001,2002
Free Software Foundation, Inc.
+Verbatim copying and distribution of this entire article is permitted in +any medium, provided this notice is preserved.
+Please send comments on these pages to +<webmasters@gnu.org>, other questions to <gnu@gnu.org>. + +
- -   + +   -
+

Bugs and Patches

Mailman is being developed on SourceForge. Please use the SourceForge bug tracker to -report any bugs; I've retired the old Jitterbug database on -python.org. If you have patches you'd like to submit, the best place +report any bugs. If you have patches you'd like to submit, the best place to do that is on the SourceForge patch manager. - - - - + + + + Index: admin/www/devs.html =================================================================== RCS file: /cvsroot/mailman/mailman/admin/www/devs.html,v retrieving revision 1.5.2.2 retrieving revision 1.5.2.3 diff -u -r1.5.2.2 -r1.5.2.3 --- admin/www/devs.html 27 Nov 2001 22:27:42 -0000 1.5.2.2 +++ admin/www/devs.html 4 Apr 2002 18:07:26 -0000 1.5.2.3 @@ -1,173 +1,186 @@ - + + - - - + + + - -Developer Documentation - - - + +Developer Documentation - GNU Project - Free Software Foundation (FSF) + + + + + + - +
- + - - + + - - - + + +
+
-
      +
+ + + + - + - - + +
+ + - + - - - - - - - - - - + + + + + + + + + + - - - - + + + + - - + + - - + + - - + + - -
Overview -
+
Mailman 2.1 info -
-Home -
-Features -
-Requirements, Download -
-Installation -
-Discussion Lists -
-Bugs and Patches -
-Frequently Asked Questions -
-Mailman in Use -
-Wishlist! -
  -
+
+Home +
+Features +
+Requirements, Download +
+Installation +
+Discussion Lists +
+Bugs and Patches +
+Frequently Asked Questions +
+Mailman in Use +
+Wishlist! +
  +
Documentation -
-Users -
-List Managers -
-Site Administrators -
+
+Users +
+List Managers +
+Site Administrators +
Developers -
-Other Documentation -
  -
+
+Other Documentation +
  +
Email Us -
-mailman-users@python.org -
+
+mailman-users@python.org +
  -
- SourceForge Logo -
+
+
 SourceForge Logo + +
  -
-© 1998,1999,2000,2001
Free Software Foundation, Inc. -
+
+© 1998,1999,2000,2001,2002
Free Software Foundation, Inc.
+Verbatim copying and distribution of this entire article is permitted in +any medium, provided this notice is preserved.
+Please send comments on these pages to +<webmasters@gnu.org>, other questions to <gnu@gnu.org>. + +
- -   + +   -
+

Developer Documentation

If you're the kind of person who loves to hack on the nitty gritty, @@ -192,7 +205,7 @@ collaborative, you're free to contribute to this page in true Wiki fashion. - - - - + + + + Index: admin/www/download.ht =================================================================== RCS file: /cvsroot/mailman/mailman/admin/www/download.ht,v retrieving revision 1.5.2.10 retrieving revision 1.5.2.13 diff -u -r1.5.2.10 -r1.5.2.13 --- admin/www/download.ht 3 Apr 2002 05:11:22 -0000 1.5.2.10 +++ admin/www/download.ht 18 Apr 2002 03:49:52 -0000 1.5.2.13 @@ -3,7 +3,6 @@

SMTP servers

  • Postfix
  • Exim -
  • Qmail
  • Sendmail

    Other software

  • Apache web server @@ -15,7 +14,7 @@

    Requirements

    -

    Mailman currently runs only on Unix-y systems, such as Linux, +

    Mailman currently runs only on Unix-y systems, such as GNU/Linux, Solaris, *BSD, etc. It should work on MacOSX but not earlier versions of MacOS. It probably does not work on Windows, although it's possible you could get it running on a Cygwin system (please @@ -26,7 +25,7 @@ Before you can run Mailman, you need to make sure that Python is installed. Mailman requires at least Python 1.5.2 and is known to work with Python 1.6 -and Python 2.0. Most Linux systems come with Python pre-installed, so +and Python 2.0. Most GNU/Linux systems come with Python pre-installed, so you just need to make sure you're running an up-to-date version. You can do this by executing the following at your shell's command line: @@ -40,17 +39,13 @@ -

    You will also need an SMTP server (a.k.a. mail transport agent or -MTA) for mail delivery and reception. -Sendmail is the oldest and most -widely-used MTA, and comes pre-installed on most Unix systems, however it -is not the recommended MTA to use with Mailman. It works, but you may -get better results from one of the newer MTAs. Good results are -reported on the Mailman mailing lists from -people using Postfix, -Exim, and -Qmail. Most Mailman development -is done with Postfix. +

    You will also need a mail server (a.k.a. SMTP server, mail +transport agent or MTA) for mail delivery and reception. +Mailman is MTA-agnostic, meaning it should work with just about any +mail server. Among the servers used by the Mailman community include +Postfix, +Exim, +Sendmail, and Qmail.

    You will need a web server. Apache is certainly the most @@ -65,9 +60,9 @@

    Downloading

    Version -(2.0.9, +(2.0.10, released on -Apr 3 2002) +Apr 17 2002) is the current GNU release. It is available from the following mirror sites: