Version: 4.7 (using KDE 4.7.3) OS: Linux Sieve filters on my imap server are not listed in kmail2. If I use dolphin my sieve filters are listed. (konqueror failed to handle sieve protocol by the way) I use cyrus imap/sieve Version 2.3.7. Reproducible: Always Steps to Reproduce: open manage sieve scripts dialog from within kmail2 Actual Results: can not fetch sieve script list Expected Results: list of sieve scripts TLS is enabled. kmail1 had no such problems. Authentication is done via kerberos. According to my sieve log the connection was established and ended without an error but there was no user logged in. If I use dolphin I can see the line where sieve said that user is logged in.
still valid in 4.8.2 ?
Am Montag, 16. April 2012, 07:14:21 schrieben Sie: > https://bugs.kde.org/show_bug.cgi?id=290396 > > Laurent Montel <montel@kde.org> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |montel@kde.org > > --- Comment #1 from Laurent Montel <montel@kde.org> --- > still valid in 4.8.2 ? Yes, this is still valid vor 4.8.2. The sieve server is listed, but no script (there is one). Konqueror still says that it is not possible to access files with this protocol and dolphin simply shows the sieve script file (same is true for file open dialogue in kwrite).
It has to do with kerberos GSSAPI authentication. If I switch to plain text auth sieve is working as expected.
I can confirm the issue even with kmail-4.8.4 (opensuse KDE 48 Release repo) In strace i see - kmail connect to sieve server - kmail negotiate TLS with sieve server - kmail access my kerberos ticket cache -> the ticket is there (see below) - kmail send something to sieve - kmail get something back - kmail logs this error Jul 15 15:55:52 speedy kmail: GSSAPI Error: Invalid token was supplied (Unknown error) However connection to sieve via "sieveshell" with kerberos works perfectly, so it is not a kerberos issue. Must be kmail related .. user@speedy:~> sieveshell manitou.xxxxx.net connecting to manitou.xxxxx.net > list mysieve <- active script > quit user@speedy:~> Btw. connection to imap with kerberos (cyrus which also is used as sieve server) works with kmail connection to smtp with kerberos works with kmail Only a guess, but maybe kmail uses the imap ticket and not the sieve ticket ? Please let me know if i can help with logs or something.
Created attachment 72638 [details] Fix Base64 decoding for SASL in libksieve This patch will fix the issue. The received challenge string is sent without Base64 decoding to SASL library, which is wrong.
Ok this patch seems good. I will apply it in 4.8.5 I don't know SASL but I looked at other apps which uses SASL and it uses same code as your patch. So for me it's ok. I can't test but you tested it. So for me it's enough. Thanks for the patch! Regards
Git commit 0ddf2586eff85329120069765f0d6678cc0d1afd by Allen Winter. Committed on 20/07/2012 at 12:44. Pushed by winterz into branch 'master'. fix sieve filters are not listed Thanks for the patch Paul! FIXED-IN: 4.8.5 MERGE: 4.8,4.9 M +7 -1 libksieve/kmanagesieve/session.cpp http://commits.kde.org/kdepim/0ddf2586eff85329120069765f0d6678cc0d1afd
Git commit e435bfb2b43be20f4e7f52222fcb6af36fb37b61 by Allen Winter. Committed on 20/07/2012 at 12:44. Pushed by winterz into branch 'KDE/4.8'. fix sieve filters are not listed Thanks for the patch Paul! FIXED-IN: 4.8.5 MERGE: 4.8,4.9 (cherry picked from commit 0ddf2586eff85329120069765f0d6678cc0d1afd) M +7 -1 libksieve/kmanagesieve/session.cpp http://commits.kde.org/kdepim/e435bfb2b43be20f4e7f52222fcb6af36fb37b61
Git commit 4ac6c1d138b656bc0e907b41e0b51dbb79866018 by Allen Winter. Committed on 20/07/2012 at 12:44. Pushed by winterz into branch 'KDE/4.9'. fix sieve filters are not listed Thanks for the patch Paul! FIXED-IN: 4.8.5 MERGE: 4.8,4.9 (cherry picked from commit 0ddf2586eff85329120069765f0d6678cc0d1afd) M +7 -1 libksieve/kmanagesieve/session.cpp http://commits.kde.org/kdepim/4ac6c1d138b656bc0e907b41e0b51dbb79866018
I still can not edit my sieve scripts in kmail when using kerberos for authentication. I've tried it with KDE 4.8.5 and KDE 4.9.1. I use dovecot on the serverside. When i open the sieve dialog in kmail, kmail fails to connect to the server. Dovcot prints out the following message: Info: gssapi(me@MY.REALM,192.168.X.Y): While final negotiation: gss_unwrap: Invalid token was supplied
Did you try erasing the configuration files?
I've deleted all akonadi related config files i could find a and re created the imap/sieve account after i've upgraded to 4.8.5. I've also tried this in KDE 4.9.1 which i started from a kubuntu live ISO in Virtual Box. The error message dovecot produces is exactly the same (and the result in kmail "Die Liste der Skripte kann nicht abgeholt werden.", i would translate it with: "the list of scripts could not be retrived", too).
Thank you for the fast feedback, reopening based on that information.
Am 06.10.2012 16:21, schrieb Myriam Schweingruber: > https://bugs.kde.org/show_bug.cgi?id=290396 > > Myriam Schweingruber <myriam@kde.org> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Status|RESOLVED |REOPENED > Version|4.7 |4.9.1 > Resolution|WAITINGFORINFO |--- > Ever confirmed|0 |1 > > --- Comment #13 from Myriam Schweingruber <myriam@kde.org> --- > Thank you for the fast feedback, reopening based on that information. > At least for me with kmail/akonadi from KDE 4.9.2 it is solved (with cyrus imap and sieve).
I can't confirm that it is working with KDE 4.9.2. Just updated to opensuse (12.2) KDE 4.9 repository (kdepim4-4.9.2-356.1.x86_64) and the whole GSSAPI stack looks like to be broken. I even can't get mails from my cyrus-imap server. Had to switch to non kerberos authentication to get mail working at all :(
Still doesn't work ? " I even can't get mails from my cyrus-imap server" it's an other problem
For me it is working now from kmail2.
OK, forgot to mention my version: kmail2 from standard fedora 18 (4.10.3).
ok I close it