Hello,

Probably this question has been asked before; but I could not find it in the
archives.

{Zimbra Version: Release 5.0.18_GA_3011.F7_20090707155813, FOSS edition}

When MS Office 2007/2010 documents with .docx, .xlsx, and .pptx files are
attached, the MIME type is wrongly set to application/zip file, in the message
body. Since the MS Office 2007/2010 files are essentially zip files, I thought Zimbra was setting Content Type for attachments to application/zip and presumed our distribution of Zimbra did not set the MIME type for these document types based on file extensions.

I looked at the /opt/zimbra/conf/globs2 file and found the following entries

application/vnd.openxmlformats-officedocument.wordprocessingml.document:*.docx
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet:*.xlsx
application/vnd.openxmlformats-officedocument.presentationml.presentation:*.pptx

I thought these should have set the correct MIME types. But they did not seem to be helping. So, I also added to httpd.conf the following

AddType application/vnd.openxmlformats-officedocument.wordprocessingml.document docx
AddType application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx
AddType application/vnd.openxmlformats-officedocument.presentationml.presentation pptx


Adding the types to httpd.conf did not help either. I know there is no problem
with the browser installations. When the users send attachments through Gmail/Yahoo! the attachment types are correct; for example .xlsx would have vnd.openxmlformats-officedocument.spreadsheetml.sheet

What am I missing? Thanks for your help.

Raghu