Closed Bug 1558014 Opened 6 years ago Closed 6 years ago

Keeps redownloading my emails when I delete too many in a folder.

Categories

(MailNews Core :: Networking: IMAP, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: tim, Unassigned)

Details

(Whiteboard: [dupme?])

Attachments

(1 file)

Attached file Bug Report

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

Steps to reproduce:

  1. I setup a Yahoo email address on Imap -- using MailDir.
  2. I let it download all the emails in the account. So they are all on the computer.
  3. I delete between 100-200 emails to the trash from the inbox.
  4. I go on the computer browser to Yahoo.com and empty the trash of those emails.
  5. Or I delete them from the Trash Bin in Thunderbird.

Actual results:

If I delete enough emails, Thunderbird gets confused and start redownloading 7000 of 22,000 emails.

Expected results:

This should not happen, it should reverify what emails are missing and get them. Or it should see that nothing is missing. There must be an integrity issue or bug in the MailDir settings that forces it to do this.

Does it only do this for yahoo?
And it doesn't do this with yahoor if the account is NOT maildir.

That said, maildir can be weird. Ref bug 1547043

Component: Folder and Message Lists → Networking: IMAP
Product: Thunderbird → MailNews Core
Summary: Thunderbird Keeps redownloading my emails when I delete to many in a folder. → Keeps redownloading my emails when I delete too many in a folder.
Whiteboard: [dupme?]

I will test it on a different computer, that has Gmail. Let.me convert them to MailDir and see what happens.

Reporter, Maybe tb hadn't completely downloaded everything before you did the deletes to trash. When setting up an account, I find it useful to click each folder and make sure tb finishes download of the folder by looking at the status area at the bottom. Then when everything is finished (no indication of download in progress for any folder), do any clean ups.

(In reply to psyscope from comment #2)

I will test it on a different computer, that has Gmail. Let.me convert them to MailDir and see what happens.

I assume you mean you will try mbox storage format on the other computer.

(In reply to Wayne Mery (:wsmwk) from comment #1)

Does it only do this for yahoo?
And it doesn't do this with yahoor if the account is NOT maildir.

That said, maildir can be weird. Ref bug 1547043

Don't think that bug is related. Still waiting on a test result from that bug's reporter.

Actually, I figured out what was happening. The folder has 22k in emails. So either a compacting folder fails and triggers the redownload.

I looked at the profile folder, now the yahoo folder has 22k in emails online, but when you go to the folder in the maildir directory, there are 125k emails. Each time it gets confused it redownloads the same emails over and over. There are multiple versions of the same email.

(In reply to psyscope from comment #4)

Actually, I figured out what was happening. The folder has 22k in emails. So either a compacting folder fails and triggers the redownload.

or? (did you leave out the "or"?). Anyhow, are you doing a folder compact (right click folder function, compact) too? Compact on which folder?

I looked at the profile folder, now the yahoo folder has 22k in emails online, but when you go to the folder in the maildir directory, there are 125k emails. Each time it gets confused it redownloads the same emails over and over. There are multiple versions of the same email.

Not sure what you mean by "profile folder". The "folder in the maildir directory" is also in the profile. You should only see one place in tb profile where maildir files are placed for a given folder with a "cur" and "tmp" subfolder with the folder's files typically only under "cur". Where are you seeing these 125k and 22k email files?

(In reply to psyscope from comment #0)

Steps to reproduce:

  1. I setup a Yahoo email address on Imap -- using MailDir.
  2. I let it download all the emails in the account. So they are all on the computer.
  3. I delete between 100-200 emails to the trash from the inbox

OK, these should now be moved to Trash folder in tb.

  1. I go on the computer browser to Yahoo.com and empty the trash of those emails.

Why go to the webmail to empty the trash? You can do it in tb.

  1. Or I delete them from the Trash Bin in Thunderbird.

Do you mean "or I delete them to the Trash bin in tb"? Deleting from trash marks messages as deleted and does a compact (expunge) on trash so all mails are permanently removed from the mailbox and corresponding profile folder.

What's the status here, can this be closed?

I PMed Tim a month ago and he seems to be gone.
I guess we don't even know whether this is maildir or not-maildir

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: