Skip to content
Chris Ilias

I still dream of Organon

Chris Ilias

I still dream of Organon

  • Home
  • Portfolio
  • Home
  • Portfolio
Close

Search

  • About
Subscribe
Chris Ilias

I still dream of Organon

Chris Ilias

I still dream of Organon

  • Home
  • Portfolio
  • Home
  • Portfolio
Close

Search

  • About
Subscribe
Home/Mozilla/What is compacting folders in Thunderbird, and why you should do it
MozillaSeaMonkeyThunderbird

What is compacting folders in Thunderbird, and why you should do it

By Chris Ilias
June 10, 2011 1 Min Read
13

Are your Thunderbird folders taking up a lot of disk space, even though you only have a few messages? Is Thunderbird slow to open folders? It’s probably because you have not compacted your folders.

When you delete a message, it doesn’t really get deleted from the folder. It gets marked as deleted. Thunderbird sees that marking, and knows not to display the message. Compacting a folder will command Thunderbird to remove all messages marked as deleted from that folder.

To compact your folders, go to the File menu and select Compact Folders.
To compact an individual folder, right-click on the folder and select Compact.

If you’re having any issues, post in the Thunderbird Support forum at https://support.mozillamessaging.com/en-US/kb/ask

Author

Chris Ilias

Follow Me
Other Articles
Previous

Firefox 4 Youtube HTML5

Next

When all you want to know is if the bug is fixed

13 Comments
  1. Mahesh Asolkar says:
    June 10, 2011 at 2:44 pm

    Does this apply to both POP and IMAP accounts?

  2. Mark says:
    June 12, 2011 at 5:25 am

    Why does this not happen automatically in some manner?

    Users should not *need* to know something like this. It should just work.

  3. Chris Ilias says:
    June 12, 2011 at 8:51 pm

    Mahesh,
    It applies to POP and local storage of IMAP.

    Mark,
    I don’t know. It’s one thing I’ve been pushing for a long time.

  4. eric z says:
    September 8, 2011 at 1:34 pm

    I presume this compaction function is by the SQLite program part of the Mozilla product running the VACUUM command. I have seen web posts about using the VACUUM command for Firefox profiles, out of the Error Console, which seems in some cases to be posted online with a truncated command to cut/paste. I have seen compacting described as doable via the VACUUM command from the SQLite Manager addon, for any Mozilla *.sql file you can get to in a database loaded into the addon. I am inexpert about SQLite, but I could load a profile database into that addon to see individual *.sql entries.

    For Firefox there is a freeware (but not open source) utility, speedyfox, which I have used without problem fore easy profile-by-profile cleaning – not file by file. It has an icon and interface listing of profiles comparable to J.Griffin’s Profile Manager stand-alone program. I left a comment on his blog too, about it, and whether that functionality added to his utility as open source was a promising project.

    Firefox does not have the compacting file menu entry, not that I could find on any of the version menu displays I checked, and I read somewhere on the web that newer releases do it automatically. I have no idea whether this is so, nor did I save a link where the claim’s been made.

    If you are unfamiliar with the speedyfox utility, a Google will get info. Again I have used it on my profile w/o any mishap, no file corruption, etc., and it seemed to make things faster.

  5. Chris Ilias says:
    September 8, 2011 at 2:23 pm

    eric z,
    This has nothing to do with sqlite files. The files being compacted are UNIX mbox files.

  6. Ramon Vela says:
    September 19, 2011 at 6:32 pm

    Can you still search folders or emails that have been compacted?

  7. Bob P says:
    September 23, 2011 at 5:12 pm

    Can you still search folders or emails that have been compacted?
    I have the same question.
    Thunderbird kept asking me if I want to compact my files while in inbox.
    I clicked on ok,then all my inbox e-mails disappeared and I cannot find them.
    It is like it just deleted my entire inbox.Everything else stayed.
    Thanks for any help

  8. John G says:
    September 25, 2011 at 12:45 am

    same issue – compacted the inbox, all the files disappeared. Why? Where did they go? can they be recovered?

  9. Glen says:
    October 7, 2011 at 3:35 pm

    If files messages disappeared, you might be able to get them back by doing this:
    Right-click on the folder, and click Properties.
    Click Repair Folder.

  10. LadJ says:
    October 16, 2011 at 3:54 am

    Now I am afraid to do it in case I lose all my messages! John G – were you able to get them back using the Repair Folder option?

  11. Chris Ilias says:
    October 16, 2011 at 6:54 pm

    Compacting folders does not delete all messages. If John G is having a problem viewing messages after compacting, he can email me or better yet, post in the Thunderbird Support forum at https://support.mozillamessaging.com/en-US/kb/ask

  12. Robert Miles says:
    November 6, 2011 at 6:46 pm

    The last I know, for newsgroups posts, deleting messages was still confused with cancelling them, and you could not delete a newsgroup message without cancelling it first (and as part of the same command). Has this been corrected?

  13. Damien D says:
    November 11, 2011 at 7:54 am

    When I clock compact then the whole inbox disappears. The rest remains the same but all my inbox messages are gone… Help !

Show Comments

Comments are closed.

Recent Posts

  • The screenshot option in Firefox has moved. Here’s how to find it.
  • Clippings for Thunderbird replacement: Quicktext
  • How to fix Firefox Sync issues by resetting your data
  • How to edit Firefox for iOS bookmarks
  • How to add the share menu to the Firefox address bar

Recent Comments

  • Norman on The screenshot option in Firefox has moved. Here’s how to find it.
  • Chris Ilias on How to add the share menu to the Firefox address bar
  • G on How to add the share menu to the Firefox address bar
  • Up North on The screenshot option in Firefox has moved. Here’s how to find it.
  • Richard on The screenshot option in Firefox has moved. Here’s how to find it.

Archives

June 2011
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
27282930  
« Mar   Jul »

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Search

Archives

Categories

  • ilias.ca (24)
  • Mozilla (171)
    • Firefox (93)
    • Mozilla Suite (16)
    • SeaMonkey (25)
    • Thunderbird (47)
  • Netscape (11)
  • Personal (48)
Copyright 2026 — Chris Ilias. All rights reserved. Blogsy WordPress Theme