Re: [Mailman-Users] a question about content-filtering
liste yoneticisi wrote: Actually I just want a vissible message for deleted/filtered attachments. Actually, given the current architecture of content filtering, this turns out to be not at all easy to do in any reasonable way. About the best that could be done without too much difficulty is content filtering could prepare a report along the lines of text/html part removed by content filtering image/jpeg part removed by content filtering application/msword part removed by content filtering and add it to the message similarly to the way msg_footer is added. In any case, this is not likely to be done before Mailman 2.2 if then. -- Mark Sapiro [EMAIL PROTECTED]The highway is for gamblers, San Francisco Bay Area, Californiabetter 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=showamp;file=faq01.027.htp
Re: [Mailman-Users] a question about content-filtering
On Fri, 7 Mar 2008, Mark Sapiro wrote: Brad Knowles wrote: On 3/7/08, Mark Sapiro quoted liste yoneticisi [EMAIL PROTECTED]: Is there a patch that giving information for filtered extension. I mean i am filtering *.mpg for example. If someone sends an attachment with mpg extension, e-mail is delivered without attachment and without any information about filtering. [ ... deletia ... ] It is certainly possible, but as far as I know, there is no published patch for it. What about scrub_nondigest? Wouldn't that do what the OP was asking for? Possibly. If the OP is willing to turn off content filtering or limit it to collapse_alternatives and then have all non-text/plain and characterset unknown parts stored and replaced with hyperlinks in the delivered posts, then yes, scrub_nondigest would do it. Actually I just want a vissible message for deleted/filtered attachments. You once sent a patch cok uppercase attachments.(I copied below) Is it possible to add a command in order to add message (or information) to a suitable part of this file?? But i don't know the the programming language for mailman. Thank you fot your consideration and cooperation. The conversion of *_filename_extensions to lower case is intentional, but we neglected to convert the actual extension in the message to lower case for comparison. The following patch will be in Mailman 2.1.10 and will fix the problem. --- Mailman/Handlers/MimeDel.py 2005-12-30 18:50:08 + +++ Mailman/Handlers/MimeDel.py 2007-10-05 01:01:24 + @@ -256,4 +256,4 @@ fext = fext[1:] else: fext = '' -return fext +return fext.lower() -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter 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=showamp;file=faq01.027.htp
Re: [Mailman-Users] a question about content-filtering
liste yoneticisi [EMAIL PROTECTED] Date: Fri, 7 Mar 2008 14:54:17 +0200 (WET) To: Mailman Users ML mailman-users@python.org Hi; Is there a patch that giving information for filtered extension. I mean i am filtering *.mpg for example. If someone sends an attachment with mpg extension, e-mail is delivered without attachment and without any information about filtering. But if sender doesn't know about it, (or if not remember) he may say i sent such a movie about blah blah. is it possible to add a sentence like below: the attachment is filtered due to list_name content-filtering configuration It is certainly possible, but as far as I know, there is no published patch for it. Of course, there is the X-Content-Filtered-By: Mailman/MimeDel 2.1.x header that is added whenever anything is removed, but I expect you want something more visible than that. -- Mark Sapiro [EMAIL PROTECTED]The highway is for gamblers, San Francisco Bay Area, Californiabetter 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=showamp;file=faq01.027.htp
Re: [Mailman-Users] a question about content-filtering
On 3/7/08, Mark Sapiro quoted liste yoneticisi [EMAIL PROTECTED]: Is there a patch that giving information for filtered extension. I mean i am filtering *.mpg for example. If someone sends an attachment with mpg extension, e-mail is delivered without attachment and without any information about filtering. [ ... deletia ... ] It is certainly possible, but as far as I know, there is no published patch for it. What about scrub_nondigest? Wouldn't that do what the OP was asking for? -- Brad Knowles [EMAIL PROTECTED] LinkedIn Profile: http://tinyurl.com/y8kpxu -- 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=showamp;file=faq01.027.htp
Re: [Mailman-Users] a question about content-filtering
Brad Knowles wrote: On 3/7/08, Mark Sapiro quoted liste yoneticisi [EMAIL PROTECTED]: Is there a patch that giving information for filtered extension. I mean i am filtering *.mpg for example. If someone sends an attachment with mpg extension, e-mail is delivered without attachment and without any information about filtering. [ ... deletia ... ] It is certainly possible, but as far as I know, there is no published patch for it. What about scrub_nondigest? Wouldn't that do what the OP was asking for? Possibly. If the OP is willing to turn off content filtering or limit it to collapse_alternatives and then have all non-text/plain and characterset unknown parts stored and replaced with hyperlinks in the delivered posts, then yes, scrub_nondigest would do it. -- Mark Sapiro [EMAIL PROTECTED]The highway is for gamblers, San Francisco Bay Area, Californiabetter 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=showamp;file=faq01.027.htp
Re: [Mailman-Users] a question about content-filtering
liste yoneticisi wrote: pass_filename_extensions = doc xls xml xlw ppt pps pdf php gz gif jpg jpeg bmp png htm html txt rtf rar zip But i have a problem, if someone sends a document with file name qwe.JPG mailman doesn't send the attachment. I couldn't add the Capital letter extensions. Mailman converts them to lower letter. The conversion of *_filename_extensions to lower case is intentional, but we neglected to convert the actual extension in the message to lower case for comparison. The following patch will be in Mailman 2.1.10 and will fix the problem. --- Mailman/Handlers/MimeDel.py 2005-12-30 18:50:08 + +++ Mailman/Handlers/MimeDel.py 2007-10-05 01:01:24 + @@ -256,4 +256,4 @@ fext = fext[1:] else: fext = '' -return fext +return fext.lower() -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter 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=showamp;file=faq01.027.htp