Version: (using KDE KDE 3.5.4) Installed from: Mandriva RPMs After a recent update to KDE 3.5.4, I can't access my imap account anymore using kmail. I still can reach it through konqueror... (if I type the url as "imap://XXX"), so it's really a kmail problem. The IMAP server is a microsoft exchange server and I use NTLM authentication. The error message displayed is : "The process dealing with the protocol imap://XXX aborted" (translated from french... not accurate) On the console, when launching kmail, one can read the following : kmail: KMFolderImap::checkValidity of: /INBOX/ kmail: CheckValidity - waiting for connection kmail: ERROR: Header read failed, errno=104 kmail: ERROR: Header has invalid size (-1) kmail: slave died pid = 14321
FYI, as a workaround, I had to switch to clear text authentication, but I'd rather use NTLM and kmail tells me it is supported by my server
It seems that NTLM authentication is broken in (atleast) kmail shipped with KDE 3.5.5. I'm using Debian SID with the packages distributed with that, and no matter what, I can't get NTLM auth to work. I'm sure the authentication info is correct, since I copy-pasted it straight from a .fetchmailrc file which uses NTLM authentication for getting my mail. If there is anything to test to fix this, it would be great. Thanks, Jan
Jan, I'm pretty sure there were some NTLM changes in some low-level libs for KDE 3.5.5. So, I have a question in to the networking gurus about this issue at kde-devel@kde.org. Let's wait for their responses
Thanks! Thread in question: http://lists.kde.org/?l=kde-devel&m=116195779807636&w=2 Jan
The IMAP ioslave uses the cyrus-sasl library for authentication info generation (including NTLM), so the bug lays somewhere else...Maybe the cyrus-sasl implementation broke? (I don't have any NTLM capable IMAP server around, if someone has one to allow testing, I'll look into it).
Any other SASL method still works anyway? (e.g. PLAIN, DIGEST-MD5)?
Just checked KDE 3.5.5 from the Fedora Core 6 updates, and NTLM works flawlessly with a cyrus-imapd server.
I cannot check any other method - the mail server in question only supports either clear text or NTLM. It's an MS Exchange 2003 server, if it matters.
KDE 3.5.5 (compiled from sources on Fedora Core 6) works here with NTLM against MS Exchange Server 2003 (POP3 server version 6.5.7226.0) On my Fedora Core 6 system, one needs to install the cyrus-sasl-ntlm package for NTLM to work. Cheers, Philippe
Had to install libsasl2-plug-ntlm-2.1.22-20mdv2007.0 on Mandriva and it solved my problem. So this is not a KDE bug.
Closing
There is no such package on Debian
This package contains those files : /usr/lib/sasl2/libntlm.la /usr/lib/sasl2/libntlm.so /usr/lib/sasl2/libntlm.so.2 /usr/lib/sasl2/libntlm.so.2.0.22
Still the same problem on Debian SID. I tried rebuilding the sasl2 package with the build options of FC6, but this didn't change a thing.
You need the ntlm plugin.