Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 305211 - KMail refuses to edit sieve scripts
Summary: KMail refuses to edit sieve scripts
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-15 10:07 UTC by Martin Regner
Modified: 2010-02-24 09:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
svn diff -r1092920:1092921 svn://anonsvn.kde.org/home/kde/branches/KDE/4.4 (kdepimlibs-4.4.0-sieve.patch,863 bytes, patch)
2010-02-23 22:19 UTC, Andreas K. Hüttel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Regner 2010-02-15 10:07:39 UTC
The is an inconvenience i kdepimlibs which causes cyrus 2.3.x to cut the connection when trying to edit Sieve scripts. The Problem occurs only in kde 4. 

The problem is that the sieve kio_slave sends the STARTTLS command even if the Server doesen't support it.

I created a bug report upstream (https://bugs.kde.org/show_bug.cgi?id=212951).
But i think they are pretty busy there so i discovered the problem and created a patch. Would be nice if someone check it and add it to portage if there is no problem with it.

The Patch is pretty simple. They have a bool variable there which contains if the Server supports STARTTLS or not but they don't use it.
Comment 1 Martin Regner 2010-02-15 10:12:21 UTC
Oh, sorry..

the patch and the ebuild could be downloaded here:

http://www.larkos.de/kdepimlibs-4.4.0-r1-overlay.tar.gz
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2010-02-23 22:19:25 UTC
Created attachment 220891 [details, diff]
svn diff -r1092920:1092921 svn://anonsvn.kde.org/home/kde/branches/KDE/4.4

This is the corresponding backported patch from upstream, pretty much identical. Looks like a trivial but effective bugfix, and applies cleanly to 4.4.0

SVN commit 1092921 by tmcguire:
Backport r1092916 by tmcguire from trunk to the 4.4 branch:
Don't send STARTTLS when it is not advertised, even if we requested it (but not
if m_allowUnencrypted is set to false).
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-02-24 09:39:12 UTC
Thanks. 

+*kdepimlibs-4.4.0-r1 (24 Feb 2010)
+
+  24 Feb 2010; Samuli Suominen <ssuominen@gentoo.org>
+  +kdepimlibs-4.4.0-r1.ebuild, +files/kdepimlibs-4.4.0-sieve.patch:
+  Apply patch from upstream trunk for Sieve script editing wrt #305211,
+  thanks to Martin Regner and Andreas K. Huettel.