Applies to: Exchange Server 2013
Topic Last Modified: 2012-11-19
Transport rules with attachment scanning predicates perform text extraction when analyzing the content of attachments. Exchange 2013 can scan most commonly used attachment types natively. Additional attachment types can be included by registering IFilters with Exchange 2013. This topic shows you how to register IFilters released by Microsoft and third-party providers.
After you register an IFilter for a specific file type, transport rules with attachment processing predicates will be able to scan these attachments. As a result, these file types will no longer trigger the AttachmentIsUnsupported predicate.
Caution: |
---|
The procedures listed in this topic involve modifying the
registry on your Exchange servers. Incorrectly editing the registry
can cause serious problems that may require you to reinstall your
operating system. Problems resulting from editing the registry
incorrectly may not be able to be resolved. Before editing the
registry, back up any valuable data. These procedures also require you to stop and restart the Microsoft Exchange Transport service on your Mailbox servers. |
For additional management tasks related to Transport rules, see Manage Transport Rules.
What do you need to know before you begin?
- Estimated time to complete each procedure: 5 minutes per
server.
- You need to be assigned permissions before you can perform this
procedure or procedures. To see what permissions you need, see the
"Exchange server configuration settings" entry in the Exchange and Shell
Infrastructure Permissions topic.
- You must perform the procedures below on servers that already
have Exchange 2013 Mailbox server role installed. If you add
additional Mailbox servers after you perform these procedures, you
must perform them again on the newly provisioned servers.
- For information about keyboard shortcuts that may apply to the
procedures in this topic, see Keyboard Shortcuts in
the Exchange Admin Center.
Tip: |
---|
Having problems? Ask for help in the Exchange forums. Visit the forums at: Exchange Server, Exchange Online, or Exchange Online Protection |
What do you want to do?
Register the Microsoft Office 2010 Filter Pack
By default, the following Office file types aren’t supported by Exchange transport rules:
- Office OneNote
- Office Publisher
If you want to support these files, you must deploy the Microsoft Office 2010 Filter Pack. This Filter Pack isn’t deployed during Exchange 2013 Setup and isn’t a prerequisite for deployment.
Deploy the Microsoft Office 2010 Filter Pack
Deploying the Office 2010 Filter Pack consists of two main steps:
- Downloading and installing the Filter Pack, which registers the
IFilters with Windows (Search).
- Modifying the registry so the IFilters are also registered with
Exchange 2013. This allows Exchange to support attachment scanning
for the file formats.
Important: |
---|
You must perform this procedure on all Mailbox servers in your organization. |
- Download and save the Microsoft Office 2010 Filter Pack
(
FilterPack64bit.exe
) from the Microsoft Download Center.
- Run the
FilterPack64bit.exe
file on your Mailbox server and follow the instructions to complete the installation.
- Start Registry Editor and locate the following registry
subkey:
Copy Code HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v15\HubTransportRole\CLSID
- Under CLSID, add a subkey for OneNote files as
follows:
- Right-click CLSID, point to New, and then click
Key.
- Change the name of the new key to
{B8D12492-CE0F-40AD-83EA-099A03D493F1}
.
- Click the key you just created and set the (Default)
value to where you installed the Office 2010 Filter Pack. By
default, the filter pack gets installed at
C:\Program Files\Common Files\Microsoft Shared\Filters\ONIFilter.dll
.
- Right click {B8D12492-CE0F-40AD-83EA-099A03D493F1},
point to New, and then click String Value.
- Name the new string value
ThreadingModel
and set it toBoth
.
- Right-click CLSID, point to New, and then click
Key.
- Under CLSID, add a subkey for Publisher files as
follows:
- Right-click CLSID, point to New, and then click
Key.
- Change the name of the new key to
{A7FD8AC9-7ABF-46FC-B70B-6A5E5EC9859A}
.
- Click the key you just created and set the (Default)
value to where you installed the Office 2010 Filter Pack. By
default, the filter pack gets installed at
C:\Program Files\Common Files\Microsoft Shared\Filters\PUBFILT.dll
.
- Right-click {A7FD8AC9-7ABF-46FC-B70B-6A5E5EC9859A},
point to New, and then click String Value.
- Name the new string value
ThreadingModel
and set it toBoth
.
- Right-click CLSID, point to New, and then click
Key.
- Locate the following registry key:
Copy Code HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v15\HubTransportRole\filters
- Under filters, add a subkey for .one extensions as
follows.
- Right-click filters, point to New, and then click
Key.
- Change the name of the new key to
.one
.
- Click the key you just created and set the (Default)
value to
{B8D12492-CE0F-40AD-83EA-099A03D493F1}
.
- Right-click filters, point to New, and then click
Key.
- Under filters, add a subkey for .pub extensions as
follows:
- Right-click filters, point to New and then click
Key.
- Change the name of the new key to
.pub
.
- Click the key you just created and set the (Default)
value to
{A7FD8AC9-7ABF-46FC-B70B-6A5E5EC9859A}
.
- Right-click filters, point to New and then click
Key.
- Close Registry Editor.
- On your Mailbox server, stop and then restart the following
services in the specified order:
- Stop the Microsoft Exchange Transport service.
- Stop the Microsoft Filtering Management Service.
- Start the Microsoft Filtering Management Service.
- Start the Microsoft Exchange Transport service.
- Stop the Microsoft Exchange Transport service.
How do you know this worked?
To verify that you have successfully registered the Microsoft Office 2010 Filter Pack IFilters, do the following:
- Create a Transport rule with the following properties. For
detailed instructions about how to create Transport rules, see
Manage Transport
Rules.
- The sender is your mailbox.
- Any attachment's content includes "Testing IFilters".
- Generate an incident report and send it to your mailbox.
- The sender is your mailbox.
- Create a OneNote file that contains the phrase "Testing
IFilters", attach it to a new email message, and send it to
yourself.
- Verify that you receive a Transport rule incident report for
the rule you just created. This confirms that the rules engine was
able to analyze the contents of the OneNote file.
- Repeat Steps 2 and 3 with a Publisher file.
Register third-party IFilters to support additional file formats
You can extend the attachment scanning capability for additional file types by registering additional third-party IFilters. Support for additional files can be added by installing and registering the file type's IFilter on each of your Mailbox servers.
Important: |
---|
Microsoft hasn’t tested third-party IFilters with Transport rules, therefore we recommend that you deploy and test any third-party IFilters in a test environment before deploying into your production environment. |
Deploy the Adobe PDF IFilter
This procedure shows how to deploy the Adobe PDF IFilter to support processing of PDF attachments in Transport rules.
Note: |
---|
By default, Exchange 2013 supports the scanning of PDF files in Transport rules. The PDF example here is used simply to illustrate how you can extend support for additional file types using third-party IFilters. |
- Download the Adobe PDF IFilterand then follow the
installation instructions.
- Start Registry Editor and locate the following subkey:
Copy Code HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v15\HubTransportRole\CLSID
- Under CLSID, add a subkey for PDF files as follows:
- Right-click CLSID, point to New, and then click
Key.
- Change the name of the new key to
{E8978DA6-047F-4E3D-9C78-CDBE46041603}
.
Note: Each IFilter has a unique class ID (CLSID). You can find the CLSID in the installation documentation for the IFilter you're registering or by searching for the file extension under the HKEY_CLASSES_ROOT\CLSID
key in the registry. - Click the key you just created and set the (Default)
value to where you installed the PDF IFilter. By default, the PDF
IFilter is installed at
C:\Program Files\Adobe\Adobe PDF IFilter 9 for 64-bit platforms\bin\PDFFilter.dll
.
- Right-click CLSID, point to New, and then click
Key.
- Locate the following registry key:
Copy Code HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v15\HubTransportRole\filters
- Under filters, add a subkey for .pdf extensions as
follows:
- Right-click filters, point to New, and then click
Key.
- Change the name of the new key to
.pdf
.
- Click the key you just created and set the (Default)
value to
{E8978DA6-047F-4E3D-9C78-CDBE46041603}
.
- Right-click filters, point to New, and then click
Key.
- Close Registry Editor.
- On your Mailbox server, stop and restart the following services
in the specified order:
- Stop the Microsoft Exchange Transport service.
- Stop the Microsoft Filtering Management Service.
- Start the Microsoft Filtering Management Service.
- Start the Microsoft Exchange Transport service.
- Stop the Microsoft Exchange Transport service.
How do you know this worked?
Use the same procedure listed in the How do you know this worked? section earlier in this topic, substituting Publisher files with Adobe PDF files.