Re: [Mailman-Users] Simple notification handler

2011-12-22 Thread Yves Moisan
restarting Mailman won't change the list-specific handler application and one needs to explicitly delete it if one wants to get rid of it. That's a good thing. But where are list-specific pipeline defs stored ? Thanx! Yves Yves Moisan wrote: It seems the handler stops the list from work

Re: [Mailman-Users] Simple notification handler

2011-12-22 Thread Yves Moisan
Mark: I had forgotten the ":" at the end of the if line. Sorry for the noise. Yves -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security P

Re: [Mailman-Users] Simple notification handler

2011-12-22 Thread Yves Moisan
nvoked ? I've copied the file over from a windows machine and I took care of chowning it so it has the same permissions as the other Handlers. The file looks ok in vi. What other options do I have before pdb ? Thanx, Yves Moisan === BackupErrors.py === #!/usr/bin/python # I also treid

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

[Mailman-Users] Simple notification handler

2011-12-21 Thread Yves Moisan
do in the process() function, e.g. def process(mlist, msg, msgdata): subject = msg.getheader('subject') # parse subject (I'll find that) and if error # msg.send("arbitraryem...@whatever.com") Thanx for pointers, Yves Moisan ---