[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mailman archive with message-id



Heyho!

On Luca's request I've now added Message-Id to the mailman archive.  I 
expected this to be more work, but it's only a few lines (Making this a 
proper configuration option certainly would be more work ...)

If anybody else needs to do this:

in /usr/lib/mailman/Archiver:
--- HyperArch.py.orig   2011-01-06 09:19:57.000000000 +0100
+++ HyperArch.py        2011-01-06 09:21:16.000000000 +0100
@@ -468,6 +468,7 @@
             d["email_html"] = self.quote(self.email)
             d["title"] = self.quote(self.subject)
             d["subject_html"] = self.quote(self.subject)
+            d["message_id"] = self.quote(self._message_id)
             # TK: These two _url variables are used to compose a response
             # from the archive web page.  So, ...
             d["subject_url"] = url_quote('Re: ' + self.subject)

And for all /etc/mailman/*/article.html:
24c24,25
<     <I>%(datestr_html)s</I>
---
>     <I>%(datestr_html)s</I><BR>
>     <I>%(message_id)s</I>

(old style patch on purpose; that way ast is the only language where the 
patch fails.)

cheers
-- vbi

-- 
featured product: the GNU Compiler Collection - http://gcc.gnu.org

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: