Phantom mail from 1/01/1970 11:00 AM or 12/31/1969 keeps reappearing in my inbox, often related to junk or deleting a message
Categories
(MailNews Core :: Backend, defect)
Tracking
(Not tracked)
People
(Reporter: email, Unassigned)
References
(Depends on 2 open bugs, Blocks 1 open bug, )
Details
(Keywords: steps-wanted, Whiteboard: [dupetome][gs][status: comment 37][patchlove][has draft patch])
Attachments
(20 files)
(deleted),
application/octet-stream
|
Details | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
text/plain
|
Details | |
(deleted),
text/plain
|
Details | |
(deleted),
image/jpeg
|
Details | |
(deleted),
image/jpeg
|
Details | |
(deleted),
image/jpeg
|
Details | |
(deleted),
text/plain
|
Details | |
(deleted),
text/plain
|
Details | |
(deleted),
image/jpeg
|
Details | |
(deleted),
image/jpeg
|
Details | |
(deleted),
image/jpeg
|
Details | |
(deleted),
image/jpeg
|
Details | |
(deleted),
text/plain
|
Details | |
(deleted),
image/jpeg
|
Details | |
(deleted),
image/jpeg
|
Details | |
(deleted),
image/jpeg
|
Details | |
(deleted),
image/jpeg
|
Details | |
(deleted),
image/jpeg
|
Details | |
(deleted),
image/png
|
Details |
Comment 2•21 years ago
|
||
Comment 3•21 years ago
|
||
Comment 4•21 years ago
|
||
Comment 5•21 years ago
|
||
Comment 6•21 years ago
|
||
Comment 7•21 years ago
|
||
Comment 8•21 years ago
|
||
Comment 9•21 years ago
|
||
Comment 10•21 years ago
|
||
Comment 11•21 years ago
|
||
Comment 12•21 years ago
|
||
Comment 13•21 years ago
|
||
Comment 14•21 years ago
|
||
Comment 15•21 years ago
|
||
Comment 16•21 years ago
|
||
Comment 17•21 years ago
|
||
Comment 18•21 years ago
|
||
Comment 19•21 years ago
|
||
Comment 20•21 years ago
|
||
Comment 21•21 years ago
|
||
Comment 22•21 years ago
|
||
Comment 23•21 years ago
|
||
Comment 24•21 years ago
|
||
Comment 25•21 years ago
|
||
Comment 26•21 years ago
|
||
Comment 27•21 years ago
|
||
Comment 28•21 years ago
|
||
Comment 29•21 years ago
|
||
Comment 30•21 years ago
|
||
Comment 31•21 years ago
|
||
Comment 32•21 years ago
|
||
Comment 33•21 years ago
|
||
Comment 34•21 years ago
|
||
Comment 35•21 years ago
|
||
Comment 36•21 years ago
|
||
Comment 37•21 years ago
|
||
Comment 38•21 years ago
|
||
Comment 39•21 years ago
|
||
Comment 40•21 years ago
|
||
Comment 41•21 years ago
|
||
Comment 42•21 years ago
|
||
Comment 43•21 years ago
|
||
Comment 44•21 years ago
|
||
Comment 45•21 years ago
|
||
Comment 46•21 years ago
|
||
Comment 47•21 years ago
|
||
Comment 48•21 years ago
|
||
Comment 49•21 years ago
|
||
Comment 50•21 years ago
|
||
Comment 51•21 years ago
|
||
Comment 52•21 years ago
|
||
Comment 53•21 years ago
|
||
Comment 54•21 years ago
|
||
Comment 55•21 years ago
|
||
Comment 56•21 years ago
|
||
Comment 57•21 years ago
|
||
Comment 58•21 years ago
|
||
Comment 59•21 years ago
|
||
Comment 60•21 years ago
|
||
Comment 61•21 years ago
|
||
Comment 62•21 years ago
|
||
Comment 63•21 years ago
|
||
Comment 64•21 years ago
|
||
Comment 65•21 years ago
|
||
Comment 66•20 years ago
|
||
Comment 67•20 years ago
|
||
Updated•20 years ago
|
Comment 68•20 years ago
|
||
Comment 69•20 years ago
|
||
Comment 70•20 years ago
|
||
Comment 71•20 years ago
|
||
Comment 72•20 years ago
|
||
Comment 73•20 years ago
|
||
Comment 74•20 years ago
|
||
Comment 75•20 years ago
|
||
Comment 76•20 years ago
|
||
Comment 77•19 years ago
|
||
Comment 78•19 years ago
|
||
Comment 79•19 years ago
|
||
Comment 80•19 years ago
|
||
Comment 81•19 years ago
|
||
Comment 82•19 years ago
|
||
Comment 83•19 years ago
|
||
Comment 84•19 years ago
|
||
Comment 85•19 years ago
|
||
Comment 86•19 years ago
|
||
Comment 87•19 years ago
|
||
Comment 88•18 years ago
|
||
Comment 89•18 years ago
|
||
Comment 90•18 years ago
|
||
Comment 91•18 years ago
|
||
Comment 95•17 years ago
|
||
Comment 96•17 years ago
|
||
Updated•17 years ago
|
Assignee | ||
Updated•16 years ago
|
Comment 102•16 years ago
|
||
Comment 106•15 years ago
|
||
Comment 107•15 years ago
|
||
Comment 109•15 years ago
|
||
Comment 110•15 years ago
|
||
Comment 111•15 years ago
|
||
Comment 112•15 years ago
|
||
Comment 113•15 years ago
|
||
Comment 114•15 years ago
|
||
Updated•14 years ago
|
Comment 115•14 years ago
|
||
Comment 116•14 years ago
|
||
Comment 117•14 years ago
|
||
Comment 118•14 years ago
|
||
Comment 119•14 years ago
|
||
Comment 120•14 years ago
|
||
Comment 121•14 years ago
|
||
Comment 124•14 years ago
|
||
Comment 125•14 years ago
|
||
Comment 126•14 years ago
|
||
Comment 127•14 years ago
|
||
Comment 128•13 years ago
|
||
Comment 129•13 years ago
|
||
Comment 130•13 years ago
|
||
Comment 131•13 years ago
|
||
Comment 132•13 years ago
|
||
Comment 133•13 years ago
|
||
Comment 134•13 years ago
|
||
Comment 135•13 years ago
|
||
Comment 136•13 years ago
|
||
Comment 137•13 years ago
|
||
Comment 138•13 years ago
|
||
Updated•13 years ago
|
Comment 139•12 years ago
|
||
Comment 140•12 years ago
|
||
Comment 141•12 years ago
|
||
Comment 142•12 years ago
|
||
Comment 143•12 years ago
|
||
Comment 144•12 years ago
|
||
Comment 145•12 years ago
|
||
Comment 146•12 years ago
|
||
Comment 147•12 years ago
|
||
Comment 148•12 years ago
|
||
Comment 149•12 years ago
|
||
Comment 150•12 years ago
|
||
Comment 151•12 years ago
|
||
Comment 152•12 years ago
|
||
Comment 153•12 years ago
|
||
Comment 154•12 years ago
|
||
Comment 155•12 years ago
|
||
Comment 156•12 years ago
|
||
Comment 157•12 years ago
|
||
Comment 158•11 years ago
|
||
Updated•11 years ago
|
Comment 159•11 years ago
|
||
Comment 160•10 years ago
|
||
Comment 162•10 years ago
|
||
Comment 163•10 years ago
|
||
Comment 164•10 years ago
|
||
Comment 165•10 years ago
|
||
Comment 166•10 years ago
|
||
Comment 167•10 years ago
|
||
Comment 168•10 years ago
|
||
Comment 169•10 years ago
|
||
Comment 170•10 years ago
|
||
Comment 171•10 years ago
|
||
Comment 172•10 years ago
|
||
Comment 173•10 years ago
|
||
Comment 174•10 years ago
|
||
Comment 175•10 years ago
|
||
Comment 176•10 years ago
|
||
Comment 177•10 years ago
|
||
Comment 178•10 years ago
|
||
Comment 179•10 years ago
|
||
Comment 180•10 years ago
|
||
Comment 181•10 years ago
|
||
Comment 182•10 years ago
|
||
Comment 183•10 years ago
|
||
Comment 184•10 years ago
|
||
Comment 185•10 years ago
|
||
Comment 186•10 years ago
|
||
Comment 187•10 years ago
|
||
Comment 188•10 years ago
|
||
Comment 189•10 years ago
|
||
Comment 190•10 years ago
|
||
Comment 191•10 years ago
|
||
Comment 192•10 years ago
|
||
Comment 193•10 years ago
|
||
Comment 194•10 years ago
|
||
Comment 195•10 years ago
|
||
Comment 196•10 years ago
|
||
Comment 197•10 years ago
|
||
Comment 198•10 years ago
|
||
Comment 199•10 years ago
|
||
Comment 200•10 years ago
|
||
Comment 201•10 years ago
|
||
Comment 202•10 years ago
|
||
Comment 203•10 years ago
|
||
Comment 204•10 years ago
|
||
Comment 205•10 years ago
|
||
Comment 206•10 years ago
|
||
Comment 207•9 years ago
|
||
Comment 208•8 years ago
|
||
Comment 209•8 years ago
|
||
Comment 210•8 years ago
|
||
Updated•8 years ago
|
Comment 212•8 years ago
|
||
Comment 214•7 years ago
|
||
Comment hidden (me-too) |
Comment hidden (me-too) |
Comment hidden (me-too) |
Comment 218•6 years ago
|
||
Comment 219•6 years ago
|
||
Comment 220•6 years ago
|
||
I have this problem now - ever since I removed and then recreated my Thunderbird profile, in an attempt to escape bugs. I despair.
Comment 221•6 years ago
|
||
Things are now thus: emails that should have been moved by filters from my inbox are still there; when I try to delete them, some other e-mail gets deleted. This is just a disaster.
Also: why is this bug report so hard to find on Bugzilla?
Comment 222•6 years ago
|
||
No, filters do not help the situation at all.
ABSOLUTELY NOTHING helps. Including the folder compression/restructuring and everything else discussed here.
What is worse is that developers are in complete denial of this problem. They must be lucky enough to not have those zero-length shadow letters.
Comment 223•6 years ago
|
||
I should like to know, developers, what your attitude to this problem is. Must I and others (1) hope that the Gods smile upon us and hence that filters start working properly - as against creating phantom emails and, indeed, in my case, making it the case that when one tries to delete such an e-mail, another e-mail - which one may want to keep - disappears from view?
Or perhaps (2) we should give up on Thunderbird, after (in many cases) many years and with much of our lives tied up in it, and despite all its (other) virtues, and move to some possibly closed-source, possibly data-mining alternative?
Or is there perhaps (3) the option that this bug - or these bugs - dating back, in this thread alone, sixteen years (sic) might actually get fixed?
I imagine there might be some professional pride involved as well.
Please do not tell me to make a new profile. For, I started having the problem - which I had had once before, years ago - just after . . I had created a new profile. Moreover, even if there is something unique and even user-caused about the problem in my case, there are I do not know how many contributors to this thread. So, we have here, at the least, a problem of Thunderbird robustness - and a rather serious one too, even aside from the boggling amount of time this problem has been around.
I appreciate that there has been some intemperance on the part of the users. But, really . .
Comment 224•6 years ago
|
||
AFAIK, we don't have any steps to reproduce this problem. Once we have, the problem should be fixable.
Comment 225•6 years ago
|
||
True. Please add steps-wanted when we need reprodicble steps
Comment 226•6 years ago
|
||
There are no specific steps. Those phantom mails sometimes appear, and sometimes not.
The problem can be fixed once and for all forever if Thunderbolt had just like three lines of code to check if mail has zero length (hence e.g.date defaults to 1970) and then not to add it to the list of mails, to never render it.
Can anyone with access to Thunderbird code please do this?
Comment 227•6 years ago
|
||
Re specific steps and possible causes: please see the extensive technical discussion in this thread between WADA and me in the fall of 2014. A fair amount of debugging was attempted, considerable information about the affected folders and .msf files was provided (including screenshots and other uploads), and WADA had a number of ideas as well as pointing to other bugs that can in fact be used to reproduce the phantom messages.
I can no longer help because it only ever happened for me with Junk processing and auto-expiry into Trash, and these days I see essentially nothing that ends up as Junk. The ISPs for my older email accounts (in use at the time of those earlier discussions) basically block everything now, and my new privately-hosted email address, for which I use IMAP instead of POP3, either is treated the same way or is simply too new to have been scraped from anywhere (or IMAP doesn't display the problem). NB This black-box spam-handling approach annoys the hell out of me because I like to see what spam is being sent to me. Not only does the current situation mean I can't tell whether there are any false positives (far from unheard-of), the subaddressing scheme I use also identifies who leaked my address, and then I get to yell at them. If I don't see anything, I can't deal with either of those problems.
As a result of the above email changes, I never see the phantom message problem any more. But I think it would be really helpful if the TB developers could acknowledge that the problem is real, that it has affected a large number of users for a very long time, and try to find someone who can work with them to debug it instead of just saying "we can't fix it without more info".
Comment 228•6 years ago
|
||
(In reply to Ruth Milner from comment #227)
try to find someone who can work with them to debug it instead of just saying "we can't fix it
without more info".
Isn't that what I just said? If anybody has steps to reproduce, we can work on fixing it. That someone must step forwards.
Comment 229•6 years ago
|
||
I wonder why Thunderbird's code allows zero-length mails to be added to the list.
No need for a debugger to check this. (Besides, to run it you have to set up an environment, download fat Thunderbird source code, run it 24/7, etc.)
There is a point when the algorithm fetches new mails and, if it was a success, adds them to your synchronized mail folders in bold font, fires "new mail" to show an icon in notification area, and so on.
The whole issue can be fundamentally solved forever by implementing a simple check that would prevent all those events from happening. It is sad that no Mozilla programmers attempted to do that despite decades of the issue existing. Let's hope that one day someone will do it.
Comment 230•6 years ago
|
||
An empty mail (body) is not an invalid email. Some people put all the message into the subject.
There are also other valid reasons why an "empty" mail can be a valid, like when you have set up Thunderbird to only download headers at first.
Any "simple" fixes will just break some other use case, that's why we need to know the cause, to fix that and not break things for others.
Comment 231•6 years ago
|
||
It is not just the body of the phantom message is zero-length, it is is ALL of it, including the subject, the dates, the headers, etc. There is literally nothing there (people can see it by themselves by selecting "Show source" on such phantom messages).
So why it is impossible to built-in a tiny check for the whole message's object? It can not disrupt anything as at no other cases zero-length messages exist or should exist.
Comment 232•6 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #228)
If anybody has steps to reproduce, we can work on fixing it.
There are ways it can be reproduced described by WADA above, and there are various types of logs and other data posted above as well. It is complicated by the fact that it seems to happen in more than one way. In this bug thread, people mostly refer to a correlation with message deletion. At the very least these reports/comments present lines of inquiry. A few thoughts:
o it reportedly happens with IMAP accounts as well as POP3, but is there any feature in
particular that the setups have in common, e.g. offline storage?
o Does it occur with any folder or only a limited subset? So far Inbox, Trash, and Junk
have be mentioned; is that's all? If so, it may be meaningful.
o I documented above that, when a phantom appears, there is no difference in the content
folder before/after, but there is a change in the .msf file before/after. There is
even an uploaded screenshot and some pasted text of these differences.
o It appears there may be a race condition of some sort involved, since the problem
occurred reliably with normal execution, but not at all when NSPR logging was used.
o It first showed up for me when upgrading from TB 1.x -> 3.1 and has continued with
every version since. What changed in 3.x that might be relevant? WADA mentioned
something, but I don't know if it is related or is even still in the code.
WADA's extensive contributions and results from a lot of testing begin with comment #162.
Comment 233•6 years ago
|
||
(In reply to User Dderss from comment #231)
So why it is impossible to built-in a tiny check for the whole message's
object? It can not disrupt anything as at no other cases zero-length
messages exist or should exist.
But that likely isn't the problem, since no such mails would exist. It is shown as a mail, but it's showing something that is nowhere. The problem is finding why it's showing something that isn't there.
Ruth, thx, but unfortunately non of that give much clue. What we can say is that there seems to be some problem with the .msf file (meaning the folder cached database).
Comment 234•6 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #233)
But that likely isn't the problem, since no such mails would exist. It is shown as a mail, but it's showing something that is nowhere. The problem is finding why it's showing something that isn't there.
There is no mystery in that either. Thunderbird shows last previously rendered subject/body as the phantom mail itself has nothing to render (msg file from phantom mail is zero), and its zero date defaults to 1970.
This is why to solve the issue the mail's total (!) length should be checked before it is added to any folders. Weirdly enough, it is not done in the code. And I can not understand why such a simple check can not be implemented.
Comment 235•6 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #233)
What we can say is that there seems to be some problem with the .msf file (meaning the folder cached database).
And none of the previously-provided .msf snippets suggest anything? They are the parts that were different when the phantom message was shown/not shown.
Comment 236•6 years ago
|
||
Thanks to Ruth Milner and all those, especially the Thunderbird developers, who have responded helpfully to my call for a fix.
Even though I am not a developer and even spend what I regard as too much time reporting bugs for open-source software, I would be happy to supply whatever the Thunderbird developers need by way of logs. (I have the problem on my Windows computer. Also, I might - though, frankly, I hope not - be able to reproduce it on my Linux computer. The latter has a lighter TBird installation: fewer stored messages, fewer filters.)
Comment 237•6 years ago
|
||
So . .
Comment 238•6 years ago
|
||
Currently on my system the filters get (visibly) applied as soon as one refreshes the painting of the inbox by switching the view to a different folder and then switching back again. So surely some sort of automatic refresh would fix this, at least in the version I suffer from it currently?
Also: come on devs, you showed some willingness, recently, to engage with the problem, but now you have gone quiet again.
Comment 239•6 years ago
|
||
None of the comments above are labeled STR. Data is needed. So here is how you can assist moving this bug forward
a) which of Ruth's and/or Wada's comments reliably reproduces the issue, with the barest amount of steps
b) provide msgdb log to go with a) above
c) identify whether it happens with pop-only, imap-only, or both
Comment 240•6 years ago
|
||
Thanks.
I do not know the meaning of 'STR'.
Re your point (a): you wish me to identify which of those comments allows one to reproduce the issue and, if there is more than one such comment, identify that which contains fewest steps? Alright, I will try.
Re your (b): provide the 'msgdb' log corresponding to the procedure identified in step (a)? OK. (I will have to look up what and where that log is. I have a Windows installation of TBird and a Linux one but only the former has the problem.)
Re your (c): I use only IMAP. But I suppose I have e-mail account on which I can enable POP. Subsequently though I would have to ensure that that account receives e-mail - e-mail, I mean, to which one of the problematic e-mail filters applies. I would like it were someone else to try this step; it's a lot of work for me.
Comment 241•6 years ago
|
||
Comment 242•6 years ago
|
||
C) both POP and IMAP have been reported in previous comments
Comment 243•6 years ago
|
||
I should have said, C is tied to A - which is to say, each set STR someone provides must specify whether it reproduces with pop, imap or both.
Note STR must also be reproducible for the other traigers and developer who potentially work toward identifying cause and fix - otherwise, the STR doesn't get us to a solution.
Comment 244•6 years ago
|
||
The following steps may suffice to reproduce at least one version of the problem. ('May?' See below.)
- Install Thunderbird.
- Create a Thunderbird profile (via any normal means, including via running Thunderbird for the first time and then following prompts) and as part of that specify an IMAP e-mail account with Thunderbird and set the 'message store type' to 'mbox'.
- Create an e-mail filter (in any normal way) that: moves an e-mail (received via the aforementioned account) to some local folder; has 'subject contains' as its criterion; and that can be run manually (as to the 'filter before junk classification', how one sets that option seems not to affect whether the bug manifests itself).
- Receive an e-mail that fits the filter.
Should these steps not suffice to reproduce the problem (on a developer's installation of Thunderbird) then I invite suggestions about missing necessary steps. Possibly one needs more than one e-mail account. Also one might try converting an existing Thunderbird email account to use 'mbox' (from using 'maildir').
It may be hard to identify all the necessary steps - because of the number of Thunderbird options and add-ons. Such difficulty does not entail that this bug is not a (deeply irritating) bug. Nor do I find it clear that it is users' responsibility to identify the extra prerequisites. I do realise that someone has to in some way identify those steps, if the bug is to be fixed. Yet: if you, developer, cannot reproduce the problem, then why don't we keep adding specifics of my installation - adding them to your test installation - until you can reproduce it? Thanks.
Comment 245•6 years ago
|
||
I will provide a log as soon as I know how to provide one.
It seems the wanted log is discussed here (https://wiki.mozilla.org/MailNews:Logging) and here (http://kb.mozillazine.org/Session_logging_for_mail/news) but the procedure involves setting environmental variables and, on Windows (as against Linux - and, as said, I have problem on Windows) I am not not familiar with such things and so could do with more information than provided by the pages that I cite.
Must I write a batch file that sets environment variables and that runs Thunderbird? Or will it suffice to set variables using say Rapid Environment Editor (https://www.rapidee.com/en/about) and then run Thunderbird normally?
I could try to answer this question about logging myself, but of course the developers know such matters inside out; that's why I am asking.
Comment 246•6 years ago
|
||
If it is only environment variables, there may be command-line options to set them when starting TB. On Windows, you can edit the Properties of a shortcut to run the command with extra stuff.
If this is special logging, note what I documented above: when that was enabled in my testing, the problem never occurred. That testing was done at a time when the phantom messages showed up many, many times a day. IIRC, it ran for two days with none. As soon as I went back to normal execution, they showed up within minutes.
This is why I noted a possible race condition in my summary above. WADA commented that some types of logging force TB to do some operations serially instead of how they're normally done, which might prevent the problem from being triggered.
Comment 247•6 years ago
|
||
I have clarified logging at https://wiki.mozilla.org/MailNews:Logging#Environment_Variables_to_set
You choose whether the use environment variable, or a batch file. Batch file is simpler.
Note, MsgDB is case sensitive.
Comment 248•6 years ago
|
||
I can confirm - albeit on the basis of a small data-set - that, as Ruth said, when logging is enabled, the problem does not occur (!), although I do get a flash near my system-tray when a filter-meeting e-mail arrives, as if to suggest the creation and immediate removal of a new mail notification. So here, strangely enough, we have a work-around of sorts, especially if a very log level prevents the problem occurring. (I used log level 5 for the test, advised.) I will try now to attach the log.
Comment 249•6 years ago
|
||
I can't see how to add an attachment (and https://wiki.mozilla.org/BMO/UserGuide did not seem to help).
Also, I discover that my log contains the full text of at least one e-mail that I wrote.
So, please advise (1) where / how to post the log (ideally somewhere that it will expire after a certain period), (2) how to redact it / supply only what is needed. Thank you.
Comment 250•6 years ago
|
||
I have (re)discovered how to attach files here. However, the log is absolutely full of confidential information - so do please advise.
Comment 251•6 years ago
|
||
I have not seen this problem since I got a more reliable broadband ISP.
But based on past observations:
Set up a dummynet between thunderbird and your mail server.
Start increasing the packet loss rate.
https://www.freebsd.org/cgi/man.cgi?query=dummynet&sektion=4&manpath=freebsd-release-ports
Eventually you should see this problem and probably reproduce a number of other open problems.
It looks like both Firefox and Thunderbird leak memory when there is a network reliability issue. Eventually this memory leak will cause this issue to show up.
This is the same user as malmberg@encompasserve.org. I reset the password for that account and it still would not let me log in.
Comment 252•6 years ago
|
||
Definitions matter here. I've had the same Internet Service Provider - i.e. physical connection to the Internet - for 12 years (CenturyLink,the only one available that isn't $$$ satellite). The phantom problem almost completely stopped for me when the spam I receive through my then-primary email provider (Yahoo) went almost to zero. Spam is the target of almost all of the filtering I use in TB, and that is one of the deletion methods multiple people have reported as a trigger for the phantoms. (They would first appear in Junk and then quickly get auto-expired to Trash because the interpreted date was >30 days before.)
In the past few months, i.e. long after the time spam filtering/blocking got tougher (which I'd turn off if I could), my DSL quality has gone from mediocre to pathetic, but the TB phantom problem is still extremely rare. So I don't think it's directly related to connection quality. You might check whether your provider(s) happen to be doing a better job of spam reduction as well as link reliability.
Firefox leaks memory constantly, even on very fast reliable networks like I had at work. TB has far less of a problem with this, even on my crappy home DSL. When I was seeing the problem, it would show up within minutes of starting TB - before it had any opportunity to leak.
Comment 253•6 years ago
|
||
Perhaps ISPs are involved in the causation of the problem.
Yet, we know that enabling a certain form of logging suppresses the problem. Can this not be turned into a (less hacky) solution?
Comment 254•6 years ago
|
||
I have used the Windows control panel (on my Windows 8.1 computer) to set the user environmental variables as follows: MOZ_LOG to IMAP:1 and MOZ_LOG_FILE to R:\imap.log. I will see whether this fixes the problem.
Another possibility: we pay someone outside Thunderbird - pay one of those will-fix-open-source-for-money companies - to fix this problem.
Comment 255•6 years ago
|
||
Feel free to send me MsgDB log for when the problem happens. No promises on when I'm going to be able to look closely at it.
Comment 256•6 years ago
|
||
@mkmelin]
The MsgDB log is the one captured by setting the environmental variables, right? If so, what loglevel do you want set? For, when that level is 5, then - as reported previously - the problem does not occur. I discover also, today, that setting the level to 1 does allow the problem. Levels 2-4 are as unknown territory. Also, and as I've mentioned before: at least with level 5 logging, the log contains a lot of confidential e-mail. Also - are you asking for payment, Magnus?
Comment 257•6 years ago
|
||
As high level as possible (5). Feel free to remove any confidential information.
And no, not asking for any payment. I'm working for the Thunderbird project.
Comment 258•6 years ago
|
||
Magnus: thank you for clarifying that one matter. However, consider the following.
(1) At level 5, the problem does not occur. That is, and as more than one person has reported on this thread: when logging (level 5) is on, the problem is gone - and I would have thought that, thwarting as this is, it itself provides some clues to the would-be bug-fixing programmer.
(2) At least at log level 5, it is non-trivial to extract from the reams of data the text of e-mails I have sent and received. So it would be easier to tell me what you do need from the log.
So: I like you enthusiasm, but I need help in proceeding.
Comment 259•6 years ago
|
||
It doesn't necessarily need to be level 5. What we need is a way to reproduce, or potentially just logs can clear up when it happens. I'm just sceptical anything other than level 5 will have enough data to give us the needed clues. Even with level 5 there is no guarantee.
What you can look for in the log is any errors or warnings, or if there's a certain pattern that could be of interest (hard to say exactly what).
Comment 260•6 years ago
|
||
signupemail, also, you will want to write down the precise time of your actions in Thunderbird, so these actions can been directly correlated to data in the logs
Comment 261•6 years ago
|
||
Wayne: which actions, please? Do you mean automatic actions, i.e. when the filters run automatically? If so, well, it's hard for me to know when that happens. If instead you mean when I initiate actions, then, which actions, please? Begin to compose an e-mail? Send an e-mail? Apologies if I misunderstand.
Comment 262•6 years ago
|
||
Only the actions related to you reproducing the issues of this bug report
Comment 263•6 years ago
|
||
Only the actions related to you reproducing the issues of this bug report
Well, to be brief: that's hardly any actions. For the problem occurs, mostly, when filters run automatically on mail that is fetched automatically.
Comment 264•6 years ago
|
||
(please take care to needinfo the correct addresses)
Comment 265•6 years ago
|
||
Wayne Mery: sorry.
I have some results - as follows.
Log level | Any log output | Format of any log content | Logging clears up the filter problem |
---|---|---|---|
1 | N | NA | N |
2 | N | NA | N |
3 | N | NA | Y |
4 | Y | hex | Y |
5 | Y | plain text | Y |
So: setting the log level between 1 and 3 produces no log, though a log level of 2 - and above - does solve the very problem we are trying to diagnose. The log produced at level 4: is hex; is some 1.4 MB (at present); seems to contain mostly zeros. I would attach that log but I do not know what it (in its non-zero parts) encodes.
I can (re-)enable logging at level 5 and see whether any of the resulting log seems useful, even though at that log level, the logging solves the problem.
Comment 266•6 years ago
|
||
(The instructions here for making tables did not to work for me.)
Comment 267•6 years ago
|
||
Strange things happen with the log at log level 5: sometimes the log is wholly hexadecimal numbers; at other times it is wholly English; at other times it is a mix of hex and English. I have yet to see anything that looks significant within the English parts.
Comment 268•6 years ago
|
||
Data-point: Tbird was running and set as it normally is on my machine to use a proxy via vpn. I had disabled the vpn. I wrote an e-mail and tried to send it. Sending failed because of the lack of proxy. I aborted the send and re-enabled the vpn. Then I tried again to send the e-mail. It got sent, but a load of phantom e-mails - emails with dates but no content - appeared in my inbox. Upon restarting Tbird, all those e-mails disappeared.
Comment 269•6 years ago
|
||
Disabling the proxy (see my comment above) did not prevent filters from behaving problematically.
Comment 270•6 years ago
|
||
To the best my ability, I have provided the data requested by the developer(s), though there is the problem that turning on logging seems sometimes to circumvent the problem.
There seems to have been no result to my having provided such data as I could. Yet, this thread gives one to understand that there is a desire to fix this (sixteen-year-old) bug.
What next, then, please?
Comment 271•6 years ago
|
||
(In reply to signupemail from comment #266)
... making tables did not to work for me.)
Your formatting was incomplete - second line was missing a couple pipes, third line was missing one pipe
Comment 272•6 years ago
|
||
(In reply to signupemail from comment #270)
...
What next, then, please?
Someone to come by with time and experience, and ability to reproduce the bug. I currently have none of those. We wait.
Comment 273•5 years ago
|
||
Is anyone else seeing Thunderbird 68.1.0 or TB 68.0 issues with emails being downloaded with ridiculous time stamps of "12/31/1969 19:00" (midnight GMT of 1970 as I'm -5 Hrs GMT timezone) or downloading the same email message multiple times? I don't see any work on Bug 209501 to resolve the issue. I noted that some of the messages in this bug report go back a decade or more and the issue hasn't been assigned for evaluation and resolution.
I'm seeing this a lot. Most of the weird messages have bodies that are garbled HTML, or simply blank. Occasionally, other (older) messages with valid headers and bodies will have garbled HTML code suddenly appended to the message. This happens to messages I may have downloaded hours or days earlier and which did not have the garbled information originally present.
The issue seems to happen most reliably when I start the computer and open TB first thing in the morning (i.e. for the first time that day). If I leave TB up all day, I rarely see this issue crop up. I've turned off "check for new messages on start up" for all but one of my three accounts (mixed Pop3 and Imap servers), and have now turned this off for all accounts to see if that makes a difference. I've set the "check for new messages" value for all accounts to be mutually prime number of minutes to try and avoid getting email from multiple systems at the same time (I have three email systems set for 11,13, and 17 minutes). Most of the corrupted emails are not recoverable and in some cases, I can't delete them either.
The really weird thing is that sometimes the empty messages with 1969 dates are moved to local folders as if the header was processed by the filters and then somehow the message header and body were deleted (I have quite a few filters and local folders, is there some limit I'm not aware of). Rebuilding the local or inbox MSF files doesn't help clean things for me. I keep my hard drive defragmented often, and I did run chkdsk to fix any disk issues, and I compress my folders when I clean out the Junk and Trash folders; but the issue keeps happening anyway.
Sometimes if I switch from the unified inbox to one of the individual email inboxes and back the corrupted messages disappear (but I may still find garbled HTML appended to other messages with valid headers and readable upper bodies).
I'm running TB 68.1.0 on the following Asus Laptop configuration.
Operating System
Windows 10 Home 64-bit
CPU
Intel Celeron N2830 @ 2.16GHz 67 °C
Bay Trail-M 22nm Technology
RAM
8.00GB DDR3 @ 666MHz (9-9-9-24)
Motherboard
ASUSTeK COMPUTER INC. X551MA (SOCKET 0)
Graphics
Generic PnP Monitor (1366x768@60Hz)
Intel HD Graphics (ASUStek Computer Inc)
Storage
465GB Hitachi HGST HTS545050A7E680 (SATA ) 35 °C
116GB SDXC Card (SCSI )
235GB PNY USB 3.0 FD USB Device (USB )
Optical Drives
TSSTcorp CDDVDW SN-208FB
Audio
Realtek High Definition Audio
I have the following plugins installed. I'm also seeing the intermittent blank Today Pane issue (see for Bug 1580823 additional details on that issue).
Attach from Clibboard
CardBook
Category Manager
Enigmail
ImportExport Tools NG
Lightening
LookOut (fix version)
Mail Merge
Mail Redirect
Mailbox Alert
Night and Day Dynamic (issue predates this installation)
Quicktext
Reply to Multiple Messages
Sent Later
Sent Later Button
Sensitivity Header
ThunderHTMLedit
Xpunve (v1.0.0 issue predates this installation)
If anyone knows of a fix, please respond. While I have loved using TB in the past, issues of this severity should result in a rapid response (IMHO) and that doesn't seem to have happened.
Comment 274•5 years ago
|
||
(In reply to wilson from comment #273)
I think you'd better open a new bug.
Comment 275•5 years ago
|
||
This is what I'm seeing in TB 68.1.0 and what I saw in TB 68.0. I hadn't seen this previously; but it looks like this is a long standing issue.
Comment 277•4 years ago
|
||
Hi, I've also experienced the same issue. In my case, I use another mail client, which did show the problematic email in the unified inbox properly, which I was able to archive and fix the problem. Seems to be related to local cache issue, so next time I encounter this problem, I'm planning to delete local cache in the settings menu and see what happens.
Comment 278•4 years ago
|
||
Happened again (sigh) and it seems to be caused by a syncronization issue between server and local when archiving messages. removing cache or restarting did not fix it. I had to remove that problematic email using another software.
Comment 279•4 years ago
|
||
I had the same problem with that phantom messages today (14 of March 2021) after changing the download settings of one of my accounts that I don't use that often and it used to download mostly junk.
I made it download the emails once every 24 hours and I made it download only the headers.
As soon as I did these changes I found in the Archives folder of this email account 45 phantom emails with no subjects, no sender, no headers, completely empty and with the date 1-1-1970.
I deleted those messages but later on I found more of these messages on the Archives folder of an other of my email accounts when I tried to delete some messages though I haden't changed the settings on this other account.
The problem occured on Thunderbird 68.10.0 running on Linux Mint.
I had to reverse the settings of the first account and I'm waiting now to see if this phantom messages will reapear.
I'm just reporting this problem without having the slightest expectation to get an answer because according to what I read above it seems that this bug has become an ...adult bug. It is 18 years old! So there are not that much else to say than congratulate it for coming of age!
Comment 280•3 years ago
|
||
I'm on 91.0.3 and have this problem.
An email is in my inbox, no subject, date 12-31-1969
However, the content is actually an email from google saying i signed in to a new device, and the date is correct there showing 08.25
Updated•3 years ago
|
Updated•2 years ago
|
Comment 281•2 years ago
|
||
Can confirm (in October 2022) that this bug or at least some variant still occurs in Thunderbird 102.4.0
In my case on Windows11 (and the 64bit version of Thunderbird) i only use IMAP accounts and only use the MAILDIR format.
On some occasions, especially when waking the PC out of standby or when deleting multiple messages, the ghost messages with date 01.01.1970 appear. Mostly they are junk messages and most of the time they go away when i click on a different folder and back to the original folder.
And mostly the problem seems to appear on grouped folders e.g. the general INBOX for all accounts.
The bug is a persisting annoyance but i don't think it causes any danger or data loss.
Comment 282•2 years ago
|
||
Version 102.8.0
Just happened after I launched thunderbird.
Note I posted 2 years ago here with this same issue, and I was on a different machine.
It'd be nice to up the priority of this.
It's been 20 years.
Comment 283•2 years ago
|
||
Happened again today.
Should I keep reporting this? Honestly seems a bit pointless.
Comment 284•2 years ago
|
||
102.9.1 (64 Bit)
Happened to me also again today. After waking the PC out of sleep, about 10 or so 01/01/1970 mails appeared in my common-inbox. They only went away after navigating to a different folder and back again.
My neigbour has a PC with same version of TB (all on an SSD) und has a slightly similar issue: all her eMail account spam filters are set so that spam marked messages should go directly into a spam folder in the local folders. When she opens up the PC out of sleep, numeros spam-marked messages appear in the common-inbox, they also only go away when navigating to a different folder and back again. Would technically like to know why such issues persist so long in TB. Could it rather be a problem of the file system (NTFS here) in combination with all folders set to MAILDIR (meaning one file per message)? Get the impression that such problems occur more regularily on SSDs than on HDDs but have no technical proof for this.
Comment 285•1 year ago
|
||
I have been using thunderbird for exactly 3 months, this bug happens at least twice a week since so I tried many times to investigate the exact cause but I don't know what triggers it and how to reproduce it, it seems to be completely random though very frequent for me.
For the longest time, I just ignored it, however, yesterday, I was expecting an automated email that "never arrived", I expected it at exactly 8 in the morning but comes the time for me to clock out in the evening, still nothing has "come". But this did show up the entire day, in fact, by the end of the day, this bug email with no title and dating from 01/01/1970 was the only email left in my inbox. Since I found odd that the email never arrived, I got very suspicious and clicked on the bug email this time (I usually just ignore it) and the content was actually the email I was expecting the entire day, it was sent at the time I was expecting too.
So I tried to fix the bug by compacting the email folder, and the 1970 email dissapeared, but did not reappear as the actual email, my inbox was just empty no matter how many times I tried. Fortunately, when checking directly on gmail web, the email was still there.
Now, I think this bug is dangerous and cannot just be ignored, especially because of how frequent it is and should be a top priority because it appear to have been in thunderbird for at least 20 years.
Description
•