Index: kdepimlibs/kioslave/sieve/sieve.cpp =================================================================== --- kdepimlibs/kioslave/sieve/sieve.cpp (Revision 1092920) +++ kdepimlibs/kioslave/sieve/sieve.cpp (Revision 1092921) @@ -364,12 +364,11 @@ } // FIXME find a test server and test that this works - // TODO ask the system whether SSL is available - if (useTLSIfAvailable && QSslSocket::supportsSsl()) { + if (useTLSIfAvailable && m_supportsTLS && QSslSocket::supportsSsl()) { sendData("STARTTLS"); if (operationSuccessful()) { ksDebug << "TLS has been accepted. Starting TLS..." << endl - << "WARNING this is untested and may fail."; + << "WARNING this is untested and may fail."; if (startSsl()) { ksDebug << "TLS enabled successfully." << endl; // reparse capabilities: