Everyone is probably familiar with setting message classes on their mailbox archiving policies in Enterprise Vault. When message classes are unticked in the policy, scheduled archiving won’t archive those types.
An end-user who has the store in vault button, however, can still manually archive these “disallowed” types. In order to prevent this the following registry key should be added :
ManualArchiveMessageClassCheck
Location
HKEY_LOCAL_MACHINE
SOFTWARE
KVS
Enterprise Vault
Agents
Content
DWORD.
0 – [Default] Archive all items when a user performs a manual archiving operation.
1 – Archive only those items that belong to the message classes that are listed in the mailbox policy
Description
Specifies whether, when a user performs a manual archiving operation, Enterprise Vault archives only those items that belong to the message classes that are in the mailbox policy. By default, Enterprise Vault archives all items when manual archiving is performed. Enterprise Vault ignores the message class list that is in the mailbox policy.
This registry value does not affect automatic, background archiving runs.
Then if your message classes in your policy don’t allow archiving of delivery reports :
When you try on the client, the item will go pending, and then revert back to a normal item.
The DTRACE will show things like this :
129 05:26:05.152 [6,840] (ArchiveTask) <864> EV:M CCAAgentHelper::ArchiveMarkedItems - Archiving message: Undeliverable: A test message
130 05:26:05.152 [6,840] (ArchiveTask) <864> EV:M CCAAgentHelper::ArchiveMarkedItems - items original message class = REPORT.IPM.Note.NDR
131 05:26:05.152 [6,840] (ArchiveTask) <864> EV:M CArchivingAgent::CheckIfManualArchiveAllowedForMessageClass - checking if manual archiving allowed for 'REPORT.IPM.Note.NDR' message class
132 05:26:05.152 [6,840] (ArchiveTask) <864> EV:M CArchivingAgent::CheckIfManualArchiveAllowedForMessageClass - there are 3 allowed message classes in the policy
133 05:26:05.152 [6,840] (ArchiveTask) <864> EV:M CArchivingAgent::CheckIfManualArchiveAllowedForMessageClass - there are 0 exclude message classes in the policy
134 05:26:05.152 [6,840] (ArchiveTask) <864> EV:M CArchivingAgent::CheckIfManualArchiveAllowedForMessageClass - checking wildcarded message class 'ipm.post'
135 05:26:05.152 [6,840] (ArchiveTask) <864> EV:M CArchivingAgent::CheckIfManualArchiveAllowedForMessageClass - checking wildcarded message class 'ipm.note'
136 05:26:05.152 [6,840] (ArchiveTask) <864> EV:M CArchivingAgent::CheckIfManualArchiveAllowedForMessageClass - checking wildcarded message class 'ipm.document' 137 05:26:05.152 [6,840] (ArchiveTask) <864> EV:M CArchivingAgent::CheckIfManualArchiveAllowedForMessageClass - manual archiving is NOT allowed for message class 'report.ipm.note.ndr' 138 05:26:05.152 [6,840] (ArchiveTask) <864> EV:M CCAAgentHelper::ArchiveMarkedItems - current item will not be archived since the items message class, report.ipm.note.ndr, is not allowed
1 thought on “ManualArchiveMessageClassCheck”