[Mailman-Users] Re: [Mailman-Users] Problem with ALIASES

Harald Meland Harald.Meland at usit.uio.no
Tue Jun 15 14:03:36 CEST 1999


As is apparent from the subject of the message I am now replying to,
subject prefixing is broken in rc2 :(

Here is the trivial patch (which was just checked into CVS):

Index: MailList.py
===================================================================
RCS file: /export/public/cvsroot/mailman/Mailman/MailList.py,v
retrieving revision 1.125
diff -u -r1.125 MailList.py
--- MailList.py	1999/06/13 07:19:20	1.125
+++ MailList.py	1999/06/15 11:43:27
@@ -1269,8 +1269,8 @@
 	prefix = self.subject_prefix
 	if not subj:
 	    msg.SetHeader('Subject', '%s(no subject)' % prefix)
-	elif prefix and not re.match(re.escape(self.subject_prefix),
-                                     subj, re.I):
+	elif prefix and not re.search(re.escape(self.subject_prefix),
+                                      subj, re.I):
 	    msg.SetHeader('Subject', '%s%s' % (prefix, subj))
         if self.anonymous_list:
             del msg['reply-to']

Sorry for not noticing this breakage in time,
-- 
Harald




More information about the Mailman-Users mailing list