[Mailman-Users] Lack of RFC822 compliant date header

Harald Meland Harald.Meland at usit.uio.no
Tue Jun 15 19:06:53 CEST 1999


[Matthew Darwin]

> So either mailman needs to deliver locally (via qmail-inject) or
> generate RFC 822 Date: headers.

I'll make Utils.DeliverToUser() add a Date: header when missing.

> I also notice that pipermail is broken.  My original message is archived
> in two pieces:
> 
> http://www.python.org/pipermail/mailman-users/1999-June/001436.html
> http://www.python.org/pipermail/mailman-users/1999-June/001437.html

Here's a quick fix for that one:

Index: Archiver.py
===================================================================
RCS file: /export/public/cvsroot/mailman/Mailman/Archiver/Archiver.py,v
retrieving revision 1.11
diff -u -r1.11 Archiver.py
--- Archiver.py	1999/02/28 00:27:32	1.11
+++ Archiver.py	1999/06/15 17:05:12
@@ -202,7 +202,11 @@
                     txt = txt + h
                 if msg.body[0] != '\n':
                     txt = txt + "\n"
-                txt = txt + msg.body
+                for line in string.split(msg.body, '\n'):
+                    # Quote unprotected From_ lines appearing in body
+                    if line and line[:5] == 'From ':
+                        line = '>' + line
+                    txt = txt + "%s\n" % line
                 f = StringIO(txt)
                 import HyperArch
                 h = HyperArch.HyperArchive(self)
-- 
Harald




More information about the Mailman-Users mailing list