Open
Bug 97865
Opened 25 years ago
Updated 4 years ago
Cyrus IMAP: "Mailbox does not exist" alert displays when select subfolders after renamed parent folder
Categories
(MailNews Core :: Networking: IMAP, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: huang, Unassigned)
References
Details
Attachments
(2 files)
"Mailbox does not exist" alert displays when select subfolders after renamed
parent folder
1) Login to a Cyrus IMAP account with the correct personal namespace setup to
"Inbox.".
2) Select the folder(e.g. folderA) with few levels subfolders (e.g. folderB &
folder C...)
3) Renamed the parent folder (e.g. Renamed from folderA -> folderAa)
4) After renamed the parent folder and select the subfolders under this parent
folder
Actual Results: An alert displays: "The current command did not succeed. The
mail server responded: Mailbox does not exist"
Actual Results: Should alllow users to select the subfolder without this alert
after renamed their parent folder
| Reporter | ||
Comment 1•25 years ago
|
||
Ccing Cavin.
| Reporter | ||
Comment 2•25 years ago
|
||
| Reporter | ||
Comment 3•25 years ago
|
||
| Reporter | ||
Comment 4•25 years ago
|
||
Please note the following lines from the IMAP log:
--------------------------------------------------------------------
275[5507420]: buggy.mcom.com:A:SendData: 19 rename "INBOX.folderA"
"INBOX.folderAa"
313[4786090]: buggy.mcom.com:S-INBOX:SendData: 36 noop
313[4786090]: buggy.mcom.com:S-INBOX:CreateNewLineFromSocket: 36 OK Completed
313[4786090]: buggy.mcom.com:S-INBOX:SendData: 37 UID fetch 54:* (FLAGS)
313[4786090]: buggy.mcom.com:S-INBOX:CreateNewLineFromSocket: * 24 FETCH (FLAGS
(\Seen) UID 53)
313[4786090]: buggy.mcom.com:S-INBOX:CreateNewLineFromSocket: 37 OK Completed
275[5507420]: buggy.mcom.com:A:CreateNewLineFromSocket: 19 OK Completed
275[5507420]: buggy.mcom.com:A:SendData: 20 subscribe "INBOX.folderAa"
275[5507420]: buggy.mcom.com:A:CreateNewLineFromSocket: 20 OK Completed
275[5507420]: buggy.mcom.com:A:SendData: 21 unsubscribe "INBOX.folderA"
275[5507420]: buggy.mcom.com:A:CreateNewLineFromSocket: 21 OK Completed
275[5507420]: buggy.mcom.com:A:SendData: 22 select "INBOX.folderAa"
275[5507420]: buggy.mcom.com:A:CreateNewLineFromSocket: * FLAGS (\Answered
\Flagged \Draft \Deleted \Seen)
275[5507420]: buggy.mcom.com:A:CreateNewLineFromSocket: * OK [PERMANENTFLAGS
(\Answered \Flagged \Draft \Deleted \Seen \*)]
275[5507420]: buggy.mcom.com:A:CreateNewLineFromSocket: * 0 EXISTS
275[5507420]: buggy.mcom.com:A:CreateNewLineFromSocket: * 0 RECENT
275[5507420]: buggy.mcom.com:A:CreateNewLineFromSocket: * OK [UIDVALIDITY
999298634]
275[5507420]: buggy.mcom.com:A:CreateNewLineFromSocket: 22 OK [READ-WRITE]
Completed
275[5507420]: buggy.mcom.com:S-INBOX.folderAa:SendData: 23 getacl
"INBOX.folderAa"
275[5507420]: buggy.mcom.com:S-INBOX.folderAa:CreateNewLineFromSocket: * ACL
INBOX.folderAa test02 lrswipcda
275[5507420]: buggy.mcom.com:S-INBOX.folderAa:CreateNewLineFromSocket: 23 OK
Completed
275[5507420]: buggy.mcom.com:S-INBOX.folderAa:SendData: 24 select
"INBOX.folderAa.folderB"
275[5507420]: buggy.mcom.com:S-INBOX.folderAa.folderB:CreateNewLineFromSocket:
24 NO Mailbox does not exist
275[5507420]: buggy.mcom.com:A:SendData: 25 getacl "INBOX.folderAa.folderB"
275[5507420]: buggy.mcom.com:A:CreateNewLineFromSocket: 25 NO Mailbox does not
exist
-------------------------------------------------------------------------------
| Reporter | ||
Comment 5•25 years ago
|
||
Nominating nsBranch since users shouldn't see this alert when they selecting
subfolders after renamed parent folder......
Keywords: nsbranch
Comment 6•25 years ago
|
||
It works for 4.x because 4.x issues cmds to rename all subfolders. In other
words, it issues the following cmds as well:
1 rename "INBOX.folderA.folderB" "INBOX.folderAa.folderB"
2 subscribe "INBOX.folderAa.folderB"
3 unsubscribe "INBOX.folderA.folderB"
Comment 7•25 years ago
|
||
Ccing jgmyers for the rename definition in the imap rfc.
Here is what the rfc says about the RENAME command:
If the name has inferior hierarchical names, then the inferior hierarchical
names MUST also be renamed. For example, a rename of "foo" to "zap" will rename
"foo/bar" (assuming "/" is the hierarchy delimiter character) to "zap/bar".
Since Cyrus does not rename all subfolders, is this a Cyrus bug? It seems
painful for all IMAP clients to rename all subfolders for a given renamed parent
folder (when this can be done by the servers).
Comment 8•25 years ago
|
||
The rename-subfolders requirement of the IMAP spec was added after Cyrus was
developed. I don't know if recent versions of Cyrus have been fixed to conform
to this.
Note that the Cyrus server advertises the X-NON-HIERARCHICAL-RENAME capability,
which can be used as an indication that the server does not conform to this
particular requirement of the IMAP specification. Mozilla could either ignore
this bug on the grounds that the server is noncomforming, it could use the
presence of that capability to trigger client-side renaming of subfolders, or
it could use the presence of that capability to not update the names of the
subfolders in its client view. The second alternative would be the best.
Comment 10•25 years ago
|
||
later versions of cyrus fix this server-side bug, so the workaround is less crucial.
Comment 11•25 years ago
|
||
Cool, do you know the version number of the servers which handle this now?
Comment 12•25 years ago
|
||
Ccing leg+mozilla@andrew.cmu.edu for the server version number.
Comment 13•25 years ago
|
||
since version 2.0, released 2000/04/25. the current version is 2.0.16.
Comment 14•24 years ago
|
||
is this something need for MachV?
Comment 15•24 years ago
|
||
is this something need for MachV?
| Reporter | ||
Comment 16•24 years ago
|
||
Scott or Cavin, can you confirm this bug? If this problem is not occurring for
Cyrus version 2.0.16 Server, should we still fix this for our internal Cyrus
1.5.2 for MachV?
Comment 17•24 years ago
|
||
Is this in any way related to 86968? It seems like they
must both be Cyrus-only, or more people would be complaining
due to how severe the problem can be/is. I notice it has
been sitting waiting for a reply for a few months - I would
like to confirm that I am still having the problem after
renaming parent folders, and it is really easy to reproduce.
On FreeBSD 4.6-STABLE, I am using the cyrus-imapd-2.0.16_2
port.
Comment 18•24 years ago
|
||
this bug is driving me insane...!
Comment 19•23 years ago
|
||
I have the same problem with mozilla 1.3 and cyrus-imapd 2.1.12 (latest version).
I had this folder structure:
Jakarta
- Tomcat
- Struts
...
Then I renamed Jakarta to Java. The GUI did _not_ change Jakarta to Java. But
when I clicked on Jakarta I received the "mailbox does not exist" alert.
It was necessary to restart mozilla mail serveral times and enable/disable "show
only subscribed folders" in the server settings every time to get the new
structure in the tree view.
While doing this I saw also a gray instead of black colored "Jakarta".
Another problem: my filters for moving the mails in the Tomcat and Struts
folders did not get updated! I had to change the destination myself.
Updated•21 years ago
|
Product: MailNews → Core
Comment 20•18 years ago
|
||
this is still a problem.:(
I can reproduce this bug with Thunderbird 1.5.x and 2.x
/Teststruktur/
1.ebene1/
1.ebene2/
2.ebene1/
2.ebene2/
3.ebene1/
3.ebene2/
2.ebene3
When I move the folder "2.ebene2" below "Teststruktur" it looks liked it worked but entering "3.ebene1" or "3.ebene2" gives "Mailbox does not exists" back.
The server is cyrus and when I use evolution as mailclient it is working like expected.
I traced the IMAP commands and evolution is doing:
A00052 OK [READ-WRITE] Completed
<1215179321<A00053 RENAME {30+}
Teststruktur/1.ebene2/2.ebene2 {21+}
Teststruktur/2.ebene2
>1215179321>* OK rename Teststruktur/1.ebene2/2.ebene2 Teststruktur/2.ebene2
>1215179321>A00053 OK Completed
...
A00055 OK [READ-WRITE] Completed
<1215179322<A00056 RENAME {39+}
Teststruktur/1.ebene2/2.ebene2/3.ebene1 {30+}
Teststruktur/2.ebene2/3.ebene1
>1215179322>* OK rename Teststruktur/1.ebene2/2.ebene2/3.ebene1 Teststruktur/2.ebene2/3.ebene1
>1215179322>A00056 OK Completed
...
<1215179322<A00059 RENAME {39+}
Teststruktur/1.ebene2/2.ebene2/3.ebene2 {30+}
Teststruktur/2.ebene2/3.ebene2
>1215179322>* OK rename Teststruktur/1.ebene2/2.ebene2/3.ebene2 Teststruktur/2.ebene2/3.ebene2
>1215179322>A00059 OK Completed
Evolution is renaming the folder and the subfolder.
thunderbird is just renaming the folder without the subfolders:
<1215179135<11 RENAME {30+}
Teststruktur/1.ebene2/2.ebene2 {21+}
Teststruktur/2.ebene2
>1215179135>* OK rename Teststruktur/1.ebene2/2.ebene2 Teststruktur/2.ebene2
>1215179135>11 OK Completed
<1215179136<12 Subscribe {21+}
Teststruktur/2.ebene2
>1215179136>12 OK Completed
<1215179136<13 Unsubscribe {30+}
Teststruktur/1.ebene2/2.ebene2
>1215179136>13 OK Completed
<1215179136<15 Unsubscribe {39+}
Teststruktur/1.ebene2/2.ebene2/3.ebene1
>1215179136>15 OK Completed
<1215179136<17 Unsubscribe {39+}
Teststruktur/1.ebene2/2.ebene2/3.ebene2
>1215179136>17 OK Completed
<1215179150<Q01 LOGOUT
>1215179150>* BYE LOGOUT received
Updated•18 years ago
|
Assignee: mscott → nobody
Comment 21•18 years ago
|
||
Hi,
I used Noèls approach to reproduce this bug. But for me It's working fine under Debian Lenny with cyrus 2.2.13 and Thunderbird 2.0.0.16
Best Regards,
Marvin Stark
Comment 22•17 years ago
|
||
so maybe the problem depends on the version of cyrus.
Comment 23•17 years ago
|
||
I tested it again with cyrus 2.2.13 and Thunderbird 2.0.0.17.
The problem is still there. I move a folder with subfolders with the mouse one directory up and the folder list is updated as intended but entering them results "Mailbox does not exists". Restarting thunderbird updates the folderlist and the subfolders of the moved folder are in the old hierachy.
cyradm shows that only one folder was moved/renamed and not the subfolders.
Comment 24•17 years ago
|
||
I tested it with Thunderbird 3 (snapshot 2008-11-23).
cyradm and thunderbird 2 show the 3.ebene1/ and 3.ebene2/ correctly but thunderbird 3 don't show any 3.ebene* subfolders at all.
Not in the folder list and not in the abonnement dialog.
Comment 25•17 years ago
|
||
I tried some more folder moving and I can reproduce the problem thunderbird3:
Here are the cyrus protocoll logs:
thunderbird 2:
<1227527864<10 close^M
>1227527864>10 OK Completed^M
<1227527864<11 rename "Teststruktur/1.ebene2/2.ebene2"
"Teststruktur/2.ebene2"^M
>1227527864>* OK rename Teststruktur/1.ebene2/2.ebene2
Teststruktur/2.ebene2^M
>1227527864>11 OK Completed^M
<1227527864<12 subscribe "Teststruktur/2.ebene2"^M
>1227527864>12 OK Completed^M
<1227527864<13 unsubscribe "Teststruktur/1.ebene2/2.ebene2"^M
>1227527864>13 OK Completed^M
<1227527864<14 subscribe "Teststruktur/2.ebene2/3.ebene1"^M
>1227527864>14 NO Subscribe: Mailbox does not exist^M
<1227527864<15 unsubscribe "Teststruktur/1.ebene2/2.ebene2/3.ebene1"^M
>1227527864>15 OK Completed^M
<1227527864<16 subscribe "Teststruktur/2.ebene2/3.ebene2"^M
>1227527864>16 NO Subscribe: Mailbox does not exist^M
<1227527865<17 unsubscribe "Teststruktur/1.ebene2/2.ebene2/3.ebene2"^M
>1227527865>17 OK Completed^M
thunderbird 3
>1227528117>17 OK Completed^M
<1227528117<18 rename "Teststruktur/1.ebene2/tb3move"
"Teststruktur/tb3move"^M
>1227528117>* OK rename Teststruktur/1.ebene2/tb3move
Teststruktur/tb3move^M
>1227528117>18 OK Completed^M
<1227528117<19 subscribe "Teststruktur/tb3move"^M
>1227528117>19 OK Completed^M
<1227528117<20 unsubscribe "Teststruktur/1.ebene2/tb3move"^M
>1227528117>20 OK Completed^M
<1227528117<21 subscribe "Teststruktur/tb3move/tb3subfolder1"^M
>1227528117>21 NO Subscribe: Mailbox does not exist^M
<1227528117<22 unsubscribe "Teststruktur/1.ebene2/tb3move/tb3subfolder1"^M
>1227528117>22 OK Completed^M
<1227528117<23 subscribe "Teststruktur/tb3move/tb3subfolder2"^M
>1227528117>23 NO Subscribe: Mailbox does not exist^M
<1227528117<24 unsubscribe "Teststruktur/1.ebene2/tb3move/tb3subfolder2"^M
>1227528117>24 OK Completed^M
<1227528120<25 select "Teststruktur/tb3move/tb3subfolder1"^M
>1227528120>25 NO Mailbox does not exist^M
<1227528124<26 logout^M
>1227528124>* BYE LOGOUT received^M
in both cases only the folder and not the subfolders are renamed. In comment #20 you see how evolution is doing it. Every folder needs to be renamed.
Comment 26•17 years ago
|
||
I analysed some more.
The described problem up to 2003 in this bug described the missing functionality of cyrus. This is fixed and done since cyrus 2.x.
What I added to this bug this year looks like a cyrus problem and not a thunderbird problem.
I reported it to cyrus: https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=3120
This bug can be closed because the first part is fixed and the second invalid.
| Assignee | ||
Updated•17 years ago
|
Product: Core → MailNews Core
Updated•17 years ago
|
QA Contact: grylchan → networking.imap
Updated•4 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•