http://qs321.pair.com?node_id=1201129


in reply to Re^2: Problem with MIME::Parser and filenames
in thread Problem with MIME::Parser and filenames

FWIW I sent myself a xlsx file with the same name as yours. It came in with the same Content-Type (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet) and MIME::Parser saved the attached file correctly. So I don't think Content-Type is the problem. Could it be some type of filename length restriction - try adding something like this to your script:
system('getconf NAME_MAX ' . $tmpdir);