Re: [Mailman-Users] Simple notification handler

2011-12-21 Thread Mark Sapiro
On 12/21/2011 8:43 AM, Yves Moisan wrote: > Thank you Mark. I'll give it a try. See . You may want a different re. E,g. r'\W[Ee]rror\W' without IGNORECASE. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Are

Re: [Mailman-Users] Simple notification handler

2011-12-21 Thread Yves Moisan
Thank you Mark. I'll give it a try. Yves You need something like import re from Mailman import Utils from Mailman.Message import UserNotification NTEXT = """The text of the notification. """ NRECIP = 'recipi...@example.com' NFROM = 'sen...@example.com' NSUBJ = 'Notification subject' def pro

Re: [Mailman-Users] Simple notification handler

2011-12-21 Thread Mark Sapiro
Yves Moisan wrote: > >- Parse the Subject line looking for "*rror*" >- If so, send an email to an arbitrary address [...] > >I understand the pipeline system and how I could add the Handler for a >specific list, but I'm looking for a detailed Python API listing >somewhere to see what I can really

Re: [Mailman-Users] How to subscribe user without notify one

2011-12-21 Thread Mark Sapiro
On 12/20/2011 9:36 PM, Степанов Роман Владимирович wrote: > > We have automotive process to subscribe/unsubscribe when users visit > a site and select a specific list and leave their email than robot > must send a command by email to mailman to subscribe or unsubs that > user. > > How to do it b

Re: [Mailman-Users] How to subscribe user without notify one

2011-12-21 Thread Mailman Admin
Hi Степанов Роман Владимирович On 2011-12-21 06:36, Степанов Роман Владимирович wrote: > > > We have automotive process to subscribe/unsubscribe when users visit > a site and select a specific list and leave their email than robot > must send a command by email to mailman to subscribe or unsub

[Mailman-Users] Simple notification handler

2011-12-21 Thread Yves Moisan
Hi All, I know this is a relatively easy question, but I don't have enough of the Mailman/Handlers examples and what I got from searching the web to get a clear picture of how to create a simple handler that does this : - Parse the Subject line looking for "*rror*" - If so, send an email to a