Sorry about that. I could be going about this all wrong. Also, I am fairly new to python, I normally do perl, so learning how this softwar works has been just a little difficult.
Here it is. +++ /u1/mailman/Mailman/Handlers/Decorate.py 2006-05-10 11:36:43.000000000 -0600 @@ -188,6 +188,12 @@ del msg['content-disposition'] msg['Content-Type'] = 'multipart/mixed' + #Testing to replace footer + pl = msg.get_payload(decode=True) + re.sub('AZ', 'new text', pl) + msg.set_payload(pl) + + def decorate(mlist, template, what, extradict={}): -----Original Message----- From: Mark Sapiro [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 12:42 PM To: Rob Jackson; mailman-users@python.org Subject: RE: [Mailman-Users] Custom footer based on sender's email Rob Jackson wrote: >This is the diff on the Decorate.py > >191,196d190 >< #Testing to replace footer >< pl = msg.get_payload(decode=True) >< re.sub('AZ', 'new text', pl) >< msg.set_payload(pl) >< >< Please either give me a unified context diff (diff -u) or at least tell me what Mailman version this is. -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp