Re: [Mailman-Users] Trapping posts with no subject, and an apology

2007-03-23 Thread Dragon
Mike Maughan sent the message below at 06:28 PM 3/22/2007: >On 23/03/07, Mark Sapiro <[EMAIL PROTECTED]> wrote: > > > > > > ^subject:\s*(\(no[_ ]subject\))?\s*$ > > > > >Thanks for the fix & the explanation. Do you know, that's the first time >I've actually understood a pattern search regex? Wund

Re: [Mailman-Users] Trapping posts with no subject, and an apology

2007-03-22 Thread Mike Maughan
On 23/03/07, Mark Sapiro <[EMAIL PROTECTED]> wrote: > > > ^subject:\s*(\(no[_ ]subject\))?\s*$ > > Thanks for the fix & the explanation. Do you know, that's the first time I've actually understood a pattern search regex? Wunderbar! :) -- Regards, Mike

Re: [Mailman-Users] Trapping posts with no subject, and an apology

2007-03-22 Thread Mark Sapiro
Mike Maughan wrote: > >I've implemented the recommendations; now all I have to do is decipher your >regex :)) >> $subject:\s*(\(no[_ ]subject\))?\s*$ Ooops! It's wrong. It should be ^subject:\s*(\(no[_ ]subject\))?\s*$ The original wouldn't match anything. It says: ^ - the start of the line

Re: [Mailman-Users] Trapping posts with no subject, and an apology

2007-03-22 Thread Mike Maughan
Thanks again, Mark. I've implemented the recommendations; now all I have to do is decipher your regex :)) - Mike On 23/03/07, Mark Sapiro <[EMAIL PROTECTED]> wrote: > > Mike Maughan wrote: > > > >The cases I'd like to trap are: > > > > 1. empty subject > > 2. (no subject) > > 3. (no_subjec

Re: [Mailman-Users] Trapping posts with no subject, and an apology

2007-03-22 Thread Mark Sapiro
Mike Maughan wrote: > >The cases I'd like to trap are: > > 1. empty subject > 2. (no subject) > 3. (no_subject) > >Is there an easy way? Am I (as has been known on occasion :) missing >something obvious? You can trap all 3 of the above cases with a header_filter_rules rule with the regexp

[Mailman-Users] Trapping posts with no subject, and an apology

2007-03-22 Thread Mike Maughan
I posted earlier about problems with "(no subject)" postings to my lists, not complaining about such to mailman-users, but I wasn't very clear in what I said so my apologies to anyone who may have been offended. To restate my problem and renew the request for help (if anyone is still talking to m

Re: [Mailman-Users] Trapping posts with no subject

2007-03-22 Thread Mike Maughan
JIC anyone was unclear, these problems are on _my_ lists, not on here :) - Mike On 22/03/07, Mike Maughan <[EMAIL PROTECTED]> wrote: > > Hi guys, > > I am aggravated by a few idle list posters who consistently refuse to put > in a subject in their posts, and I would like to 'encourage' them to me

[Mailman-Users] Trapping posts with no subject

2007-03-22 Thread Mike Maughan
Hi guys, I am aggravated by a few idle list posters who consistently refuse to put in a subject in their posts, and I would like to 'encourage' them to mend their ways :) I've tried putting a spam rule as per the faq, trapping subject containing .*(no subject) but no workie. The cases I'd like t