[Bug 212951] Kmail Sends StartTls but shouldn't when connecting to sieve
DonMartio
donmartio at larkos.de
Sun Feb 14 21:53:00 GMT 2010
https://bugs.kde.org/show_bug.cgi?id=212951
DonMartio <donmartio at larkos.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |donmartio at larkos.de
--- Comment #1 from DonMartio <donmartio larkos de> 2010-02-14 22:52:56 ---
If i call the server via telnet it gives me the capabilities in return.
In my case there is no "STARTTLS" on this special server in this response.
I've tested a little bit around and checked the sources of cyrus-2.3.16 and
kdepimlibs-4.4.0.
As far as i understood it cyrus cuts the connection if a STARTTLS token is sent
and TLS is not configured/supported.
In the kdeplimlibs sources i found that the kio_sieve slave ignores that there
is no STARTTLS capability received from the server.
I changed the line 368 in kioslave/sieve/sieve.cpp
from
if (useTLSIfAvailable && QSslSocket::supportsSsl()) {
to
if (useTLSIfAvailable && m_supportsTLS && QSslSocket::supportsSsl()) {
and it's working again.
I'm not sure if this the right way to solve this. May someone can check it an
put it into some future release so i don't have to keep my own kdepimlibs
version.
Greetings so far.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list