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!

Om de ûnderfining foar jo te ferbetterjen is tydlik de funksjonaliteit dan dizze website troch ûnderhâldswurk beheind. Wannear in artikel jo probleem net oplost en jo in fraach stelle wolle, kin ús stipemienskip jo helpe yn @FirefoxSupport op Twitter en /r/firefox op Reddit.

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

Thunderbird: Message retention policy not triggering deletion of old messages

  • 2 antwurd
  • 1 hat dit probleem
  • 1 werjefte
  • Lêste antwurd fan 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.

Alle antwurden (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.

Bewurke troch steeleaguk op