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!

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 :)