Open Bug 856407 Opened 11 years ago Updated 2 years ago

maildirstore/IMAP/Offline-Use=On folder can't withstand bug 520437 (Garbage file/directory of ... and {foldername}-{suffix}.sbd ... created upon each unsubscribe / subscribe)

Categories

(MailNews Core :: Database, defect)

x86
Windows XP
defect

Tracking

(Not tracked)

People

(Reporter: World, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [maildir])

Attachments

(1 file)

[Build ID]
> Mozilla/5.0 (Windows NT 5.1; rv:22.0) Gecko/20100101 Thunderbird/22.0a1

Attached is list of directory/file generated by Tb for following folder of maidirstore/IMAP/Offline-Use=Off,
   Gmail-Imap-Account with maildirstore
    Subscribe
      SubA
      SubB
      XXX
after several timess of unsubscribe/subscribe of "Subscribe" folder.
Procedure was one like next;
  unsubscribe/subscribe "Subscribe", create SubA,
  unsubscribe/subscribe "Subscribe",
  unsubscribe/subscribe "Subscribe", create SubB,
  unsubscribe/subscribe "Subscribe"
Because I set mail.server.serverN.offline_download=false, foler is set Offline-Use=Off after unsubcribe/subscribe, so I changed to Offline-Use=On after each "unsubscribe/subscribe again".

Because Gmail IMAP's Mbox name is "case insensitive", "Subscribe", "Subscribe-1", ..., "Subscribe-N" is by bug 520437.

Why all SubA-n/SubA-n.msf, SubB-n/SubB.msf, XXX-n/XXX-n.msf is not held under one Subscribe-n.sbd directory?
Why SubA-n/SubA-n.msf, SubB-n/SubB.msf, XXX-n/XXX-n.msf, is created under "Subscribe-n" instead of expected "Subscribe-n.sbd"?

This "file name with suffix" is never produced by bug only.
If Mbox name in IMAP server is case sesitive, abc, Abc, ABC, are different Mbox. So, Tb uses file of abc, Abc-1, ABC-2, if created by this order by Tb. And, if syncronization on Mbox name/file name is lost(panacea.dat is corrupted/deleted, .msf file is deleted, abc for ABC, ABC-2 for Abc, Abc-1 for abc, like association can occur, if Tb ide  file system is case insensitive.
- Example of case sensitive IMAP server : Yahoo! IMAP  
- Example of PC OS whose file system is case insenitive : MS Win

Can maildir withstand such "suffixed file/directory name"?
No longer depends on: 856396
Blocks: 859011
No longer blocks: maildirblockers
Summary: maildirstore/IMAP/Offline-Use=On folder can't withstand bug 520437 → maildirstore/IMAP/Offline-Use=On folder can't withstand bug 520437 (Garbage file/directory of ... and {foldername}-{suffix}.sbd ... created upon each unsubscribe / subscribe)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: