CompactOnDelete
CompactOnDelete is a Mozilla Thunderbird extension that schedules IMAP folder compaction to happen when Thunderbird loses its window focus after messages are removed from an IMAP folder. Only those folders with removals are compacted; other folders are left alone. This is meant to automatically make deleted messages disappear from Outlook and Outlook Web Access on an Exchange server when they are deleted in Thunderbird. Other IMAP servers don't need this extension, and the use of this extension limits your ability to undo as soon as Thunderbird loses its window focus, since compacting a folder clears the undo/redo history.
- Download extension (right-click and select "Save Link As...")
- Subversion repository
A future enhancement could involve detecting which IMAP servers are Exchange and compacting only their folders on Thunderbird's focus loss. Presently, this extension will compact any IMAP folder that gets messages deleted or moved away from it. Another enhancement can be to compact the folders that a focus loss would have compacted when Thunderbird is closed.
CompactOnDelete is distributed under the terms of the GNU General Public License (GPL), version 2, and is copyright (c) 2008 Steven Lawrance.