Re: [Mailman-Users] Umbrella Lists & Subject Prefixes

2007-09-21 Thread Mike Peachey
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 separa

Re: [Mailman-Users] Umbrella Lists & Subject Prefixes

2007-09-21 Thread Mike Peachey
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 >

Re: [Mailman-Users] Umbrella Lists & Subject Prefixes

2007-09-21 Thread Mike Peachey
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

[Mailman-Users] Umbrella Lists & Subject Prefixes

2007-09-20 Thread Mike Peachey
own in working it out. Can anyone offer any help on this? Roll-on Mailman v3! -- 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 - Register

Re: [Mailman-Users] Is it possible to filter what is archived?

2007-08-20 Thread Mike Peachey
Mark Sapiro wrote: > Mike Peachey wrote: > >> Mark Sapiro wrote: >>> The above is a bit too simple. Something like >>> >>> def process(mlist, msg, msgdata): >>> if mlist.umbrella_list: >>> del msg['x-no-archive'] &g

Re: [Mailman-Users] Is it possible to filter what is archived?

2007-08-06 Thread Mike Peachey
superfluous. On the assumption that the handler is being inserted AFTER the first archiving, then surely it's safe to assume that no message should be archived a second time and so ALL messages should get an X-No-Archive as soon as they've been archived once. Let me know if

Re: [Mailman-Users] Is it possible to filter what is archived?

2007-08-02 Thread Mike Peachey
Mark Sapiro wrote: > Mike Peachey wrote: >> What I would like to do is filter what gets archived so that if a >> message originates in mailman (ie from an umbrella list) it doesn't get >> archived. > > > I'm pretty sure this isn't what you're a

[Mailman-Users] Is it possible to filter what is archived?

2007-08-01 Thread Mike Peachey
y not be possible. -- 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

mailman-users@python.org

2007-07-31 Thread Mike Peachey
re sent from Mailman to Mailman. They pass through filtering on the inbound connection back into Mailman. -- 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

mailman-users@python.org

2007-07-31 Thread Mike Peachey
Mike Peachey wrote: > Mark Sapiro wrote: >> Mike Peachey wrote: >> >>> Mark Sapiro wrote: >>>> This is the problem. Exim is piping mail to [EMAIL PROTECTED] >>>> to "| /path/to/mail/mailman/ post listname" and it should be piped to &g

mailman-users@python.org

2007-07-31 Thread Mike Peachey
Mark Sapiro wrote: > Mike Peachey wrote: > >> Mark Sapiro wrote: >>> This is the problem. Exim is piping mail to [EMAIL PROTECTED] >>> to "| /path/to/mail/mailman/ post listname" and it should be piped to >>> "| /path/to/mail/mailman/ owner li

mailman-users@python.org

2007-07-27 Thread Mike Peachey
river = pipe command = MM_WRAP \ '${if def:local_part_suffix \ {${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}}} \ {post}}' \ $local_part current_directory = MM_HOME home_directory = MM_HOME user = MM_UID group = MM_GID -- Kind Regar

mailman-users@python.org

2007-07-26 Thread Mike Peachey
quests reaching the list owner because in the end it seems the moderator requests are trying to head for the lists not the list owners. It's all very confuzzling. -- Kind Regards, ______ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281