Bug 267051 - KMail 1.13.6 IMAP with MS Exchange over STARTTLS does not fetch new mails any more.
Summary: KMail 1.13.6 IMAP with MS Exchange over STARTTLS does not fetch new mails any...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: IMAP (show other bugs)
Version: 1.13.6
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-24 14:38 UTC by Oliver Maurhart
Modified: 2015-04-13 05:01 UTC (History)
1 user (show)

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 Oliver Maurhart 2011-02-24 14:38:14 UTC
Version:           1.13.6 (using KDE 4.6.0) 
OS:                Linux

KMail was working since some KDE 3.x back to some KDE 4.5.x version without any troubles. After the last updates it stopped working with the MS Exchange on IMAP via STARTTLS.

KMail remained silent for a number of days after the recent updates. This was good at first, but then I got pretty anxious ... and throughout the Outlook Webfrontend I figured out I missed nearly 50 mails.

Testing the connection using openssl s_client -crlf -starttls imap -connect SERVER:PORT worked properly. I could login and query my inbox.

Kmail just remained silent. It does not fetch any emails any longer and I don't know why. The "Checking account ..." in the flashes and after I accepted the certificate "Forever" (each time yet) it goes to "timed out" with 100%.

A newly setup Thunderbird with the same config data works well out of the box.

Coincident: suddenly kmail asks my confirmation about the SSL certifcate each time. It does not care if I accepted it "forever".

Please help! Thank you.

Reproducible: Always

Steps to Reproduce:
Click on "Check Mail"

KMail should accept the certicate, when I approved it (once and for good). And then it should query the mails on the IMAP MS Exchange via STARTTLS.

Actual Results:  
KMail says "timed out".

Expected Results:  
KMail should fetch all mails stored at the IMAP server.

KMail was working properly for at least 2 years in this configuration. However new release does not work here. :(
Comment 1 Gulraj Rijhwani 2011-04-08 18:40:53 UTC
This appears to be a wider issue with stricter SSL validation.  I have had similar problems since upgrading (loosely speaking!) to KDE 4.6 yesterday.  (I wish I could go back to 3.5, but that's another story.)  This is not Gentoo, but Fedora 14, with specific inclusion of the KDE repositories at a higher priority.

kmail 1.13.6 now prompts on every poll/send to the company Exchange server because the SSL CN offered does not match the machine's internal hostname.  Selecting the "continue" option works, but then selecting "forever" seems to be a complete waste of time, as I am prompted exactly the same, very next poll...
Comment 2 Laurent Montel 2015-04-12 10:00:32 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.
Comment 3 Oliver Maurhart 2015-04-13 05:01:27 UTC
Oh, yes. Thank you for the nudge. The big is indeed fixed.