Closed Bug 1461194 Opened 6 years ago Closed 5 years ago

Thunderbird Sometimes Re-Downloads All Emails (verizon/aol)

Categories

(Thunderbird :: Untriaged, defect)

52 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: bbird_0003, Unassigned)

References

()

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36

Steps to reproduce:

Cannot be reproduced on-demand.  Occurs intermittently & randomly.


Actual results:

Windows 10/Thunderbird 52.6.0 & 52.7.0

I'm using Thunderbird to access two email accounts via POP3. Occasionally Thunderbird re-downloads all the emails on the email server (pop.verizon.net, now being managed by AOL, a subsidiary of Verizon). It does not happen to both accounts at the same time - it happens randomly to each account. They all come in as unread, so I can filter by "unread" and then delete them. But, it's becoming a "PITA".

I have both accounts set to leave the messages on the server. I want to keep it that way to have an archive of all my emails (AOL gives us unlimited server space). I also let Thunderbird periodically compress its files (I have it set to query me beforehand). Compression seems to occur w/o errors. I am using Windows Defender as my anti-virus program and, as far as I can tell, it does not get involved with scanning emails.

Articles I have found on the support forums recommend deleting "popstate.dat" and "inbox.msf", but I'm not sure they are describing my problem. I don't get occasional multiple copies of one or two emails; I get occasional re-downloading of my whole inbox. And, as long as I'm not getting inundated with hundreds/thousands of repeat emails, Thunderbird seems to be running fine. I'm not losing any emails or attachments as far as I can tell, and not getting random duplicates of one or two emails.

I have an Android phone and an iPhone both configured to access the same accounts via POP3 and they do *not* exhibit this problem.  I also have a Windows 7 laptop running Microsoft's Live Mail which also does *not* have the problem.  So I'm pretty sure it's a Thunderbird issue.


I have tried deleting "popstate.dat" and "inbox.msf" on both accounts.  It takes a couple days, but the problem occurs again.

I have also removed Thunderbird, run CCleaner file & registry cleanup, and re-installed Thunderbird.  Again, it takes a couple days, but the problem re-occurs.  It does not occur to both accounts at the same time; it is unpredictable.  Two days ago, Thunderbird was running fine for about 10 hours and then spontaneously re-downloaded the server's inbox on one of the accounts.

Before removing Thunderbird, I created a screen dump of every configuration setting (Tools-AccountSettings & Tools->Options).  I thought I would have to re-enter all those values.  To my surprise, the re-installed Thunderbird (V 52.7.0) knew all of those settings (including email login IDs and passwords) when I started it for the first time.  So, something had been maintained over the removal, running of CCleaner, and the re-install.  This could be a clue as to where the problem is.



Expected results:

Should only be downloading new emails, not the whole inbox on the server.
I forgot to mention that I run CCleaner weekly, but I do *not* let CCleaner do any cleanup of Thunderbird.  I have disabled all of the Thunderbird cleanup options.
> So, something had been maintained over the removal, running of CCleaner, and the re-install.  This could be a clue as to where the problem is.

No clue there.  Because removing Thunderbird does not remove your data at https://support.mozilla.org/en-US/kb/profiles-tb

Highly unlikely this is a Thunderbird bug.  The symptoms typically point to the ISP or some other factor, for example bug 1416952. 

