Disable Indexing for Specific File Types

Introduction

It may be necessary to disable attachment indexing for specific mimetypes if conversion is unable to process the attachments due to size or other error. When disabled, conversion will be bypassed for only specified mimetypes. Attachment indexing can be disabled for all types if desired. Zimbra Collaboration Suite for Mac OS X currently does not support attachment indexing. Attachment indexing is only supported on ZCS Network Edition.

Errors

If conversion (convertd) is unable to process certain attachments, messages containing those attachments will queue in the MTA deferred queue. Here are some relevant errors.

Disabling Attachment Indexing

All Attachments

All attachment indexing can be disabled at the class of service (COS) or account level. Check "Disable attachment viewing from web mail UI" on the advanced tab of the COS or account you wish to disable indexing.

Command Line

Specific Mimetypes

Disabling indexing for certain mimetypes requires direct modification to the Zimbra directory. The goal is to map the desired file extension and mimetype to UnknownTypeHandler as opposed to DefaultHandler. To configure, create an LDIF file, then use ldapadd to apply the changes to LDAP. The following example disables indexing on Visio and AutoCad attachments.

Verify What Is Currently Disabled

Run an ldapsearch query to see which attachment types are currently disabled. A disabled MIME type will have zimbraMimeHandlerClass set to "UnknownTypeHandler" in its Zimbra directory entry.