WOWZERS.. I never knew I'd result in such a big fuss..
well I'm sorry I didn't quite understand, what should I do with this file you sent me (approve.patch.txt) ?? where should I put it and what to name it and what to do with its permissions n stuff?
I'm sorry I'm still zero in tghis stuff..
Thanks ..
Date: Thu, 6 Aug 2009 13:59:49 -0700 From: mark@msapiro.net To: khillo100@hotmail.com; mailman-users@python.org Subject: Re: [Mailman-Users] Approved: password header!
Khalil Abbas wrote:
my suggestion is, before I had the honor to use outlook I had Smartermail .. they have a cool feature of approving messages with passwords is to use it in the subject line itself : "[password: PASSWORD] Subject bla bla bla".. then it removes the password part of course ..
why don't you guys do the same? it sure beats adding a custom header and stuff .. because in html messages it's really hard to do that !!
We do. Just not in the subject.
As long as the incoming message has a text/plain part (i.e. is either a text/plain message or a multipart/alternative message with a text/plain alternative, we recognize and delete "Approved: passord" if it is the first non-blank line of the body. We also attempt to delete the line from any other body parts in which it appears, but in pathological cases, this may fail, so test first.
If your clients insist on posting HTML only messages and can't add an actual Approved: header to the message, then you can try patching Mailman/Handlers/Approve.py to recognize "[Approved: password]" in the Subject: header. The attached Approve.patch.txt file contains a patch that might do it.
I'll consider this as a feature for Mailman 2.2
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
With Windows Live, you can organize, edit, and share your photos. http://www.microsoft.com/middleeast/windows/windowslive/products/photo-galle...