The list of mailboxes and/or public folders used to run manual/scheduled scans in Symantec Mail Security for Microsoft Exchange (SMSMSE) is empty or incomplete when attempting to configure or run a manual/scheduled scan.
In a debugview log (Section D of How to Obtain Debug Logs for Symantec Mail Security for Microsoft Exchange (SMSMSE)), a message similar to the following is observed during service startup:
AVFMSESJM(<process ID>)[<thread id>] <datetime>:
..\..\..\src\Server\SAVFMSESJM\TExchDataProvider.cpp(268) :
Listing all user mailboxes on this server/cluster
SAVFMSESJM(<process id>)[<thread id>] <datetime>:
..\..\..\src\Server\SAVFMSESJM\TExchDataProvider.cpp(1195) :
Setting current Exchange server: <server name>
EMSStoreAccess: Using Rpowershell mechanism to get mailbox DB's
EMSStoreAccessE2k10_E15 Exception: Setting the execution policy for current user failed.
Windows PowerShell updated your execution policy successfully, but the setting is overridden by a policy defined at a more specific scope. Due to the override, your shell will retain its current effective execution policy of "<policy value>". Type "Get-ExecutionPolicy -List" to view your execution policy settings. For more information, please see "Get-Help Set-ExecutionPolicy."
EMSStoreAccess Error: Failed to load Exchange Powershell snapin through Remote Powershell. Failed to Mailbox Databases
SAVFMSESJM(<process ID>)[<thread id>] <datetime>:
..\..\..\src\Server\SAVFMSESJM\TExchDataProvider.cpp(1240) :
No MailBox Store(s)
SAVFMSESJM(<process ID>)[<thread id>] <datetime>:
..\..\..\src\Server\SAVFMSESJM\TExchDataProvider.cpp(293) :
No mailbox located, creating empty masterlist
A Group Policy Object (GPO) is blocking SMSMSE's attempt to run a powershell script to query Exchange for the list of mailboxes/public folders.
Configure the "Turn on Script Execution" GPO to allow SMSMSE powershell scripts to run:
To configure the GPO:
After a short delay (up to 5 minutes) the list of mailboxes should now display successfullly, and manual/scheduled scans should run successfully.