为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Thunderbird: Message retention policy not triggering deletion of old messages

  • 2 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 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.

所有回复 (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.

由steeleaguk于修改