Thunderbird - Do not delete local copies of IMAP messages

Hypothetical scenario:

  1. The IMAP inbox has two messages, A and B.
  2. Thunderbird syncs, and downloads both A and B.
  3. A new message C, is delivered to the IMAP server.
  4. B is deleted from the server by a different client.
  5. Thunderbird syncs again, downloads C and deletes the local copy of B.

What I want is to prevent the local deletion of B. I want it to stay locally until explicitly deleted from within Thunderbird. I understand it won't be on the server any longer, I just want to keep it locally.

Any thoughts?


Solution 1:

I don't know if it's possible within the IMAP folders, but you could create a Message Filter in Thunderbird that copied new messages from the IMAP folder to a folder in Local Folders:

First, create a folder in Local Folders to keep the messages in

From the IMAP inbox,
go to Tools / Message Filters
click New
give the filter a name
click Match All Messages
in Perform these actions select Copy Message To and then select the folder you created in Local Folders
click Ok

It should run automatically for all new messages, and you can run it manually by clicking Run Now in the Message Filters box, or from Tools / Run Filters on Folder