Bug 137042

Summary: NAMESPACE and LIST/LSUB sent in wrong state
Product: [Frameworks and Libraries] kio Reporter: Martin Ostertag <martin.ostertag>
Component: imapAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed In:

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.