Closed Bug 553166 Opened 14 years ago Closed 7 years ago

If AutoSync "mail.server.default.autosync_offline_stores" is set to false, remove mail bodies and attachments from local store

Categories

(MailNews Core :: Networking: IMAP, enhancement)

All
macOS
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1302193

People

(Reporter: dfghjkjhg, Unassigned)

Details

User-Agent:       
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.2pre) Gecko/20100302 Lightning/1.0b2pre Lanikai/3.1b1

In order to get back hard drive space, when AutoSync "mail.server.default.autosync_offline_stores" is set to false, remove message bodies and attachments from the offline-stores (only leave e-mail-headers stored for offline use).

Reproducible: Always
Severity: normal → enhancement
Component: General → Networking: IMAP
Product: Thunderbird → MailNews Core
QA Contact: general → networking.imap
Removing myslef on all the bugs I'm cced on. Please NI me if you need something on MailNews Core bugs from me.
OfflineStore file is not for Auto-Sync only.

Following means "Ordinal/Tradittional Offline-Use" is used.
  mail.server.server#.autosync_offline_stores=false
  mail.server.default.autosync_offline_stores=false
Ordinal/Tradittional Offline-Use is:
(1) If Download is explicitly requested at Folder Properties/Synchronization manually,
    entire mail data is downloaded to OfflineStore.
(2) If Offline-Use=On is set at Folder Properties/Synchronization,
    upon going to Work Offline,
    if automatix download is requeste, entire mail data is downloaded to OfflineStore.
    if Ask is requested and Download is requested by dialog, entire mail data is downloaded to OfflineStore.
(3) While Work Offline mode, mail data in OfflineStore is used.
Auto-Sync merely utilizes OfflineStore file for this purpose.

For above purpose, "Remove OfflineStore file merely by setting mail.server.server#.autosync_offline_stores=false or Offline-Use=Off" is wasting of band width.
IIRC, OfflineStore file is cleared by "Repair Folder".
I'm not sure about Compact.
"Retention setting for mails in OfflineStore" may be usable to clear OfflineStore file.
Regardless of mail.server.server#.autosync_offline_stores setting, regardless of Offline-Use of folder,
"Manual deletion of OfflineStore file" won't produce any problem.
  If Auto-Sync=On, mail is downloaded again by auto-sync sooner or later.
  While Work Offline, data of mail is merely not usable.
duping forward
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.