The last bugs reported with these symptoms (that were not closed invalid) were reported 14 years ago - bug 239455 which was fixed, and bug 255745 which is perhaps still valid.  (looking at queries https://mzl.la/2Ii9SAe and
Summary: Thunderbird Sometimes Re-Downloads All Emails → Thunderbird Sometimes Re-Downloads All Emails (verizon/aol)
(In reply to Wayne Mery (:wsmwk) from comment #2)
> Highly unlikely this is a Thunderbird bug.  The symptoms typically point to
> the ISP or some other factor, for example bug 1416952. 
> 
If it's an ISP problem, shouldn't the phones and the laptop exhibit the same problem?

I will review the bug reports you referenced.  Thanks.
Re: Bug #1416952 - Certainly sounds like the problem I am seeing.  However, I'm not seeing it with my Android phone, iPhone, or Windows 7 laptop.  They are all running different email clients, accessing the same servers with the same ISP, and none are seeing this problem.  Only the Windows 10 machine w/Thunderbird.

Re: Bug #239455 - Definitely not running out of disk space.  I have a 2T hard drive with tons of space available.

Re: Bug #255745 - I am not seeing Windows 10 or Thunderbird complaining about a bad internet connection.  I have Verizon FIOS and it has been pretty bulletproof.  Occasionally I see Thunderbird complain that it cannot log into one of the email servers (have not paid attention to which one -- I can if requested).  I click on "Ignore", and manually force a "Get Messages".  The manual retry works the first time 100% of the time.


The article on the Profiles was very informative.  Explains how that data survived the re-install.  Any possibility if I start from scratch (deleting my Profile) the error will go away?  Do you suggest that?

Just to clarify: I have Thunderbird set to *never* delete any emails on the server.  Regardless of age of the email, *never* delete.
I could be cynical and say "Welcome to Yahoo"  they have had issues for years with pop mail accounts simply redownloading what is on the server.

Having said that,  there are a few causes that are the usual culprits.  You will have caused one download by deleting the popstate.dat file.  After you do that Thunderbird has no idea what messages are on the server and what their reference is relative to it's database,  so you get them all.

The second cause is thanks to our friends over in the anti virus world.  They basically take over the communications chanels between Thunderbird and the server.  They get it wrong,  like chopping the connection after the download but before the "transaction" is fully finalized and oops.  You get them all again.

Then there is the old gem from ISP's.  They upgrade their server software and all the references are invalidated.  Oops you get them all again.

Finally there is the yahoo issue.  I really have no idea what it is,  but they appear to simply issue new reference numbers to all their mail on a semi regular basis.  but it only appear to affect some users.

Basically if you want all your mail on the server,  why are you not sing IMAP instead of POP.
Matt -

Clarification: This is not a Yahoo account.  It's a Verizon account.  The incoming email server is pop.verizon.net.  Verizon email servers are now being managed by AOL, which has become a subsidiary of Verizon.  

If it's something that the email hosting company is doing with its email counters, I should be seeing the problem on my two phones and my laptop.  I am seeing the problem only on my Windows 10 desktop, which is the only one running Thunderbird.

I want to use POP instead of IMAP because when I delete an email on one of my devices, I *do not* want the email deleted from the Verizon (AOL) server.  I want to maintain an archive of all my emails on the Verizon/AOL server.  AOL gives us an unlimited amount of storage.


I have a "trash" Yahoo account which I never read but gets a fair amount of spam.  I'm going to configure Thunderbird to access that account via POP3 and watch what happens.

I also have a Gmail account which I almost never read and doesn't get many inbound emails.  I'm also going to configure Thunderbird to periodically poll that one.  Even though I don't get many new emails, it will be interesting to see if the existing inbox re-downloads on occasion.

It may take a couple weeks of observation to form some conclusions.
Hello,

We are experiencing the same exact intermittent pop3 duplicate download problem on multiple machines as those stated above.  We have been using Thunderbird via Seamonkey for many years now without encountering this issue.  The issue started immediately following Verizon's migration of Verizon.net email addresses onto AOL's servers.  Ever since then and consistently every few days, emails are re-downloaded as if the popstate.dat file were missing or corrupted.   It does not seem to matter if there are 20 emails on the server or 2000, the re-downloading every few days still happens regardless.

This behavior is happening on Windows 7, Windows 10 and Win XP machines that are set to "Leave messages on Server" in Thunderbird and Seamonkey.

In each case, iPhones are also set as POP3 email clients (also being set to leave messages on the server).  But they do Not exhibit the re-download behavior.

The only partial solution we have found thus far is to remove older messages from the Verizon/AOL servers...but this only reduces the number of messages re-downloaded.  It does not fix the root problem and does not seen to affect the frequency of the random re-downloading. 

The Mail-Check interval on the workstations is set to every two minutes.  The phones are set to manually fetch so there is not much overlap while talking to AOL's servers (pop.verizon.net).

We currently have many other non-AOL pop3 mailboxes set up but they are all fine.  It is only the pop.verizon.net accounts -- specifically after the move to AOL's servers -- which re-download mail intermittently.

Best Regards,
I am so glad someone else is reporting this problem.

I can add the following observations derived over the past 3 months:

I added my Yahoo and Gmail accounts to Thunderbird and for the past 3 months have been accessing them via POP3.  They have NOT exhibited this problem (when Thunderbird talks to Yahoo and Google (Gmail) servers).  Thunderbird exhibits this problem only when talking to AOL (using the Verizon domain name) servers.  

I do not see this problem as frequently as Peter, but I still am seeing it.  Approximately once every two weeks, on each of my "verizon.com" addresses I am having Thunderbird access.

Also, like Peter, I have phones (an Android and an iPhone) configured to access these same "verizon.com" addresses via POP3 and both phones have NEVER exhibited the problem.

It is nothing as blatant as deleting or corrupting the popstate.dat file.  There is some subtle interaction going on between Thunderbird and the AOL servers that is randomly causing it.

I periodically move the contents my AOL inbox to a subdirectory on the AOL server to try to keep the number of re-downloaded messages small when the problem does happen.  It makes my manual cleanup easier, but it is still inconvenient.

It would be most appreciated if someone with knowledge of Thunderbird internals could investigate this problem.  We as mere users can only report what we are seeing.
(In reply to BigbirdPhila from comment #8)
> I am so glad someone else is reporting this problem.
> 
> I can add the following observations derived over the past 3 months:
> 
> I added my Yahoo and Gmail accounts to Thunderbird and for the past 3 months
> have been accessing them via POP3.  They have NOT exhibited this problem
> (when Thunderbird talks to Yahoo and Google (Gmail) servers).  Thunderbird
> exhibits this problem only when talking to AOL (using the Verizon domain
> name) servers.  
> 
> I do not see this problem as frequently as Peter, but I still am seeing it. 
> Approximately once every two weeks, on each of my "verizon.com" addresses I
> am having Thunderbird access.
> 
> Also, like Peter, I have phones (an Android and an iPhone) configured to
> access these same "verizon.com" addresses via POP3 and both phones have
> NEVER exhibited the problem.
> 
> It is nothing as blatant as deleting or corrupting the popstate.dat file. 
> There is some subtle interaction going on between Thunderbird and the AOL
> servers that is randomly causing it.
> 
> I periodically move the contents my AOL inbox to a subdirectory on the AOL
> server to try to keep the number of re-downloaded messages small when the
> problem does happen.  It makes my manual cleanup easier, but it is still
> inconvenient.
> 
> It would be most appreciated if someone with knowledge of Thunderbird
> internals could investigate this problem.  We as mere users can only report
> what we are seeing.

Just to clarify, I meant "verizonn.net" email addresses above, not "verizon.com".

Against an ISP known to be unrealible I wouldn't set mail checks to a low value like two minutes, that's just multipying the probability of causing a problem. 10 or higher is more reasonable.

Many people comparing against the behavior they see on phones, but it's not helpful, there's no useful basis for comparison.

You've been tenacious and helpful, but for now let's close this until we have evidence of a Thunderbird bug

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID

Same problem with IMAP and Hotmail. Every now and then (about once a fortnight) Thunderbird starts re-downloading the entire folder set, even though they are all present. Click on a folder, the emails are all visible, then suddenly disappear and reappear as it re-downloads the headers. Status bar shows it's downloading message 345 of 6789 in XYZ folder.

It does not appear to be related to a crash, it's happening now and neither Thunderbird nor Windows have crashed recently.

This appears to me a long-standing bug and annoyance with Thunderbird all the time I've been using it (about 6 years). It eats CPU time, makes the app unresponsive whenever it happens, and takes hours to re-download the messages (much longer than it should).

Please re-open.

I've been having the same problem over the last few years. For me, it's happening with Hotmail (Outlook.com) over IMAP. It doesn't seem to happen all of the time, so I wonder if it has anything to do with something periodic, like how the state of Daylight Saving Time is tracked? It may not be DST specifically, but something like that. Maybe when an e-mail sub-folder is added, removed, or moved? Fortunately, I only use Thunderbird as an offline backup of my Hotmail account, so I only sync it occasionally, but it's absurd and a total waste of time and resources that it has to re-download my entire Hotmail account each time this bug occurs.

Hard to explain, but the problem hasn't happened to me for over a year (Verizon domain email address, now handled by AOL, POP). I'm the OP. I thought that Mozilla had fixed the problem, but from the last two posts it appears they haven't. I can't explain why my problem went away.

Sounds to me like this bug should be re-opened.

While your original report was with POP3, I'd think the bug could be something not specific to POP3 or IMAP. I'm going to re-open it, and monitor mine more closely to see if it happens again.

Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: INVALID → ---

@MMortal, we still do not have evidence of a Thunderbird bug. So I am going to close this report again. Please do not reopen it. IF you do get evidence of a bug, feel free to open a new bug report with the steps to reproduce and cross reference this one.

Status: REOPENED → RESOLVED
Closed: 6 years ago5 years ago
Resolution: --- → INVALID

@Matt, will do. My only thing is that Jake (Comment 11) and myself have both experienced it in the last six months, myself having it happen with the latest version of Thunderbird in the last week (68.3.1 32-bit Thunderbird, Windows 10 64-bit 1909).

I'm genuinely interested in what threshold of evidence might be enough to just have someone more knowledgeable theorize on what it could be. I ask because, while I understand your request for steps to reproduce, it's hard to even begin to come up with steps here without having some underlying Thunderbird knowledge on what we might try.

If the implication is that it's somehow not Thunderbird, but some misconfiguration on Microsoft Hotmail's servers... well, playing devil's advocate, what miscommunication from a mail server should ever cause Thunderbird to react by re-downloading everything from scratch? Maybe not a bug, per se, but definitely bad error handling on Thunderbird's part to not be able to avoid such a significant data loss situation. In my mind, Thunderbird should never be, without prompting the user, re-downloading the entire account from scratch. In other words, Thunderbird should clearly notice that its ImapMail folder is not empty, but 7GB in size, lol, and then stop and re-evaluate whether it should be taking this destructive action.

What I've witnessed every now and again is (from memory):

  1. New mail arrives in Hotmail IMAP account
  2. A Thunderbird rule moves this to another folder
  3. I see there's new mail in that folder, and click on the folder
  4. All messages in the folder are initially displayed but immediately disappear, then start reappearing as the headers are re-downloaded

What might be happening at some stage (either during the rule processing, or when clicking on the folder, or some time between) is that an 'error' is received from the server which Thunderbird interprets to mean that the folder is empty. But that's just hazarding a guess.

Thunderbird is "deciding" the emails are out of date and need resyncing. 10 years ago that was because Microsoft servers lied about the message size, bug 534835 and there have been plenty since. Currently repairing a folder causes a resync. But that is another bug.

However you appear to have partial steps here.

New mail arrives in Hotmail IMAP account
A Thunderbird rule moves this to another folder
I see there's new mail in that folder, and click on the folder
All messages in the folder are initially displayed but immediately disappear, then start reappearing as the headers are re-downloaded

Now create a new folder and send some mail to it using a filter. Backup the relevant MBOX file with the mail in it after the resync is done.
Enable IMAP logging. https://wiki.mozilla.org/MailNews:Logging
Send another message that will cause another resync via the filter. (The filter use might or might not be relevant.)

File a bug with the steps outlined here in your new bug and the two small mbox files demonstrating that yes there was a change or no there was not. Add the IMAP log.

Then there will be facts to look at instead of a vague "I see this" The log is probably the key, but it might be that Thunderbird uploads the mail to complete the move and Outlook.com changes the order of the headers in their IMAP version so invalidate the folder. I do not know. I am guessing because there are no real facts.

I'm the OP and an ex-programmer. The occurrence for me was totally unpredictable. I tried to determine some kind of pattern, but was unable. I could not cause it on-demand. For me, no filters were involved. Just two verizon.net (using AOL servers) accounts using POP. It would happen to one account, and the other would be fine. And, like I said in my original post, I had one Android phone & one iPhone accessing the same accounts and the problem never occurred. Also, a W7 PC with Windows Live Mail and the problem never occurred. Just the W10 machine w/Thunderbird.

And it would go away immediately 100% of the time by just re-starting Thunderbird. But it was a PITA to clean up after.

It looked like some kind of timing window to me, but I have zero knowledge of Thunderbird internals.

@bigbirdPhila
One of the issues that is appearing in Support are a number of reports about Yahoo simply not supporting leaving messages on the server. We know they do, but their servers are not reporting that. Like many things with the Yahoo/AOL/ Verizon amalgam. What happens makes little or no sense and getting through to people that work there are actually have a clue is not for the faint hearted.

Can we consider the three to be one? Now that is something they are reluctant to tell anyone. But some of the things I have seen reportedly happening with what are supposed to be AOL accounts leads me to think they are using the same server software, if not the same servers.

have a look as the popstate.dat file in your account. It is from that Thunderbird establishes what messages it has downloaded and therefore when a new pop session starts, that file is referenced to work out which messages NOT to ask for. If the references change then the offline reference Thunderbird has is useless. If Thunderbird can not open the file because it is locked or corrupt, then it is also useless. But shear size might have an impact. I have no familiarity with the code, but it is old. So it may wall only define the array holding the mail not to request as a number smaller that the number of mail you have on the server. I do not know. That is why Wayne said

You've been tenacious and helpful, but for now let's close this until we have evidence of a Thunderbird bug

Because we do not know. My last comments were directed to Jake in the hope he could put together a fully formed steps to replicate for an IMAP account. A completely different issue to your POP one and not a reason to reopen this POP bug.

Now ... Send another message that will cause another resync via the filter.

File a bug ...

I'm not sure it will be that straightforward as the problem happens only very occasionally. However, I have enabled IMAP logging so at least will have a log file available the next time the problem occurs (if indeed it does!).

I just tried syncing my Hotmail account for the first time in months, first updating to Thunderbird 68.6.0, and it has started downloading everything yet again. I did start it with that IMAP logging command from the instructions above, but the log output is already massive, and not going to be specific enough for sharing. Plus, there's no way to remove personal information from the contents of it, which is going to make this much harder for anyone to provide a log to diagnose this.

One thing I do see is that the STATUS requests on the folders (with the counts of the e-mails, i.e. MESSAGES, UNSEEN, and RECENT) come back with the same number being RECENT as the total MESSAGES count, even though they should, of course, not be the same.

I also noticed that, occasionally, some of the e-mail dates on really old e-mails come up as new, especially in the Drafts folder, but this could be a separate issue, because Thunderbird doesn't always start downloading from scratch, even though some of the e-mail dates are off.

I'm not sure it will be that straightforward as the problem happens only very occasionally. However, I have enabled IMAP logging so at least will have a log file available the next time the problem occurs (if indeed it does!).

Now captured. However, the logfile (covering less than 20 minutes of activity) is almost 1Gb and contains lots of personal information and email message content. What are the salient things in the logfile?

Attached image caught.png (deleted) β€”

Evidence of the issue with 68.12.1 (64-bit) on Windows 10.

PS. After restart, it's continuing to download all messages, which it already has, from various other folders.

(In reply to jake from comment #23)

However, the logfile (covering less than 20 minutes of activity) is almost 1Gb and contains lots of personal information and email message content. What are the salient things in the logfile?

Yep, same here. I think expecting us to share that log is a non-starter for a private e-mail account.

I believe some Thunderbird dev who actually understands the code is going to have to do some sort of dry analysis on why it would ever be the case that Thunderbird's logic would be to re-download all e-mails in a folder from scratch unless it were explicitly requested. That should just be a huge red flag in the downloading logic. There should be some error handling built in, even if it's technically a problem with the mail server. I mean, Thunderbird should clearly notice that its ImapMail folder is not empty, but is 7GB in size, and then stop and re-evaluate whether it should be taking such a destructive action.

I currently only use Thunderbird as a backup of my e-mails, but have resigned to only run it once a year or so now, because it, inevitably, re-downloads everything from scratch at some inopportune moment. Today I decided to give it a go again, and, yep, it's downloading everything from scratch, with version 78.5.1 (32-bit) on Windows 10. Even though I'm using it as a backup, I'm sure Microsoft would rather not have their bandwidth wasted, and there are also occasions where it'd be great to actually use Thunderbird as it was intended.

If the server says the contents of the folder are out of date and need to be redownloaded, that is what happens. You appear to be saying Thunderbird is initiating the download. Without a log, no one can know what initiates the download so you are guessing. Guessing is not sufficient to determine what initiates the download, so as a bug report this is still invalid. Have a nice day.

Without a log, no one can know what initiates the download so you are guessing.

I have a log. But it contains lots of personal information including the contents of emails that were re-downloaded, along with email addresses of sender, recipients, etc.

Would you be able to advise what the relevant entries in the log are, so I can provide only these?

Flags: needinfo?(unicorn.consulting)

I'm in agreement with jake that we're going to need some ability to create such a log that narrows down the massive amount of information that's logged, and also doesn't include personal e-mail contents. I guess that that would be yet another bug report or feature request to file -- to enable the practical, sanitized logging of these situations?

"If the server says the contents of the folder are out of date and need to be redownloaded, that is what happens."

That may be how it's currently programmed, I can only trust your description, but Is there no potential programmatic or algorithmic way for Thunderbird to detect this destructive edge situation and postpone such a command from the server when the result will be a complete redownload of entire folders -- and at least prompt the user before destructive action? I imagine there could be some algorithmic way for Thunderbird to know to keep the previously downloaded message database untouched at a point prior to destruction unless the user chooses to allow it. I don't know enough about IMAP to say, but is there no way to non-destructively compare e-mail contents for changes and not ultimately carry them out whenever the entire folder will be wiped?

some ability to create such a log that narrows down the massive amount of information that's logged

There is, by not setting the logging level so high. I set

MOZ_LOG=IMAP:5,timestamp

to make sure everything that might be useful was captured. Now it is, but what to do with it?

destructive action

YMMV, but it's not destructive AFAICS: it simply re-downloads everything that was already downloaded (resulting in a huge waste of bandwidth and CPU time - but no loss of data).

I did wonder if DST might be a cause, as I last had the problem at the end of October. However, this was about 5 days before the UK moved to 'winter time'. Unless Redmont or some other location of Microsoft's servers switched the weekend before, this is probably unlikely. Also, it appears I've experienced the problem at unrelated times of the year (such as January and June).

It might be possible to process the log file with some kind of regex, to eliminate the personal information, but would require quite some effort. The messages are logged one line at a time, with a log prefix, e.g.

2020-10-27 23:42:26.154000 UTC - [(null) 10708: Unnamed thread 0000020C1F2C1C00]: D/IMAP ReadNextLine [stream=0000020C1BD7A400 nb=16 needmore=0]
2020-10-27 23:42:26.154000 UTC - [(null) 10708: Unnamed thread 0000020C1F2C1C00]: I/IMAP 0000020C23102800:imap-mail.outlook.com:S-Events:CreateNewLineFromSocket:    color: #fff

Surely there's a better way of solving this. Thus I/we need to know what to look out for in the logfile. Hence the needinfo request. TIA.

The bug was originally reported against Verizon/AOL, but has also been found with Microsoft/Hotmail so does not seem specific to a particular email provider - unless they are using the same software internally. This suggests an issue with Thunderbird. Have a nice day.

"YMMV, but it's not destructive AFAICS: it simply re-downloads everything that was already downloaded (resulting in a huge waste of bandwidth and CPU time - but no loss of data)."

A reason why I see it as destructive is that, once it happens, you immediately no longer have all your e-mails to work from in offline mode in those particular folders that it's started downloading from, until it downloads them all again; so you no longer have that full backup of your e-mails up to that point that you can search through and do with what you want, until it completes the re-download of everything. Am I wrong on this?

Regarding the log and playing devil's advocate, to properly debug the problem, it might, theoretically, require that we know which e-mails (i.e. their subject line) or which folder names are the ones where it's first being triggered to act up. However, given that once it happens, it happens on every folder, I think the odds are that it's something independent of particular e-mail subjects, contents, from/to information, or folder names. It'd be very useful to be able to produce a log that filters all of that out, and maybe replaces such personal info with generic identifiers? (e.g. Sub-Folder 1, Message 400).

(In reply to jake from comment #28)

Without a log, no one can know what initiates the download so you are guessing.

I have a log. But it contains lots of personal information including the contents of emails that were re-downloaded, along with email addresses of sender, recipients, etc.

Would you be able to advise what the relevant entries in the log are, so I can provide only these?

I would guess the relevant part would be that which initiates the download of new mail. That is highly likely to be a UIDVALIDITY returned by the server that is not the same as the one Thunderbird has. See https://tools.ietf.org/html/rfc1730#section-7.4 and look at the sample transcript.

Given this discussion appears to revolve around providers with known issues with actually providing a standards-compliant service (Outlook, Yahoo, Gmail, AOL et. al.) is may be that they really can not do the job they have set out to do. Gmail do not provide IMAP standards compliance, and their remaping of labels to IMAP folders is somewhat problematical. Outlook is based around Exchange, where IMAP is so important that it is shipped by Microsoft as disabled. Since the Verizon acquisition, nothing about mail from their stable is consistent.

A compact can also cause a complete redownload of the affected folders as can a folder "repair" undertaken from the user interface. (in IMAP accounts that is taken as a full resynchronise with the canonical source.

Then there is the fact that retrieving message 1 or XXX can actually mean just the message header/ List not the entire messages. Hence the need for logs to actually see if it is while messages or just headers.

Flags: needinfo?(unicorn.consulting)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: