How to turn off archiving for a sub folder within the inbox using Enterprise Vault Policy Manager (EVPM)
Customized EVPM scripts can be run to apply different archiving settings to the Inbox (example only as this will apply to any folder with subfolders in a mailbox), those settings will be inherited by any subfolders of the Inbox.
If it is required to exclude the subfolders from having the same policy as the Inbox, modify the EVPM script below to match the particular DirectoryComputerName, SiteName, user's distinguished name and also each individual subfolder that needs to be excluded. Edit the file in Notepad and save in UNICODE format, with an .ini extension. Please refer to the Utilities guide in the Related Articles section for more information on EVPM.
Note: EVPM settings applied to the mailbox are used to control how the archiving tasks interact with the mailbox. These settings will not affect the end user's ability to perform specific functions that were made available through policies set in the console. This includes the user's ability to manually archive an item in a "DoNotArchive" folder. All manual operations within Enterprise Vault do not check the folder filter created by EVPM.
DirectoryComputerName = directorycompname
SiteName = Vault Site
DistinguishedName = /o=VAULTXLAB/ou=First Administrative Group/cn=Recipients/cn=vaultadmin
LDAPquery = /o=VAULTXLAB/ou=First Administrative Group/cn=Recipients/cn=vaultadmin
(This section allows the user to distinguish which mailbox this script will run under. ALL will run all mailboxes on the Exchange server. This can also be performed by using the distinguished name, or un-rem the LDAPquery section and go by any type of LDAP query.)
Name = (specify the subfolder name such as \Inbox\personal)
Filtername = DoNotArchive
OverrideArchiveLocks = True
Note: Wildcards in EVPM (such as \inbox\*) are not recognized so the folder name needs to be specified, as EV needs to know the folder structure.
1. Copy the file to the <install_path>\Program Files\EnterpriseVault folder.
2. From a command prompt change to the directory to <install_path>\Program Files\EnterpriseVault.
3. Type evpm and press Enter.
4. Type the Exchange Server name and press Enter
5. Type the Service Mailbox Alias and press Enter.
Note: This is the System mailbox listed on the Settings tab of the archiving task for the Exchange server entered in step 4.
6. Type the .ini file name and location and press Enter. If the .ini file is in the EV directory, just type in the filename.
Note: To confirm that the policy for the folder has taken effect, right-click the folder within Outlook and select Properties. Select the Enterprise Vault tab. (This tab is only available in the DCOM client and not the HTTP client). The Settings section should now read:
This folder is now set to Do not Archive. Additionally, if the folder that is not to be archived is not a subfolder and not directly under the inbox, the following syntax should be used in the script, Name = \testing. (Testing is an example of a folder name).
Note: For some special folders created by Outlook a full path is not requred, only the folder name without the leading backslash. These special folders are: Inbox, Outbox, SentItems, DeletedItems, Drafts, Calendar, Contacts, Journal, Notes, Tasks. These names work for all languages so Inbox can be used on a Japanese system.
To specify a folder called xyz in the root folder:
Name = \xyz
To specify the Deleted Items folder:
Name = DeletedItems
Was this content helpful?
Rating submitted. Please provide additional feedback (optional):