joeyates / imap-backup

Backup and Migrate IMAP Email Accounts
MIT License
1.33k stars 74 forks source link

Question: Can imap-backup delete mails on server which already backed up locally? #135

Closed everyx closed 1 year ago

everyx commented 1 year ago

Hi, thanks for you great work, and I want backup emails to my local PC, and delete this emails from remote server. It is used to ensure that my email account is never full (this account is only used for backup, so there is this need). Can imap-backup do this?

joeyates commented 1 year ago

Hi @everyx

I feel that deleting emails from the server is beyond the scope of imap-backup.

Firstly, it would be hard to ensure that it only deleted emails that you'd actually seen.

Secondly, most email clients have a way of bulk deleting emails, which can even be automated.

For these reasons, I don't think this is a feature which is right for the project.

everyx commented 1 year ago

@joeyates Thanks for you reply :)