EVPM how to - Enterprise Vault Policy Manager
There is very little information about the inner workings of EVPM although it can be a hassle to use it. If you're using the tips underneath, EVPM will work like a charm.
The EVPM works basically as follows:
- first, it starts to create a MAPI session
- frequently, it fails with a generic MAPI error:
- "Error creating privileged MAPI session."
- Secondly, it parses the ini file that you are running
- Finaly, if parsing was succesfull, it executes the ini commands
evpm -e -m -f "c:\program files\enterprise vault\.ini"
- Exchange server: for Exchange 2010, you should use the name of the CAS server (NetBIOS format) for setting up the MAPI connection. Although Enterprise Vault seems to connect directly to the Exchange 2010 mailbox servers if you're looking at the mailbox archiving tasks, EV can't connect directly to the 2010 mailbox server using EVPM. EVPM will fail with "Error creating privileged MAPI session."
- Mailbox: The service mailbox argument should be the system mailbox on a specific mailbox server. Do not use the EV service account mailbox. If you have more than one mailbox database, don't forget to execute the EVPM command for the other databases too.
- Script file: The script file must be referenced by using the absolute path. EVPM doesn't resolve relative paths.
- You must be logged on as the EV service account windows session.
- Run the EVPM from the Enterprise Vault server logged in as the EV service account
- If you can succesfully add a profile to Outlook from the same Enterprise Vault server, then EVPM should work too.
In case the above tips didn't solve your issue(s), you can still use DTrace to check what is happening in detail.
Although it is possible to start a DTrace from the GUI, EVPM can only be Dtraced from the command line.
Open a command line and go to the Enterprise Vault program files directory. Run dtrace and configure tracing for the EVPM service.
For more information: How to run a DTrace