[Mailman-Users] Umbrella Lists & Subject Prefixes

Mike Peachey mike.peachey at jennic.com
Fri Sep 21 10:41:33 CEST 2007


Mark Sapiro wrote:
> Find the lines (watch for wrapping)
> 
> def prefix_subject(mlist, msg, msgdata):
>     # Add the subject prefix unless the message is a digest or is being
> fast
>     # tracked (e.g. internally crafted, delivered to a single user such
> as the
>     # list admin).
>     prefix = mlist.subject_prefix
> 
> and add two lines after the comment so it becomes
> 
> def prefix_subject(mlist, msg, msgdata):
>     # Add the subject prefix unless the message is a digest or is being
> fast
>     # tracked (e.g. internally crafted, delivered to a single user such
> as the
>     # list admin).
>     if msg.get('x-no-archive', None) == None:
>         return
>     prefix = mlist.subject_prefix
> 
> If you decide to use a header other than X-No-Archive:, you'd replace
> 'x-no-archive' above with the name of that header.
> 

Thank you Mark you wonderful genius - what would this list be without 
your input? That's just the solution I was looking for, but was being 
put off-track by the 1999 solution which, for reference, is here:

http://mail.python.org/pipermail/mailman-developers/1999-September/005936.html
-- 
Kind Regards,

__________________________________________________

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com
__________________________________________________


More information about the Mailman-Users mailing list