Closed
Bug 470650
Opened 16 years ago
Closed 16 years ago
IMAP capability response ignored in greeting after authentication
Categories
(MailNews Core :: Networking: IMAP, defect)
MailNews Core
Networking: IMAP
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 3.0b3
People
(Reporter: jkf, Assigned: Bienvenu)
References
Details
(Keywords: regression)
Attachments
(6 files)
(deleted),
text/plain
|
Details | |
(deleted),
text/plain
|
Details | |
(deleted),
text/plain
|
Details | |
(deleted),
text/plain
|
Details | |
(deleted),
text/plain
|
Details | |
(deleted),
patch
|
standard8
:
review+
standard8
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20081220 Shiretoko/3.1b3pre
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-GB; rv:1.9.1b3pre) Gecko/20081204 Thunderbird/3.0b1
Quota support and Sharing support with Cyrus-IMAPd v2.3.13 worked flawlessly in 3.0a3 (Shredder).
In 3.0b1 it now says that "this server does not support quotas" and "this server does not support shared folders" in the "Quota" tab of mailbox properties, on any mailbox held on a Cyrus-IMAPd server.
This is tested against Cyrus IMAP v2.3.13.
It still appears to work against an older Cyrus IMAP v.2.2.12.
I have tried this in safe mode and with a new profile, no change in results.
Please can it be fixed again, this is very important to my users. I will happily provide support to any developer who can help fix this problem.
Reproducible: Always
Steps to Reproduce:
1. Set up account talking to IMAP server running Cyrus v.2.3.13.
2. Right-click on a folder.
3. Choose Properties.
4. Choose Quota tab or Sharing tab.
Actual Results:
Dialog just shows the text "this server does not support quotas" or "this server does not support shared folders".
Expected Results:
Should get display of folder permissions, or amount of quota used, just like in 3.0a3.
My IMAP servers are publicly acessible, and I will happily give a developer an account on both the old v.2.2 server and the new v2.3 server to test against.
I am the postmaster and so will help out as much as possible.
Updated•16 years ago
|
Component: General → Networking: IMAP
Keywords: regression
Product: Thunderbird → Core
QA Contact: general → networking.imap
Version: unspecified → Trunk
Comment 1•16 years ago
|
||
Get NSPR log for IMAP, and check IMAP level flow first.
> Environment variables for IMAP (imap:5)
> http://kb.mozillazine.org/Session_logging_for_mail/news
> How to get NSPR log on Mac OS X (see Enabling HTTP logging:/OSX section)
> http://www.mozilla.org/projects/netlib/http/http-debugging.html
> RFC 3501 (IMAP4rev1)
> http://www.faqs.org/rfcs/rfc3501.html
If log analysis by developers will be required, replace sensitive data in log file(such as mail addr, use name) by meaninles string, and attach log file to this bug, please.
Reporter | ||
Comment 2•16 years ago
|
||
This is a log file of Shredder 3.0a3 talking IMAP to peewit.ecs.soton.ac.uk, while I start Shredder, right-click on the inbox and show the folder properties, in particular the Sharing and Quota tabs.
Reporter | ||
Comment 3•16 years ago
|
||
This is a log file of Shredder 3.0a3 talking IMAP to peewit.ecs.soton.ac.uk, while I start Shredder, right-click on the inbox and show the folder properties, in particular the Sharing and Quota tabs.
Reporter | ||
Comment 4•16 years ago
|
||
This is a log file of Thunderbird 3.0b1 talking IMAP to peewit.ecs.soton.ac.uk, while I start Thunderbird, right-click on the inbox and show the folder properties, in particular the Sharing and Quota tabs.
Thunderbird complains that the server does not support shared folders or quotas.
Reporter | ||
Comment 5•16 years ago
|
||
This is a log file of Thunderbird 3.0b1 talking IMAP to peewit.ecs.soton.ac.uk, while I start Thunderbird, right-click on the inbox and show the folder properties, in particular the Sharing and Quota tabs.
Thunderbird complains that the server does not support shared folders or quotas.
Comment 6•16 years ago
|
||
Following log is seen in "works properly" case.
> SendData: 10 select "INBOX" (CONDSTORE)
> SendData: 11 myrights "INBOX"
> SendData: 12 getacl "INBOX"
> SendData: 13 getquotaroot "INBOX"
But when "Shows fault" case, "(CONDSTORE)" is not used by "select", and command of myrights/getacl/getquotaroot is not seen in log.
> SendData: 7 select "INBOX"
CONDSTORE extension support is done by Bug 436151(FIXED on 2008-10-01).
It looked to work with "Shredder 3.0a3"(old trunk build), but something relates to it seems to be corrupted by "Thunderbird 3.0b1"(Tb 3 Beta release).
Can you re-produce problem with nightly latest-trunk build("Shredder/3.0b2pre")?
(Off-Topic)
nsHttp:5 is not needed. imap:5 is sufficient in your case. "No guide for Mac OS X user in Session_logging_for_mail/news" is the reason why I pointed "http-debugging.html". And, independent logging is not needed, even if both of imap:5 & nsHttp:5 is required - setenv NSPR_LOG_MODULES imap:5,nsHttp:5
Reporter | ||
Comment 7•16 years ago
|
||
IMAP log of Shredder 3.0b3pre talking to peewit.ecs.soton.ac.uk.
Broken behaviour still seen in this release.
Assignee | ||
Comment 8•16 years ago
|
||
I'm guessing that this has to do with the parsing of the capability response in the greeting, since we're not issuing a separate capability command. We're getting two separate greeting responses; the second one has the quota capability. We need to pay attention to the second one, since that's the one that we get after we authenticate...
Comment 9•16 years ago
|
||
Good case.
> Connection -> Small set of capability in greeting
> 1 capability -> full capability list + additional ones(e.g AUTH=PLAIN)
> 2 authenticate plain -> full capability list(after login, so no AUTH=PLAIN)
> select "INBOX" (CONDSTORE), myrights/getacl/getquotaroot for "INBOX"
Bad case.
> Connection -> Small set of capability in greeting
> (capability is not issued)
> 1 authenticate plain -> full capability list
> select "INBOX", no myrights/getacl/getquotaroot for "INBOX"
David, "no capability command" is a result by patch for Bug 401293?
Assignee | ||
Comment 10•16 years ago
|
||
WADA, yes, that's my thought.
Comment 11•16 years ago
|
||
Confirming, based on attached log.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•16 years ago
|
Summary: Cyrus IMAP quota and sharing support broken → Cyrus IMAP quota and sharing support broken (Tb ignores capability response in greeting after authentication)
Updated•16 years ago
|
Product: Core → MailNews Core
Updated•16 years ago
|
Flags: wanted-thunderbird3?
Flags: blocking-thunderbird3?
Assignee | ||
Comment 12•16 years ago
|
||
Dale, do you think you could have a look at this?
OS: Mac OS X → All
Summary: Cyrus IMAP quota and sharing support broken (Tb ignores capability response in greeting after authentication) → IMAP capability response ignored in greeting after authentication
Updated•16 years ago
|
Flags: wanted-thunderbird3?
Flags: blocking-thunderbird3?
Flags: blocking-thunderbird3+
Target Milestone: --- → Thunderbird 3.0b3
Comment 14•16 years ago
|
||
To David Bienvenu:
I can't believe enhancement by Bug 401293 is mandatory for Tb 3. I think one of following actions is better for releasing Tb 3 Beta's, RCx, and Tb 3.
(a) Backout change by Bug 401293.
(b) Disable logic of "bypass capability command", until this bug's solution
will be available. (This is simplest way, I think)
- Define a variable which is always false.
If (a_variable==true && other_conditions_met) { bypass capability ; }
(c) Make functionality of "bypass capability command" optional.
What do you think?
Reporter | ||
Comment 15•16 years ago
|
||
Not bypassing the capability command seems the simplest thing to do IMHO.
What was the point of bypassing it anyway? Surely you want to take notice of all capability commands?
Assignee | ||
Comment 16•16 years ago
|
||
I think a) or b) makes sense - I just haven't had time to look into what was wrong with the original patch...
Assignee | ||
Comment 18•16 years ago
|
||
looking at the code, I think we're already parsing the unsolicited capability responses, so it's unclear why we're ignoring them. Anyway, I'm going to figure this out today or tomorrow, since it really messes with Cyrus users.
Assignee | ||
Comment 19•16 years ago
|
||
this should fix it, and bring us into conformance with the relevant part of the IMAP RFC.
Assignee: nobody → bienvenu
Status: NEW → ASSIGNED
Attachment #368410 -
Flags: superreview?(bugzilla)
Attachment #368410 -
Flags: review?(bugzilla)
Updated•16 years ago
|
Assignee: bienvenu → nobody
Status: ASSIGNED → NEW
Comment 20•16 years ago
|
||
Whoops, did not know how I did that. Reverting changes...
Assignee: nobody → bienvenu
Status: NEW → ASSIGNED
Updated•16 years ago
|
Attachment #368410 -
Flags: superreview?(bugzilla)
Attachment #368410 -
Flags: superreview+
Attachment #368410 -
Flags: review?(bugzilla)
Attachment #368410 -
Flags: review+
Assignee | ||
Comment 21•16 years ago
|
||
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•