Hanging mails in outbox and ServiceException in log

Hello,

I run mail 3.7.8 on Nexccloud Ver. 29.0.7.1.

Now for only one user in my NC instance some emails are no longer delivered to the mail server. There are currently some emails in the outbox. The log contains the following message for each send attempt:

[mail] Warning: Could not send outbox message 2757: Could not send message because a previous send operation produced an unclear sent state.
from ? from – at 09/24/2024, 7:20:03 p.m

It appears to be a forwarded email. At least that’s what the user said. All other users can work normally.

I have already tried occ mail:clean-up without success. Is it possible to identify this one “previous email” and safely remove it from the “top” of the outbox? Or is there an occ command to reset the output queue for the user? Unfortunately I didn’t find that.

thx in advance.

I have the same issue. Mail is in status 13 in table oc_mail_local_messages. It occurred now the second time on a different user. How to convince mail app to try again even with an “unclear state”?