Bug 137042 - NAMESPACE and LIST/LSUB sent in wrong state
Summary: NAMESPACE and LIST/LSUB sent in wrong state
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: imap (show other bugs)
Version: unspecified
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-08 14:58 UTC by Martin Ostertag
Modified: 2018-11-17 12:44 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Ostertag 2006-11-08 14:58:09 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Solaris

While trying to get KMail working with exchange IMAP module I found some misbehavior in the IMAP kio module. It does not break anything, but fixing would make IMAP kio more compliant to the RFCs:

Regarding the RFC 2342 (IMAP4 NAMESPACE) the IMAP commands NAMESPACE and LSUB/LIST must be sent only when when the server is in the Authenticated and Selected state, which means, if the client has successful logged in or a Mailbox has been selected. Nevertheless if the login failed, both commands are sent and the imap server returns errors.
Both commands should only be sent either if the login was successful or no login is required but a Mailbox has been selected.
The error is in file imap4.cc in function makeLogin, in line with 
'    if ( hasCapability("NAMESPACE") )'
Comment 1 Thomas McGuire 2007-12-12 23:38:46 UTC
Reassigning the bugs of the SMTP, IMAP and POP ioslaves to kdepim-bugs.
Comment 2 Thomas McGuire 2007-12-12 23:42:49 UTC
Undo autoconfirm.
Comment 3 Andrew Crouthamel 2018-11-02 04:15:31 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-11-16 02:45:02 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version?

Thank you for helping us make KDE software even better for everyone!
Comment 5 Christophe Marin 2018-11-17 12:44:55 UTC
kio_imap4 doesn't exist anymore.