Add post_id information to messages

Bug #558040 reported by srhuston
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
New
Low
Unassigned

Bug Description

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.

Revision history for this message
srhuston (srhuston) wrote :

The file post_id.patch was added: Adds post_id information to Mailman 2.1

Revision history for this message
tkikuchi (tkikuchi-users) wrote :

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.