Closed Bug 1462666 Opened 2 years ago Closed 5 months ago
increase default autocompact threshold "mail
7 years ago in 2011 we changed the default from 100k to 20MB, a 20,000% increase. Even at that time figures of 100MB and 200MB were proposed. I suggest we look at this again. Personally I use 100MB.
Thunderbird used to use mail.purge_threshhold, in KB. That was changed to mail.purge_threshhold_mb , in MB. That is why mail.purge_threshold_migrated was created about 7 years ago. I think you have a typo in the title. Most discussions about the threshold seems to be solely about freeing up wasted disk space. It ignores the fact that the number of marked deleted but hidden messages effects the risk of a corrupt folder. I normally get plain text messages with no attachments that average about 10KB. Its unusual for me to get messages larger than 50KB. My main email account has a quota of 1GB. Not everybody is using Gmail and getting HTML messages with large attachments. Whatever values are chosen should be able to accommodate users with different needs, rather than forcing a one size fits all model. The last change in settings raised the minimum setting from 100KB to 1MB and caused me to occasionally have a corrupted inbox in my Fastmail IMAP account. That problem lasted for several years. I don't have a problem with the default value being increased, but the minimum possible setting should not be increased.
Writing a patch for this is very simple, but on what measure does the number depend? On the maximum size of an email the provider allows, the size of the email storage space on the server or something else? Is it important if POP3 or IMAP is used?
(In reply to Nomis101 from comment #2) > on what measure does the number depend? ... The total potential space savings across all folders and all accounts, based on all messages deleted in the profile. It is not keyed off any one message size. It covers all account types (except possibly maildir).
Assignee: nobody → Nomis101
Attachment #9067891 - Flags: review?(mkmelin+mozilla)
Comment on attachment 9067891 [details] [diff] [review] Patch Review of attachment 9067891 [details] [diff] [review]: ----------------------------------------------------------------- This seems ok to me. Needs some trivial unbitrotting though.
Attachment #9067891 - Flags: review?(mkmelin+mozilla) → review+
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 69.0
You need to log in before you can comment on or make changes to this bug.