Data loss: moving a mail between EWS accounts hard-deletes the source before the target create succeeded

Hello!

Version: eM Client 10.4.5674.0 & 11.0.865.0
Server: grommunio (Gromox 3.11.136), accounts connected via EWS

Steps

  1. Account A (own mailbox) and account B (shared mailbox via delegation)
    in the same eM Client.
  2. Drag a received mail from A’s inbox to B’s inbox.

Observed in the server’s EWS log (same second):

  1. DeleteItem with DeleteType=“HardDelete” for the source mail
  2. CreateItem (SaveOnly) in the target folder, rejected by the server
    with ErrorAccessDenied
    (“E-3474: missing Send-As permission on the claimed sender identity”)

Result: the mail is permanently deleted on the server, the target create
failed, eM Client does not roll back. The mail only remained visible in
the local view and could be exported from there.

Expected: delete the source only after the create in the target was
confirmed, and never hard-delete when the create failed.

Same setup against Exchange 2019 works.

We’re hoping for some help. Bye, Robert.

Hi KSH,

Thanks for the very detailed report, including the server-side EWS log. To look into it on our side we need eM Client’s own logs from the moment it happens. Please reproduce it with a test message you don’t need, since the move can delete it on the server.

  1. Go to Menu > Settings > Advanced > Logging and click Clear Logs.
  2. Tick Exchange Web Services under both accounts: your own mailbox (A) and the shared mailbox (B). If B is added as a delegated mailbox inside account A rather than as its own account, ticking it under A is enough.
  3. Restart eM Client.
  4. Drag the test message from A’s Inbox to B’s Inbox, and note the time.
  5. Open Menu > Operations… and take a screenshot of the Errors tab (with the failed operation expanded, if there is one).
  6. Open the log folder (Menu > Help > Open Log Directory), zip the log files and email them together with the screenshot to [email protected], with the link to this topic in the message: Data loss: moving a mail between EWS accounts hard-deletes the source before the target create succeeded
  7. Untick the logging modules afterwards.

Please don’t post the log files in this topic. Also let us know your eM Client version at the time of the test (Menu > Help > About).