Closed Bug 483277 Opened 15 years ago Closed 15 years ago

IMAP: server support for IDLE command not properly detected

Categories

(MailNews Core :: Networking: IMAP, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 470650

People

(Reporter: Joern.Voss, Unassigned)

Details

(Keywords: regression)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2

I'm using Cyrus IMAP server and tried to get the IDLE command to work. Using Wireshark if found out that TB 3.0b2 does not use the command and TB2 does. This seems to be, because TB 3.0b2 does not properly detect server support for the IDLE command.

Here is the greeting message the server sends when the client connects:

* OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS] server ready

Afer the client authenticates, the server confirms the authentication with the following message:

1 OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID IDLE LOGINDISABLED ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE SCAN IDLE LISTEXT LIST-SUBSCRIBED X-NETSCAPE URLAUTH] Success (no protection)

Though the server now reports 'IDLE' as one of his capabilities, TB3 does not detect it.

I modified the server to include 'IDLE' capability in the inital greeting message, so that it looks like this:

* OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID IDLE STARTTLS] server ready

With this modified greeting message TB3 now detects IDLE support correctly. As it seems to be RFC-compliant for the server to send modified capabilities after authentication and as TB2 correctly detects IDLE capability, this should be ab bug in TB3.

Reproducible: Always
Component: General → Networking: IMAP
Product: Thunderbird → MailNews Core
QA Contact: general → networking.imap
Version: unspecified → Trunk
Keywords: regression
Dupe of bug 470650, caused by bug 401293.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.