File kmail_allow_tls_login_auth.diff of Package kdepim3

Index: kmail/kmtransport.cpp
===================================================================
--- kmail/kmtransport.cpp	(revision 627586)
+++ kmail/kmtransport.cpp	(working copy)
@@ -670,7 +670,7 @@
   // LOGIN doesn't offer anything over PLAIN, requires more server
   // roundtrips and is not an official SASL mechanism, but a MS-ism,
   // so only enable it if PLAIN isn't available:
-  mSmtp.authLogin->setEnabled( auth & LOGIN && !(auth & PLAIN));
+  mSmtp.authLogin->setEnabled( auth & LOGIN /*&& !(auth & PLAIN)*/);
   mSmtp.authCramMd5->setEnabled( auth & CRAM_MD5 );
   mSmtp.authDigestMd5->setEnabled( auth & DIGEST_MD5 );
   mSmtp.authNTLM->setEnabled( auth & NTLM );
openSUSE Build Service is sponsored by