[GH-ISSUE #81] [Enhancement] Automatic or manual pruning #70

Closed
opened 2026-03-03 01:19:34 +03:00 by kerem · 1 comment
Owner

Originally created by @Kabouik on GitHub (May 8, 2021).
Original GitHub issue: https://github.com/d99kris/nmail/issues/81

Originally assigned to: @d99kris on GitHub.

Pruning cache to a maximal size set in main.conf would be useful for accounts with large inbox, as well as devices with limited storage (SBCs, phones, servers).

Not sure what criteria would be relevant for pruning. Date/age of messages, list of white-listed folders? Should a prompt be shown when the maximal set size is reached or should oldest emails be removed from cache quietly?

Pruning cache/ and temp/ separately would be great for accounts with encryption enabled, but you reported that there is no free solution to partially decrypt sqlite. Just mentioning it here for future reference, since this would allow the advantages of full cache (offline use, speed, search index in all folders) without the extra disk space of full folder decrypting in /temp.

Originally created by @Kabouik on GitHub (May 8, 2021). Original GitHub issue: https://github.com/d99kris/nmail/issues/81 Originally assigned to: @d99kris on GitHub. Pruning cache to a maximal size set in `main.conf` would be useful for accounts with large inbox, as well as devices with limited storage (SBCs, phones, servers). Not sure what criteria would be relevant for pruning. Date/age of messages, list of white-listed folders? Should a prompt be shown when the maximal set size is reached or should oldest emails be removed from cache quietly? Pruning `cache/` and `temp/` separately would be great for accounts with encryption enabled, but you reported that there is no free solution to partially decrypt sqlite. Just mentioning it here for future reference, since this would allow the advantages of full cache (offline use, speed, search index in all folders) without the extra disk space of full folder decrypting in `/temp`.
kerem closed this issue 2026-03-03 01:19:34 +03:00
Author
Owner

@d99kris commented on GitHub (Nov 29, 2022):

Will proceed to move all feature requests into Discussions section, for a clearer separation of bugs and feature requests.

<!-- gh-comment-id:1330601331 --> @d99kris commented on GitHub (Nov 29, 2022): Will proceed to move all feature requests into Discussions section, for a clearer separation of bugs and feature requests.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nmail#70
No description provided.