Re: [Mailman-Users] regexp help

2009-11-03 Thread Savoy, Jim
Mark Sapiro wrote: >Did you put 'Foo' back in the GLOBAL_PIPELINE prior to 'Moderate' and restart Mailman? I did. >What happens when you mail to test.account? Is the mail rejected by Mailman? Does the To: header in the mail in the reject notice contain 'test.account'? Yes, it is rejected. And

Re: [Mailman-Users] regexp help

2009-11-03 Thread Mark Sapiro
Savoy, Jim wrote: > >Mark Sapiro wrote: > >>Did you put 'Foo' back in the GLOBAL_PIPELINE prior to 'Moderate' and >restart Mailman? > >I did. > >>What happens when you mail to test.account? Is the mail rejected by >Mailman? Does the To: header in the mail in the reject notice contain >'test.account

Re: [Mailman-Users] regexp help

2009-11-03 Thread Mark Sapiro
Savoy, Jim wrote: >Hi Mark, > > I got it to compile properly, but it is still not working. >I made the following changes in Foo.py: > >import re >cre = re.compile('test.account', re.IGNORECASE) >def process(mlist, msg, msgdata): >if mlist.internal_name <> 'abc-l': >return >if cre

Re: [Mailman-Users] regexp help

2009-11-03 Thread Savoy, Jim
Hi Mark, I got it to compile properly, but it is still not working. I made the following changes in Foo.py: import re cre = re.compile('test.account', re.IGNORECASE) def process(mlist, msg, msgdata): if mlist.internal_name <> 'abc-l': return if cre.search(msg.get('to', '')):

Re: [Mailman-Users] regexp help (OT: Edit and Mail)

2009-11-03 Thread Chr. von Stuckrad
On Mon, 02 Nov 2009, Savoy, Jim wrote: > >Depending on the options set in vi, it can do horrible things to > indentation when you paste things in :( :-) seen that! Therefore modern vims have :set paste and as long as you not 'set nopaste' *no* munging of pastes will be done! I'm needing/using th