Diese Seite auf Deutsch anzeigen?

MailStore – “EWS Error Code: ErrorVirusDetected” when archive from Microsoft 365 mailboxes

ID: 13526

Summary

In MailStore, if you’re archiving from Microsoft 365 mailboxes, the following error occurs: “EWS Error Code: ErrorVirusDetected”

This issue was reported in (but may not be limited to):

  • MailStore Server
  • MailStore SPE

Cause

An Exchange integrated antivirus software prevents the delivery of the requested message to MailStore. The email could not be archived successfully. Due to false-positives of antivirus programs, it is advised to manually review the corresponding message before deleting it from the mailbox.

Resolution

Third-Party Issue

This is a third-party issue and cannot be resolved by MailStore.

Due to that error, the archiving profile itself terminates with a non-successful status code.
This behavior can be changed since MailStore Server 8.1 by modifying the global property public.arcclient.skipVirusDetected by executing the following command in MailStore’s Management Shell:

store-setprop --name="public.arcclient.skipVirusDetected" --value="true"

Please note: Independent of this global property, MailStore Server is neither able to archive messages where the above error occurred nor delete them from the Exchange server.