Windows 10 reached EOS (end of support) on October 14, 2025. For more information, see this article.

Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

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

  • 5 risposte
  • 1 ha questo problema
  • 137 visualizzazioni
  • Ultima risposta di Zenos

ulteriori opzioni

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?

Soluzione scelta

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.

Leggere questa risposta nel contesto 👍 0

Tutte le risposte (5)

ulteriori opzioni

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

ulteriori opzioni

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.

ulteriori opzioni

Soluzione scelta

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.

ulteriori opzioni

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.

ulteriori opzioni

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.

Modificato da Zenos il