[Mailman-Users] Message Excerpt

Brad Knowles brad at shub-internet.org
Sat Dec 29 10:16:49 CET 2007

On 12/28/07, Cyndi Norwitz wrote:

>  Okay, I searched the FAQ and found nothing even remotely related.

You're right.  You won't find this one there.  I'm not sure there's 
anything in the archives about it, either.

>  At the very least, something that tells me how many lines are in the email
>  would be great.  On the summary page it says the number of bytes.  But that
>  doesn't help that much because it depends on the density of the lines (and
>  it's hard to remember what bytes mean in terms of post length).  Plus that
>  information is not on the detail page!  I have to go back and forth to see
>  it.

In terms of what would be easy to do, I think the simplest would be 
to increase the number of message body lines that you can see. 
Towards this end, in the file Mailman/Cgi/admindb.py you find the 
definition "EXCERPT_HEIGHT = 10".  If you (or your ISP) sets this to 
a higher number (like 100), then stops and restarts Mailman, then in 
all future instances you should see 100 lines of message body in your 

Anything more than that would take source code modifications, I'm afraid.

Unfortunately, this value does not appear to be something that is 
defined in Mailman/Defaults.py or which could be over-ridden in 
Mailman/mm_cfg.py.  Moreover, this is going to affect all lists on 
the server.

Brad Knowles <brad at shub-internet.org>
LinkedIn Profile: <http://tinyurl.com/y8kpxu>

More information about the Mailman-Users mailing list