How to copy a _change.dty file in all mailbox folders to force an index update.


SUMMARY

This article explains how to copy a _change.dty file in all mailbox folders to force an index update and append any missing messages that are not indexed. This may be required if message files have been deleted or restored directly from or to the message store.

DETAIL

1. Open a Windows command prompt with elevated privileges (Run as administrator).

2. Type one of the following commands, replacing the path to match the configured store repository path on the server.

For all mailboxes on the server:

for /f "usebackq delims=|" %f in (`dir /b /s /A:D "C:\Program Files (x86)\Mail Enable\Postoffices"`) do copy "%f\_index.xml" "%f\_change.dty" /Y

For a postoffice use the following, and also change the [postoffice] to the required postoffice:

for /f "usebackq delims=|" %f in (`dir /b /s /A:D "C:\Program Files (x86)\Mail Enable\Postoffices\[postoffice]\mailroot"`) do copy "%f\_index.xml" "%f\_change.dty" /Y

For a mailbox use the following, and also change the [mailbox] to the required mailbox:

for /f "usebackq delims=|" %f in (`dir /b /s /A:D "C:\Program Files (x86)\Mail Enable\Postoffices\[postoffice]\mailroot\[mailbox]"`) do copy "%f\_index.xml" "%f\_change.dty" /Y

 



Product:MailEnable (All Versions)
Article:ME020652
Module:General
Keywords:_change.dty,index.xml,index
Class:HOWTO: Product Instructions
Revised:Wednesday, January 15, 2020
Author:
Publisher:MailEnable