Closed
Bug 579881
Opened 16 years ago
Closed 16 years ago
TB issues IMAP XMAILBOXINFO even if not supported by server
Categories
(MailNews Core :: Networking: IMAP, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: michael, Unassigned)
References
Details
Attachments
(1 file)
|
8.56 KB,
text/plain
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.10) Gecko/20100623 Iceweasel/3.5.10 (like Firefox/3.5.10)
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Lightning/1.0b1 Icedove/3.0.5
Using the IMAP-ACL[1] extension causes TB to send a "XMAILBOXINFO" command to the IMAP server even when this command is not supported there. This causes an error-dialog to pop up. Otherwise the extension works find, setting the ACLs as requested.
The code responsible for sending thiscommand is in mozilla/mailnews/imap/src/nsImapProtocol.cpp:
nsImapProtocol::XMailboxInfo(...)
Reproducible: Always
Steps to Reproduce:
1. Install imap-acl-extension (https://addons.mozilla.org/de/thunderbird/addon/176736/)
2. Right click on an IMAP-folder
3. Click "Properties"
4. Click "Sharing"
5. Click "Set Permissions"
6. Add or modify a permission.
7. See error-dialog:
The current command did not succeed. The mail server responded:Error in IMAP command XMAILBOXINFO: Unknown command.
Actual Results:
Error-dialog pops up.
Expected Results:
Set the ACLs without error-dialog.
This happens on dovecot 1.2.12 with shared folders.
I can provide temporary IMAP accounts to reproduce it.
The imap-acl-extension itself never issues a call to "XMAILBOXINFO" nor to nsImapProtocol::XMailboxInfo(...) directly.
Updated•16 years ago
|
Component: General → Networking: IMAP
Product: Thunderbird → MailNews Core
QA Contact: general → networking.imap
Version: unspecified → 1.9.1 Branch
Comment 1•16 years ago
|
||
Can you get IMAP log and check CAPABILITY response?
> https://wiki.mozilla.org/MailNews:Logging
> bash example: export NSPR_LOG_MODULES=timestamp,imap:5
By the way, next is found by Google search for "imap XMAILBOXINFO".
> http://comments.gmane.org/gmane.mail.imap.dovecot/48970
This problem is also reported to add-on's review page.
> https://addons.mozilla.org/de/thunderbird/addon/176736/#reviews
| Reporter | ||
Comment 2•16 years ago
|
||
I've attached the relevant part of the log.
The thread on the dovecot mailinglist turned out that the problem is with the client. As the extenions itself never calls "XMAILBOXINFO" it has to be something inside TB.
One thing I found out today: This only happens if I take way through the properties dialog. If I open the ACL dialog directly from the toolbar "XMAILBOXINFO" is never issued. So maybe it's something within the properties box?
| Reporter | ||
Comment 3•16 years ago
|
||
Updated•16 years ago
|
Attachment #458610 -
Attachment mime type: text/x-log → text/plain
Comment 4•16 years ago
|
||
Greeting.
> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=LOGIN AUTH=GSSAPI] Dovecot ready.
CAPABILITY response.
> 1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT
> SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN
> NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT
> SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS ACL RIGHTS=texk]
No XSERVERINFO in CAPABILITY response.
X-NETSCAPE(XSERVERINFO, XMAILBOXINFO comand) looks very old extension by Netscape.
> http://www.imc.org/imc-mailconnect/mail-archive/msg00425.html
Which version of Imap-ACL-Extension do you use?
> Version 0.1.1 20.07.2010 20 KB
> * Thunderbird 3.0 - 3.1.*
> Fehler "XMAILBOXINFO" behoben.
> Version 0.1.0 22.06.2010 20 KB
> * Thunderbird 3.0 - 3.1.*
> secInfo Bug behoben
> Version 0.0.9 21.06.2010 20 KB
> * Thunderbird 3.0 - 3.1.*
> funktioniert auch auf 3.1 vollständig
| Reporter | ||
Comment 5•16 years ago
|
||
(In reply to comment #4)
> Which version of Imap-ACL-Extension do you use?
> > Version 0.1.1 20.07.2010 20 KB
> > * Thunderbird 3.0 - 3.1.*
> > Fehler "XMAILBOXINFO" behoben.
0.1.1 seems to have fixed this bug. So this was caused by the extension after all.
I think the bug can be closed.
Comment 6•16 years ago
|
||
ok, thx, marking invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•