-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Externally deleted emails show up in the inbox and cannot be deleted #9168
Comments
Currently, my inbox is filled with non-existent emails, and is basically unusable. I would be thankful for a way to rescan my emails as a temporary workaround. |
Same here |
Same here:
I tried the commands w/o success:
I could not figure out a rule which mails I can remove from my local MUA (which is emClient in my case) but remain in NC-Mail. But there should definetly be an easy way to remophe orphanded mails (mail which are not found) as a hotfix ASAP unless this is fixed properly /Edit: I also have Redis and APCu active (but this is independent from the error, just tried it) |
It is possible to use "Clear mailbox" on my Inbox, and then the messages are gone. So the issue seems to be purely that threads and prioritization tags keep tracks of messages that are gone. |
Same problem here. |
I do not think this is a Problem caused by K9 itself. To delete all remaining (Ghost-)E-Mails from the Mailbox i
Edit 2024-04-02: The Problem reappeared but less frequently. |
same is happening to me, with archived or sent to junk emails. |
posting the full log lines in case that helps:
|
This is not a fix, but a workaround that usually helps (granted we should not need to run in debug mode to workaround this issue):
|
Thank you! I will try this on the weekend, since I would rather not put the cloud in Debug mode on a working day. We are using Nextcloud in our school and several teachers are complaining about this issue. Is there a possibility to clear the cache for all or certain users? |
I agree, it would be great to have this as an option for all users. |
I would also highly appreciate if the clear cache mode would be available without debug mode, thanks :) |
This issue is a duplicate of #9048. |
After skimming the other issue: No! |
I agree from my understanding it's probably a similar but distinct issue. But as I am not too familiar with the codebase the solutions might be connected. |
I observed that this particularly happens for me for mails that get classified as "important" by Nextcloud Mail. Not sure if this is a necessary requirement, but for the last few occurrences I could observe it was always mails tagged as important that then stick in the Nextcloud Mail UI. |
I want to add that even after turning off the priority emails in the app-settings, in Thunderbird deleted emails keep showing up in the app. |
Looking for a solution also. Perhaps related to my use case of running a docker image with both PSQL and redis connected? |
I also have the same problem, in addition to emails it also happens to me with folders, once they are deleted from the imap server from a external client they are not reflected in Nextcloud. NC 28.0.3 and Mail app 3.5.7. |
@YourWishes This is likely not an issue with your environment since this has been a longstanding known issue. |
Experiencing the same with mail 3.5.7 and NC 28.0.4. Other clients I use are K9 Mail which is set to immediately delete messages on the server and Thunderbird which is set to expunge on exit. Between K9 and Thunderbird there are no issues, if I delete a mail on one client it disappears on the other. Nextcloud Mail is the only problem child here displaying ghosts of deleted messages in the inbox. |
I see now. If i choose "Delete Permanently" rather than "Move to Trash" or "Archive", then the mail does seem to Moving mail still seems to be problematic on my end, but permanently deleting mail does seem to be fixed 👍 |
After testing this a few times over the last days, I can also confirm this to be fixed in v3.7.2 for the previously affected mailbox. |
I also have found it's been working well now, but I came across one scenario where it didn't work. It seems I deleted an email from an external email client, but then I received a 2 more emails in that thread. In Nextcloud mail, all 3 emails showed up in the thread and email 1 showed the "not found" warning and I couldn't delete the whole thread When I deleted the emails 2 and 3 individually in Nextcloud, the first email also disappeared properly. So technically there's an easy work around, but it's still a glitch and can be confusing |
After updating to version 3.7.2 [Nextcloud Hub 7 28.0.5), the problem would seem to be solved for me. Thank you all. |
Unfortunately, the issue is not resolved for me. After upgrading to 3.7.2 (running NC 29.0.3.4) and clearing all the caches for all users (via enabling debug and manually clearing the caches), I still see stale e-mail in my inboxes. Anything I can do to help root cause the issue? |
I'm also still seeing the issue as well, but on some rare occasions I do see it work. For reference, I am using IMAP on purelymail.com |
Yes, I am afraid I still see ghost mails in my inbox :'( |
Yes, unfortunately I'm still seeing the "ghost" messages. It seems it mostly affects the important ones. |
Did you all clean the mailbox cache after updating to v3.7.2 ? Without that the old ghost mails will stay, the fix only affects new mails. |
These are the steps I took: |
Isn't that sth the upgrade should do on its own? |
A one time clearing of the cache is required after updating: #9168 (comment) |
After a few days of testing, I sadly have to say that the issue still exists. What I did:
Before my vacation, it was fine for two days or so. Probably because, I opened Nextcloud Mail regularly. So deleting mails via other mail client did not have negative impact. |
I'll also throw in that I am still experiencing this issue. I am on v3.7.2 and have put NC into debug mode and used the revealed clear cache function in Mail. This issue unfortunately isn't an uncommon occurrence, it is consistently happening. All externally deleted mail stays in NC Mail. It unfortunately make the app unusable. At this point I am only keeping it installed so I can keep testing new versions and maybe helping with bug reports. To that end, if there are logs I can post, do let me know. |
This comment was marked as off-topic.
This comment was marked as off-topic.
#10036 will fix the edge case where IMAP pushes vanishes messages |
Will this fix also clean up the inbox on all accounts? |
Yes #10038. Stay tuned. |
Wait for the change to be released and update the app. |
I am already running Mail 4.0.1. I thought the change was included in Mail 4.0.1. |
Steps to reproduce
Expected behavior
The inbox shouldn't contain the deleted emails.
Actual behavior
The inbox contains the deleted emails and the emails are marked as unread. The overall counter for unread emails is 0.
If one clicks on one of the emails, instead of the content on the email, "not found" is shown. Trying to delete the emails results in failure with the message "Message could not be deleted" and after a few seconds the "ghost message" reappears in the inbox.
Mail app version
3.5.0
Mailserver or service
IMAP
Operating system
Ubuntu 18.04
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database
MariaDB
Additional info
No response
The text was updated successfully, but these errors were encountered: