[ mailman-Patches-674433 ] Add post_id information to messages

SourceForge.net noreply at sourceforge.net
Sun Nov 14 01:35:43 CET 2004


Patches item #674433, was opened at 2003-01-25 03:09
Message generated for change (Comment added) made by tkikuchi
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=674433&group_id=103

Category: None
Group: Mailman 2.1
Status: Open
>Resolution: Wont Fix
Priority: 3
Submitted By: Steve Huston (srhuston)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add post_id information to messages

Initial Comment:
This patch will add the value of mlist.post_id to the
mail during processing.  It adds a X-Post-ID header,
which can then be searched for and placed in the
header/footer of the message (non-digest only).  It
will also grab this information to put it in the
archives, so if you use a searchable archive you can
search for a message by post_id.  This part is a little
'iffy'.  The patch assumes you have the ht://Dig
patches installed, but should work fine without them;
will likely complain about templates/en/article.html
and templates/en/htdig-conf.txt

There is also added the ability to inflate the post_id
value from the "General" section in the GUI.  It makes
sure you keep the value as a float, as well as only
lets you increase it.  This is handy if you are
importing messages from an old archive and need to
start the post_id at a larger number so as not to
interfere with old messages.

Left to do as of this writing:  i18n (somebody?),
documentation in Gui/General.py explaining post_id
better (and why you might want/need to mess with it),
documentation in Gui/NonDigest.py or
templates/en/headfoot.html explaining %(post_id)s variable.

----------------------------------------------------------------------

>Comment By: Tokio Kikuchi (tkikuchi)
Date: 2004-11-14 00:35

Message:
Logged In: YES 
user_id=67709

Now you can add post_id in subject_prefix if you get the
latest Release_2_1-maint branch from CVS. (You should put
[listname %d] in subject_prefix to activate the numbering.)
This patch may be replaced by the subject-numbering feature
described above. 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=674433&group_id=103


More information about the Mailman-coders mailing list