Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Thunderbird: Message retention policy not triggering deletion of old messages

  • 2 réponses
  • 1 a ce problème
  • 1 vue
  • Dernière réponse par steeleaguk

more options

I am running Thunderbird 91.7.0 (64-bit) on Windows 11.

I connecting to my mail server via IMAP. The server has no message retention policies. All Email sits on the server until it is removed via Thunderbird.

For Trash, Spam and Sent messages I wanted to enable a message retention policy that would cause these folders to have messages older than 30 day deleted automatically. I want all other folders to retain messages until I manually delete them.

I access the Folder Properties and choose the Retention Policy tab. Here I uncheck Use my Account Settings and select Delete Messages more than 30 days old.

FWIW I have tried the account settings set to both Don't delete any message and Delete all but the most recent 9,000 messages.

So far this has not triggered and the folders are gathering more and more messages.

It is not clear to me how the retention policies are triggered.

Grateful for advice.

I am running Thunderbird 91.7.0 (64-bit) on Windows 11. I connecting to my mail server via IMAP. The server has no message retention policies. All Email sits on the server until it is removed via Thunderbird. For Trash, Spam and Sent messages I wanted to enable a message retention policy that would cause these folders to have messages older than 30 day deleted automatically. I want all other folders to retain messages until I manually delete them. I access the Folder Properties and choose the Retention Policy tab. Here I uncheck Use my Account Settings and select Delete Messages more than 30 days old. FWIW I have tried the account settings set to both Don't delete any message and Delete all but the most recent 9,000 messages. So far this has not triggered and the folders are gathering more and more messages. It is not clear to me how the retention policies are triggered. Grateful for advice.

Toutes les réponses (2)

more options
For Trash, Spam and Sent messages I wanted to enable a message retention policy that would cause these folders to have messages older than 30 day deleted automatically.

I don't know why this wouldn't work for you, so I'm really guessing here. Wrt Trash you can simply right-click Trash - Empty Trash to clean it up initially. As for Spam, you can set it up to delete messages older than 14 days. That's what I do, and it works as expected. There seem to be a lot of messages in your Sent folder. I'd go with the 'older than 30 days' setting and give it some time. May be it just takes a while for the cleanup to be triggered due to the no. of messages in that folder.

more options

THanks for the reply. Yes, I have been cleaning up manually as it were. In my research I did find an option to tweak the internal settings for Thunderbird and set a preference in the config editor mail.imap.expunge_option to 1 = Auto-expunge messages right away

I'm monitoring. After making the change I was able to compact the folders and the messages that were out of range were removed. I'm monitoring to see how well this works.

In a few days I will unset the preference and see if that makes a difference and report back.

Modifié le par steeleaguk