This bug has been copied from bug #644147 and has been proposed to be backported to 5.5 z-stream (EUS).
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Prior to this update, the "email" module incorrectly implemented part of the logic for obtaining file names of attachments, and as a result, get_filename()'s fallback for using the "Content-Type" header's deprecated "name" parameter erroneously used the "Content-Disposition" header instead. This update applies a patch from Python 2.6, fixing this problem.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2010-0871.html