How to immediately archive all mail in a user's mailbox, using the Enterprise Vault Policy Manager (EVPM).

Article: 100016889
Last Published: 2021-10-06
Ratings: 0 0
Product(s): Enterprise Vault

Problem

This procedure is useful if an Administrator wants to archive a user's e-mail and then disable or delete the user's mailbox, because that user has left the company.

 

Solution

The following sections below  will configure permissions and configuration of the EVPM script.
 
Section 1:

1.  Make sure that the Vault Service Account (VSA) used to run EVPM with has Control permissions on the user's archive.

2.  Right-click on the user's archive and select Properties.

3.  Click the Permissions tab.

4.  Click Add, and give the VSA Control permissions to the user's archive.

5.  Click OK twice.

Section 2:

1. Modify the script below to match the particular directorycomputername, sitename, and user's distinguished name.

2. Save the file in notepad in UNICODE format, with a .ini extension.


#Start of Example

[Directory]
directorycomputername = w2kentbase
sitename = Vault Site

[Filter]
name = filter1
CreateShortcut = false
DeleteOriginal = true
unreadMAIL = true
UseInactivityPeriod = true
InactivityUnits = days
InactivityPeriod = 0

[Mailbox]
distinguishedname = /o=VAULTXLAB/ou=First Administrative Group/cn=Recipients/cn=david


[Folder]
name = mailboxroot
filtername = filter1
retentioncategory = personal
OverrideArchiveLocks = true

#End of Example

3. Copy the file to the \Program Files\Enterprise Vault directory.

4. From the command line, cd to the \Program Files\Enterprise Vault directory.

5. Type evpm,then type the Exchange Server name and press Enter.

6. Type the Service Mailbox Alias and press Enter.

7. Type the .ini file name and location and press Enter.

8. If the .ini file is in the EV directory, type in the filename.

Note: The evpm script just sets the policy for the user's mailbox. To invoke the policy settings, it is necessary to perform a Run Now on the selected mailbox, so that the new archiving policy for that mailbox takes effect.

9. Within the Vault Administration Console (VAC), right-click on the EV Archiving Service/Task for the server the user's mailbox resides on, and select Run Now.

10. Set Run Mode to Normal.

11. Set Number of Mailboxes to Select Mailboxes.

12. Set Number of Eligible Items to Archive All Items.

13. Click OK.

14. Click List all available mailboxes.

15. Click OK.

16. Highlight the user you set the EVPM for and click OK.

17. Click OK.

18. Logon to the user's mailbox and confirm all mail items have been vaulted.

 
Notes:
 
  • The retention category given in the example will need to be changed according to the particular environment configuration.
  • Certain types of calendar items won't be archived (i.e. recurring and pending reminders)
  • Only items that meet the message class criteria will be archived. If intending to archive message classes not included by default, it's necessary to make this change in the VAC.


 
 

 

Was this content helpful?