Closed
Bug 83831
Opened 23 years ago
Closed 23 years ago
Can't copy some messages from local mail to imap folder
Categories
(MailNews Core :: Networking: IMAP, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: Bienvenu, Assigned: naving)
References
Details
Attachments
(1 file)
2.28 KB,
patch
|
Details | Diff | Splinter Review |
I tried to copy a local message to an imap folder and it failed, with the imap server complaining about the format of the message. I'll investigate this.
Reporter | ||
Comment 2•23 years ago
|
||
The problem is occuring in a folder which doesn't have X-Mozilla-Status lines in the messages (not sure how this folder was generated). For some reason, this causes us to try to send the envelope header when we append the local message to the imap folder, which the imap server doesn't like, obviously.
Assignee | ||
Comment 3•23 years ago
|
||
I have also seen this sometimes but it is not reproducible always. The missing mozilla status header may well be the reason.
Reporter | ||
Comment 4•23 years ago
|
||
changing summary - this only happens on some messages.
Summary: Can't copy from local mail to imap folder → Can't copy some messages from local mail to imap folder
Comment 6•23 years ago
|
||
*** This bug has been marked as a duplicate of 83396 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Comment 8•23 years ago
|
||
Oops! I thought that they are the same bug. Reopening this bug based on David comments from bug 83396....
Status: VERIFIED → REOPENED
Resolution: DUPLICATE → ---
Comment 9•23 years ago
|
||
how likely do you think this is to happen? Your comments make it sound like it's rare.
Assignee | ||
Comment 10•23 years ago
|
||
I have seen this off and on and may have the culprit message in one of my local folders.
Assignee | ||
Comment 11•23 years ago
|
||
reassigning to self.
Assignee: bienvenu → naving
Status: REOPENED → NEW
Assignee | ||
Comment 12•23 years ago
|
||
I have seen couple of error msg from the imap server: i) message contains invalid header ii) message has no header/body separator. but upon rebuilding the msf file if we copy the same header we don't get error message. The important thing here is if we are copying a header that does i or ii we should make sure the copystate is cleared, this does not happen when we are copying multiple messages because we abort the copy. patch coming up to continue copying next message even if any one of them fails inbetween.
Assignee | ||
Comment 13•23 years ago
|
||
Assignee | ||
Comment 14•23 years ago
|
||
requesting review from david.
Reporter | ||
Comment 15•23 years ago
|
||
please explain the fix - are the changes in both files required?
Assignee | ||
Comment 16•23 years ago
|
||
Yes, the changes are required. In protocol code we need to relax the condition so that the next message can be copied. Also we don't need to update the count in the destination folder if the copy did not succeed.
Comment 17•23 years ago
|
||
Navin, so these messages that are failing are valid messages that work correctly when the local (or is it IMAP) .msf file is recreated?
Assignee | ||
Comment 18•23 years ago
|
||
when local.msf is recreated.
Assignee | ||
Comment 19•23 years ago
|
||
david need review here also.
Reporter | ||
Comment 20•23 years ago
|
||
r=bienvenu
Comment 21•23 years ago
|
||
sr=mscott
Assignee | ||
Comment 22•23 years ago
|
||
fix checked in so that bad things (like not clearing copystate) do not happen.
Status: NEW → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
was this trunk only? I am going through verifying bugs fixed on the trunk (with the possibility of going in on the branch later), do I need to verify this now, or can it wait?
Assignee | ||
Comment 24•23 years ago
|
||
yes, this was trunk only. It is not a contender for branch.
Comment 25•23 years ago
|
||
sure thing. copying a msg without X-Mozilla-Status line in it works.
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•