Open
Bug 859011
Opened 12 years ago
Updated 2 years ago
[Meta] Copy/Move of mails with MaildirStore doesn't work well except when Copy/Move from "Non-IMAP Maildir with /cur use" to "Non-IMAP Maildir with /cur use", and Rename/move etc. of MaildirStore Mbox doesn't work as expected
Categories
(MailNews Core :: Database, defect)
MailNews Core
Database
Tracking
(Not tracked)
NEW
People
(Reporter: World, Unassigned)
References
(Depends on 7 open bugs, Blocks 1 open bug)
Details
(Keywords: meta, Whiteboard: [maildir])
Attachments
(1 file)
(deleted),
text/html; charset=iso-8859-1
|
Details |
This is meta bug for tracking of problems around "Copy/Move with MaildirStore".
Copy/Move of mails with MaildirStore doesn't work well except when Copy/Move from "Non-IMAP Maildir with /cur use" to "Non-IMAP Maildir with /cur use", and if Move, mails are deleted despite Move failed.
(A) Non-IMAP Maildir with /cur use :
MaildirStore, type=none (Local Folders)
MaildirStore, type=pop3
(B) Other than "Non-IMAP Maildir with /cur use" :
- IMAP Maildir with /cur use : MaildirStore, IMAP, Offline-Use=On
- IMAP Maildir without /cur use : MaildirStore, IMAP, Offline-Use=Off
- IMAP Berkley : BerkelyStore, IMAP, Offline-Use=On
BerkelyStore, IMAP, Offline-Use=Off
- Non-IMAP Berkley : BerkelyStore, type=pop3
BerkelyStore, type=none
(Movemail)
- Movemail Maildir with /cur use : MaildirStore, type=movemail
- Movemail Maildir without /cur use : MaildirStore, type=movemail
- Movemail Berkley : BerkleyStore, type=movemail
Cause of currently observed problems even by simple copy/move looks followings.
(1) Copy/Move of mails with MaildirStore looks to assume;
(1-a) storeToken in stringProperty of msgDBHdr is defined.
- This is false, if IMAP/Offline-Use=Off
(1-b) The storeToken of msgDBHdr always points /cur/storeToken_value
- This is false, if IMAP/Offline-Use=On
(1-c) The /cur/storeToken_value is always file(not directory),
and is correctly file size>0.
- This not always true,
because Tb generates "empty /cur/nnnn DIRECTORY"
and "Null /cur/nnnn file" by himself.
(2) Copy/Move of mails with MaildirStore doesn't look to check return code or error status etc. at almost all steps in (1).
So, if Move, despite Move fails, mails are deleted from source folder.
(3) Copy/Move of mails with MaildirStore doesn't consider ::Offline flag in msgDBHdr.flags for IMAP.
(4) MaildirStore never considers offline-store file of IMAP Offline-Use=On, so Mbox/cur/nnnn is never deleted if MaildirStore/IMAP/Offline-Use=On.
Reporter | ||
Comment 1•12 years ago
|
||
This meta bug is also for sorting out currently observed phenomena in various conditions.
Reporter | ||
Updated•12 years ago
|
Blocks: maildirblockers
Reporter | ||
Comment 2•10 years ago
|
||
This document was Initially attached to Bug 791966 Comment #16 as attachment 733197 [details].
Reporter | ||
Updated•10 years ago
|
Attachment #8500288 -
Attachment mime type: text/html → text/html; charset=iso-8859-1
Reporter | ||
Updated•10 years ago
|
Summary: [Meta] Copy/Move of mails with MaildirStore doesn't work well except when Copy/Move from "Non-IMAP Maildir with /cur use" to "Non-IMAP Maildir with /cur use", and if Move, mails are deleted despite Move failed → [Meta] Copy/Move of mails with MaildirStore doesn't work well except when Copy/Move from "Non-IMAP Maildir with /cur use" to "Non-IMAP Maildir with /cur use", and Rename/move etc. of MaildirStore Mbox doesn't work as expected
Reporter | ||
Updated•10 years ago
|
Still affected by bug related to move to maildir local folder: in some cases, it becomes impossible to move a message to a maildir local folder, even manually. If a filter contains such a move, the filter fails silently.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•