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!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Natao arisiva ity resaka mitohy ity. Mametraha fanontaniana azafady raha mila fanampiana.

Script to delete emails from all folders after 72 hours

  • 1 valiny
  • 1 manana an'ity olana ity
  • 1 view
  • Valiny farany nomen'i sfhowes

more options

Hi team,

We are planning to implement Thunderbird company wide, but we we have asked by the client that the users will not retain any emails for more than 72 hours. I checked all available options but no luck.

It would be if anyone can help me on this, typically looking for a script or so to achieve this.

Greatly appreciated.

Thanks Prasad

Hi team, We are planning to implement Thunderbird company wide, but we we have asked by the client that the users will not retain any emails for more than 72 hours. I checked all available options but no luck. It would be if anyone can help me on this, typically looking for a script or so to achieve this. Greatly appreciated. Thanks Prasad

All Replies (1)

more options

In Tools/Account Settings, there is a Synchronization & Storage section for each (IMAP) account where you can set the retention policy. It can also be done for individual folders by right-clicking a folder, Properties, Retention Policy.

To do this manually (or automatically), you could create a filter that acts on messages whose Age is more than 3 days. Other rules besides the Age could be added for finer control.