joeyates / imap-backup

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

Make .mbox.gz files (or other compression format) #168

Closed frabcus closed 9 months ago

frabcus commented 10 months ago

Mailbox files compress really well, so ideally I'd like imap-backup to just directly write mbox.gz files instead of mbox files. This would probably speed it up too, and makes backups much smaller.

Only if it is smooth and easy and would just work - depends on what Ruby compression libraries there are, and how much imap-backup seek sin the file.

joeyates commented 9 months ago

Hi @frabcus

I think compressing mailboxes would be an interesting enhancement.

PRs, as always are welcome :tm:, but I think this would need to be an optional, rather than the default behaviour :)

joeyates commented 9 months ago

I'll close for now, but am open to PRs which implement this :)