-
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
Old mails deleted on other clients still show up as unread in Mail, when opened "Not found" #8223
Comments
FYI this might be related to #3049 but that issue seems broader, is old already and the discussion is too heated. |
I have the same problem here. Running nextcloud 25.0.4 and mail app version 2.2.4 |
Same issue NC 26.0.0 Mail Version 3.0.2. Docker install using MYSQL backend. |
Here are some info from horde.log Good email beeing fetched :
Mail moved by another client on the IMAP server (unseen) :
There the mail is showing as describe in the initial post. Mail moved by another client on the IMAP server (seen) :
Message List
There are the nextcloud.log relevant part (log is the same for seen and unseen mail)
Log from a working mail :
Let me know if you want more, I have tons off example.
IMAP server is Dovecot, and it's in the same LAN. |
I have the same scenario but i can still interact with some of the messages that got deleted |
@GretaD Yes, this is what i'm seeing. I'm able to interact with the message although the content is not visible: |
For me in same cases, the content of the message is also visible |
I'm really not trying to be annoying - I promise! |
Try #8575. We think the issue has been identified. |
@ChristophWurst I patched the changes into my instance but it doesn't seem to have fixed it for old or new emails despite reloading the page and rebooting nextcloud: Here's the updated code in my own instance: |
@meichthys check again tomorrow. The background sync (cron) has to run. |
Ok, Thanks. I did try to manually run the cron job via I'll check again tomorrow. |
This still seems to be an issue in v3.3.0-alpha.1 |
This PR has not been merged yet, which means it is not included in any release. You have to apply the patch manually and don't update because it will get overwritten again. |
@st3iny I'm also still facing this issue after updating to the latest Mail release... :/ |
Still the same error when the mail was deleted by my mail app on the smartphone |
@jakobroehrl Are you using K-9? I think that my problems started last week when they implemented the MOVE command for IMAP operations instead of Copy and Delete. |
I use Fairmail |
Still same issue. I suppose the discussion continues there: #9048. @bovender Regarding Nextcloud+Roundcube, it is working, and I have added a PR: https://github.com/rotdrop/nextcloud-roundcube/pulls, I think this integration app needs more active contributors or a take over though. |
@Chartman123 Did you add your account again after the patch (or reset the cache in debug mode)? Please note that my fix only works for all mails synced after updating the mail app. Existing, broken mails can't be fixed for now, unfortunately. If it still breaks for new emails, we need to look into it again. The same question applies to all others that responded here as well. Additionally, it would be nice to get a list of email clients used. So far we have seen:
|
@st3iny I did a reset in debug mode before the update, then updated the app and deleted a mail in K-9 on my mobile. After that the mail was still present in Mail and couldn't be viewed/deleted there. |
@Chartman123 Thanks for clarifying. I'll install the app and see if I can get it to break, too. |
I did more tests today. First I enabled debug mode and deleted the local caches for my two IMAP accounts. Then I sent mails to both accounts and deleted them with KMail and with K-9. To my surprise and great delight, all deleted mails properly disappeared from Nextcloud Mail, regardless whether debug mode was still on or after I had turned it off. 😁 |
So it might perhaps also be related to the used server for the mailbox? |
@Chartman123 I also get the impression that it depends on the server. I just tried to reproduce your case with K-9 and a server that showed the issues before the patch. With the latest version of Mail it works fine. So, in summary there are still some issues left. I vaguely remember that there might be some problems on our side around the |
@st3iny would it help you if I created a mailbox for you on our server? |
@Chartman123 Yeah, that would be great. You can send the details to |
On my server it is completely crazy: I have two mailboxes in Nextcloud Mail. Both mailboxes show emails that have already been deleted. After I deleted the cache, all emails disappeared with the error message "not found". But now it's getting crazy: Other deleted emails are still displayed. But only those that have been marked as deleted on my mail server. There I don't get a "not found" error message. If I delete the cache from mailbox 1 again, mailbox 2 is displayed correctly. But not mailbox 1. And if I then delete the cache from mailbox 2, mailbox 2 is displayed incorrectly again, but mailbox 1 correctly. Nextcloud 27.1.4 |
It seems like the Problem wasn't fixed completely. I've updated to v3.4.6 and can confirm that mails that I delete on my phone (iOS Mail App) disappear shorty after that in the Inbox of Nextcloud Mail. However, that's only the case if I have Nextcloud Mail open in the Browser. I.e. Everything that I delete while I'm not logged in to Nextcloud will still be showing up in the Inbox of Nextcloud Mail next time I log in. |
Same here. My experiments described above worked well because I had opened Nextcloud in the browser. In real life, I delete mails on the phone while on the go when there is no active browser window, and those deleted mails keep showing up in Nextcloud. |
@st3iny since the issue scenario described by @hartigdan and @bovender can be reproduced, should we reopen this issue? Or rather new follow-up, cc @ChristophWurst |
IDK why this is closed. I sill have the issue. I've archived some emails on my phone and they're still in my inbox in Nextcloud. Snappymail is without any issues. I tried to archive them again. click the button to refresh, refreshed the site itself, refreshed it without chache, cleared cache and data and opened it on another device. The stupid emails just won't disappear making my inbox utterly unusable (it was about 20-30 emails I archived). I'd love to use this app's cool functionality (the ai tagging) but the app is slow and unusable due to phantom emails. PS: Some emails also don't load at all. Sometimes they're blank, sometimes it says "not found", sometimes they're rendered too large and cut off. It's been like this for like 4 years. |
because there is #9168 |
THX. I haven't found that and AFAIK it wasn't mentioned here (or is burried in the conversation). |
now on Nextcloud 29.0.4 - Mail app Version 3.7.6 some deleted mail from other mail applications are not removed in Mail app Version 3.7.6. Still showing "not found" |
This comment was marked as duplicate.
This comment was marked as duplicate.
I was able to reproduce it locally on Dovecot. Here are some (hacky) steps to trigger the issue: Preparations
Repro
Running step 3 ensures that the server "forgets" the Disable background syncdiff --git a/src/components/Mailbox.vue b/src/components/Mailbox.vue
index efa8b7320..7742b5b01 100644
--- a/src/components/Mailbox.vue
+++ b/src/components/Mailbox.vue
@@ -142,7 +142,7 @@ export default {
this.bus.on('delete', this.onDelete)
this.bus.on('archive', this.onArchive)
this.bus.on('shortcut', this.handleShortcut)
- this.loadMailboxInterval = setInterval(this.loadMailbox, 60000)
+ //this.loadMailboxInterval = setInterval(this.loadMailbox, 60000)
},
async mounted() {
if (this.$store.getters.hasFetchedInitialEnvelopes) { |
Two more PRs to improve the situation: |
Steps to reproduce
Expected behavior
No non-existent mails should show up in Mail, especially not indicated as unread. If the preview line can not be fetched, maybe it’s better to not show it in the message list to begin with? (It could still be loaded in later if the mail is retrieved.)
Actual behavior
The 3 mails of upgrade, activity, and invitation are actually deleted. They show up in the list without preview text line, and indicated as unread. When opening, they show "Not found":
Mail app version
Current on cloud.nc.com
Mailserver or service
No response
Operating system
No response
PHP engine version
None
Web server
None
Database
None
Additional info
No response
The text was updated successfully, but these errors were encountered: