Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-06-2011, 05:29 PM
Starter Member
 
Posts: 1
Default Wrong MIME type for .docx, .xslsx, and .pptx

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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.