Closed Bug 78237 Opened 23 years ago Closed 23 years ago

Cyrus IMAP: Shouldn't display 2 Inbox mailboxes

Categories

(MailNews Core :: Networking: IMAP, defect, P3)

x86
Windows NT

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.2

People

(Reporter: huang, Assigned: naving)

References

Details

(Keywords: imap-interop, Whiteboard: [nsbeta1+][PDT+]Have fix)

Attachments

(3 files)

Used 04-30-09-trunk build

Display 2 Inbox mailboxes from Cyrus IMAP mail

Setup Info:
Used a Cyrus IMAP migrated profile or create a new profile with "Inbox." 
Personal namespace setting (from Advanced IMAP server setting of Mail Account 
Settings)

Steps:
1) Login to above setup Cyrus IMAP account
2) After login to this mail account
3) Actual Results: it display 2 Inbox mailboxes on the folder pane.

expected results: Should just display only one Inbox on the folder pane.
Ccing Navin & David.
Summary: Cyrus IMAP: Shouldn't display 2 Inbox mailboxes → Cyrus IMAP: Shouldn't display 2 Inbox mailboxes
QA Contact: esther → huang
looks like a case-sensitivity problem somewhere with INBOX and Inbox
Blocks: 78265
Adding interop & nsbeta1 for the keywords since without this fix, there are 
problems on Cyrus Mail UI and sending messages.....
Keywords: interop, nsbeta1
marking nsbeta1+ and moving to 0.9.2
Priority: -- → P3
Whiteboard: [nsbeta1+]
Target Milestone: --- → mozilla0.9.2
Blocks: 79444
naving, mind if i load balance this to you? 
Assignee: mscott → naving
accepting. 
Attached patch proposed fix.Splinter Review
The fix is to detect if we get anything other than INBOX from the server 
like inbox, Inbox etc. Delete INBOX and all its children and create 
Inbox and its children, true for cyrus imap servers. I have added a param 
caseInsensitive to know when to do strcasecmp (like for INBOX) and when to do
strcmp (for other imap folders). 

The changes in nsImapProtocol are to detect if the there is a namespace prefix  
something like Inbox/inbox etc then to send the list command as Inbox/inbox. 
However, sending INBOX would also work but I think previous approach is better.

I need review, david ?
request for review from david and scott.
Whiteboard: [nsbeta1+] → [nsbeta1+]Have fix
r=bienvenu - you should try new and existing profiles on Cyrus and non-cyrus
servers just to make sure everything still works.
Karen, what are the actual UI and sending problems that occur because of this?
Well from the UI perspective the user would see two inbox and may be confused. 
I think you meant receiving instead of sending; there are no receiving problems. 
Karen has a comment towards the beginning of bug that says "there are 
problems on Cyrus Mail UI and sending messages".  I agree that there are UI
problems I just wanted to know what other kinds of problems we could expect if
this bug didn't get fixed.
adding PDT+
Whiteboard: [nsbeta1+]Have fix → [nsbeta1+][PDT+]Have fix
I have tested messenger, cyrus UW old and new profiles. I will have to 
test courier. any other ? 
sr=mscott
MS Exchange? (poisonoak.mcom.com)
ok tested aol and MS exchange also. 
a= asa@mozilla.org for checkin to the trunk.
(on behalf of drivers)
Blocks: 83989
fix checked in. 
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Verified on WinNT 06-18-09-trunk build
Now, Cyrus IMAP is not displaying 2 Inbox now, marking as verified for this bug 
but found bug 86459 & bug 86467 for Inbox UI & Inbox subfolders creation 
problems.
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: