Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

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

Backup and remove from server old mails selected by a timeframe

more options

My aim is to save the email of three years ago (all but some folders) and then remove from the server (i use IMAP, Thunderbird 102.7.1 on Ubuntu).

I was a long time user of the Evolution mail client and I was used to programmatically (python script at bash level) to create a directory with a lot of mbox files (one for each mail folder), then I archived it in a DVD.

I use Thunderbird in two accounts plus the local-folders, so pressing "archive" in thousands of different mail is not feasible.

I'm looking for a solution that take the starting date, the final date, and the list the folder involved (or the ones to skip): is there a function, a sequence of commands, or an add-on to do that?

Thanks

My aim is to save the email of three years ago (all but some folders) and then remove from the server (i use IMAP, Thunderbird 102.7.1 on Ubuntu). I was a long time user of the Evolution mail client and I was used to programmatically (python script at bash level) to create a directory with a lot of mbox files (one for each mail folder), then I archived it in a DVD. I use Thunderbird in two accounts plus the local-folders, so pressing "archive" in thousands of different mail is not feasible. I'm looking for a solution that take the starting date, the final date, and the list the folder involved (or the ones to skip): is there a function, a sequence of commands, or an add-on to do that? Thanks

All Replies (1)

more options

Thunderbird 102.9.0, in the meanwhile :)