[Mailman-Users] Message Excerpt
Sarah
marrie12 at gmail.com
Sat Dec 29 20:30:14 CET 2007
Would I be able to do this if I'm running mailman through my web service provider? bluehost is my web provider.
Thanks.
Sarah A
----- Original Message -----
From: "Brad Knowles" <brad at shub-internet.org>
To: <cyndi at tikvah.com>; <Mailman-Users at python.org>
Cc: <cyndi at tikvah.com>
Sent: Saturday, December 29, 2007 1:16 AM
Subject: Re: [Mailman-Users] Message Excerpt
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
"excerpt".
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>
------------------------------------------------------
Mailman-Users mailing list
Mailman-Users at python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: http://mail.python.org/mailman/options/mailman-users/marrie12%40gmail.com
Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
More information about the Mailman-Users
mailing list