
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 <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan