Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Mësoni Më Tepër

Using IMAP, how can I reduce local disk size? E-Mails should stay on IMAP server.

  • 5 përgjigje
  • 1 e ka hasur këtë problem
  • 167 parje
  • Përgjigjja më e re nga Zenos

Problem: My local disk gets full (even with compacting emails).

Condition: I use IMAP and have many emails. I want all emails to stay on the IMAP server.

Possible solution (that I could not figure out how to do): Only show the latest emails in Thunderbird.

My experience: Setting to "Only retreive messages of the last 30 days" did not change anything (probably because the messages are already on disk). Unsubscribe and Re-Subscribe of folders did not change anything.

Any suggestions?

Problem: My local disk gets full (even with compacting emails). Condition: I use IMAP and have many emails. I want all emails to stay on the IMAP server. Possible solution (that I could not figure out how to do): Only show the latest emails in Thunderbird. My experience: Setting to "Only retreive messages of the last 30 days" did not change anything (probably because the messages are already on disk). Unsubscribe and Re-Subscribe of folders did not change anything. Any suggestions?

Zgjidhje e zgjedhur

Yes, I just tried this with an expendable account and it seems all OK. The messages remain on the server but there's only a few kb taken on the local HDD.

Lexojeni këtë përgjigje brenda kontekstit 👍 0

Krejt Përgjigjet (5)

Do you have synchronization enabled for your IMAP account? https://support.mozilla.org/en-US/kb/imap-synchronization#w_disk-space-usage

You should have seen a setting to store messages on this computer. Clearing this should stop the further download of messages bodies. I'd remove the account in Thunderbird, add it again, with this setting cleared, then find and remove the old data files to free up disk space. Do you have no other disk drive you could move your storage onto?

I am assuming this is an IMAP-connected account. Don't delete the messages in Thunderbird as this will also delete the synchronised folders on the server.

I believe that if you cleared this setting, then closed Thunderbird, opened the profile in your file manager and removed the relevant files under ImapMail this would have the required effect; you'd remove the downloaded messages without forcing synchronization. But I'd need to set up a temporary account to check this without the risk of losing stored messages, if it doesn't work as I hope for.

Zgjidhja e Zgjedhur

Yes, I just tried this with an expendable account and it seems all OK. The messages remain on the server but there's only a few kb taken on the local HDD.

Thanks for your suggestions. Unfortunately it seems that Thunderbird does not the clean up work by itself. You have to change the settings AND delete the files.

I found in the internet the hint to close Thunderbird and then delete all files in subfolders of folder "ImapMail" execept for "msgFilterRules.dat". After restarting it fetches the files according to its settings.

Well, yes, I did say so:

…if you cleared this setting, then closed Thunderbird, opened the profile in your file manager and removed the relevant files under ImapMail

When you remove an account from Thunderbird it doesn't delete the account data. This is a useful insurance policy against accidents. Users often remove an account and then express surprise that all their messages have vanished. It's not clear why they think it should do anything different.

Ndryshuar nga Zenos