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 +0000 +++ Mailman/Handlers/MimeDel.py 2007-10-05 01:01:24 +0000 @@ -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, 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