Pressing Repair folder twice on IMAP inbox deletes all INBOX messages
Categories
(Thunderbird :: Folder and Message Lists, defect)
Tracking
(Not tracked)
People
(Reporter: liviu, Unassigned)
References
Details
(Keywords: dataloss)
Comment 2•8 years ago
|
||
Comment 3•8 years ago
|
||
| Reporter | ||
Comment 4•8 years ago
|
||
Comment 5•8 years ago
|
||
Comment 6•7 years ago
|
||
Comment 7•7 years ago
|
||
Comment 8•6 years ago
|
||
We have the same bug in our environment.
Thunderbird 60.3.1 and 52.8.0
hMailServer 5.6.7 - Build 2425
I can reproduce it with the same steps on different Clients.
I had 4 read mails in my Inbox.
Excerpt from hMailServer-Logfile:
"SENT: 21 OK IDLE terminated"
"RECEIVED: 22 noop"
"SENT: 22 OK NOOP completed"
"RECEIVED: 23 getquotaroot "INBOX""
"SENT: * QUOTAROOT "INBOX" ""[nl]* QUOTA "" ()[nl]23 OK GETQUOTAROOT completed"
"RECEIVED: 24 UID fetch 1:* (FLAGS)"
"SENT: * 1 FETCH (UID 16089 FLAGS (\Deleted \Seen))"
"SENT: * 2 FETCH (UID 16090 FLAGS (\Deleted \Seen))"
"SENT: * 3 FETCH (UID 16091 FLAGS (\Deleted \Seen))"
"SENT: * 4 FETCH (UID 16092 FLAGS (\Deleted \Seen))"
"SENT: 24 OK UID completed"
"RECEIVED: 25 IDLE"
"SENT: + idling"
Is there a way to hide or disable the repair button?
Comment 9•6 years ago
|
||
Gene, is imap involvement within the realm of possibility?
I've never been able to reproduce.
bug 1528911 would seem to be a duplicate
Comment 10•6 years ago
|
||
(In reply to p.buchholz from comment #8)
We have the same bug in our environment.
Thunderbird 60.3.1 and 52.8.0
hMailServer 5.6.7 - Build 2425I can reproduce it with the same steps on different Clients.
Do you mean different not-TB clients? Pretty sure you mean different TB clients. Just want to make sure.
I had 4 read mails in my Inbox.
Excerpt from hMailServer-Logfile:"SENT: 21 OK IDLE terminated"
"RECEIVED: 22 noop"
"SENT: 22 OK NOOP completed"
"RECEIVED: 23 getquotaroot "INBOX""
"SENT: * QUOTAROOT "INBOX" ""[nl]* QUOTA "" ()[nl]23 OK GETQUOTAROOT completed"
"RECEIVED: 24 UID fetch 1:* (FLAGS)"
"SENT: * 1 FETCH (UID 16089 FLAGS (\Deleted \Seen))"
"SENT: * 2 FETCH (UID 16090 FLAGS (\Deleted \Seen))"
"SENT: * 3 FETCH (UID 16091 FLAGS (\Deleted \Seen))"
"SENT: * 4 FETCH (UID 16092 FLAGS (\Deleted \Seen))"
"SENT: 24 OK UID completed"
"RECEIVED: 25 IDLE"
"SENT: + idling"
Yes, this shows the messages marked with \Deleted. What would be most helpful is to see the log while the repairs are in progress. Then we could see if tb is really setting the \deleted flag on all your messages. Tb would have to be sending something like "store flag /deleted on uid 16089" for every message in the mailbox (I don't remember the exact syntax of the imap store command.)
In the cloned bug 1528911 and at comment 0 of this bug it says the messages are completely deleted (expunged) on tb close. When I mark messages as deleted they are not expunged on exit so this is a bit surprising. If you change your delete method to "just mark as deleted" do you not see the "deleted" messages with a red X and a line through them? If you do, you can always un-delete them.
Is there a way to hide or disable the repair button?
Not that I can find.
Also, if a server log is not available, please record the IMAP:5 log while doing repairs and attach it with the "Attach File" link above. See https://wiki.mozilla.org/MailNews:Logging#Generating_a_Protocol_Log
Comment 11•6 years ago
|
||
I've tried this on 2 non-Inbox folders on two different servers and don't see a problem.
I haven't tried Inbox. For reporters that see this, does it occur also on non-Inbox folders?
Also, for reporters that see this, do you have any possible non-default setting like no offline store or using maildir for offline store?
Comment 12•6 years ago
•
|
||
There's a remote possibility that the expunged messages are occurring because of auto-compacting. Do you see a prompt to compact all your folders and answer yes right before you notice the messages are gone? This may also happen automatically with no prompt if you told it not to ask in the past. This can be reset by setting mail.purge.ask back to true in config editor.
You can also completely disable compacting at Prefs/Options|Advanced|Network & Disk Space|Compact all folders...checkbox.
Of course, this doesn't explain why the messages are getting marked \deleted in the first place.
Comment 13•6 years ago
|
||
Is there any chance that the messages marked \deleted actually got moved to another folder? This may occur due to junk detection or possibly a filter. (Probably unlikely if every message in Inbox got moved and there are 1000's of them.)
Comment 15•6 years ago
|
||
Folder repair should not affect the server mailbox state at all. So unless a reporter can provide a tb IMAP:5 log or a server log showing tb marking messages as \deleted, this bug should be classified as INVALID.
Comment 16•5 years ago
|
||
p.buchholz, are you able to offer insight to comment 12 and comment 13? And if so can you provide a log as detailed at the end of comment 10.
Comment 17•5 years ago
|
||
Resolved per whiteboard
Description
•