Mark Sapiro wrote:
> Mike Peachey wrote:
>> I'm using this anyway :-)
>>
>> if msg.has_key('x-no-subject-prefix') and msg.get('x-no-subject-prefix',
>> '').lower() == 'yes':
>
>
> You don't need to test separately for the presence of the header.
> That's what the second argument to msg.get() is
Mike Peachey wrote:
>
>I'm using this anyway :-)
>
>if msg.has_key('x-no-subject-prefix') and msg.get('x-no-subject-prefix',
>'').lower() == 'yes':
You don't need to test separately for the presence of the header.
That's what the second argument to msg.get() is for. It is returned
when the heade
Mark Sapiro wrote:
> Mike Peachey wrote:
>
>> Mark Sapiro wrote:
>>> 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, d
Mike Peachey wrote:
>Mark Sapiro wrote:
>>
>> 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
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).
> prefi
Mike Peachey wrote:
>
>I have managed to stop all sub-lists from re-archiving mails that have
>been through higher lists by adding an X-No-Archive to mails as soon as
>they're archived so that they only get archived once.
>
>However, Subject Prefixes are giving me a little more hassle.
>
>Current
Mailman Ver: 2.1.5
Our company now exclusively uses Mailman for it's departmental mailing
lists and it's done through umbrella lists set up in the same way as the
org chart for the company.
I have managed to stop all sub-lists from re-archiving mails that have
been through higher lists by add