[kdepim-users] sieve problem with current kde4 svn

Martin (KDE) kde at fahrendorf.de
Thu Oct 23 19:57:59 BST 2008


Hallo,

I don't know where I should send the problem (and hopefully the 
solution) to, so I use this list.

Since a couple of month kio_sieve is not working any more with my 
sieve server (tls enabled). Because I was on a change to kde4, I did 
not investigate this issue. But sadly, the same bug is there in the 
current svn kde4 trunk (from today). So I did some testing and 
checking and found the solution (it works with my hosts). The 
following patch fixed the bug.

--- sieve.cpp	(Revision 875224)
+++ sieve.cpp	(Arbeitskopie)
@@ -1227,7 +1227,7 @@
     const int minor = regExp.cap( 2 ).toInt();
     const int patch = regExp.cap( 3 ).toInt();
     const QString vendor = regExp.cap( 4 );
-    if ( major < 2 || (major == 2 && (minor < 3 || (major == 3 && 
patch < 11))) || (vendor == "-kolab-nocaps") ) {
+    if ( major < 2 || (major == 2 && (minor < 3 || (minor == 3 && 
patch < 11))) || (vendor == "-kolab-nocaps") ) {
       ksDebug << k_funcinfo << "Enabling compat mode for Cyrus < 
2.3.11 or Cyrus marked as \"kolab-nocaps\"" << endl;
       return true;
     }

I hope that someone will lead this to the right person.

Kindly

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sieve-tls.dif
Type: text/x-diff
Size: 687 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdepim-users/attachments/20081023/cea82c86/attachment.diff>
-------------- next part --------------
_______________________________________________
KDE PIM users mailing list
kdepim-users at kde.org
https://mail.kde.org/mailman/listinfo/kdepim-users


More information about the kdepim-users mailing list