Bug 155223 - sieve script is truncated
Summary: sieve script is truncated
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: IMAP (show other bugs)
Version: 1.9.7
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-07 14:46 UTC by Brian DeRocher
Modified: 2008-03-06 19:03 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian DeRocher 2008-01-07 14:46:34 UTC
Version:           1.9.7 (using KDE KDE 3.5.8)
Installed from:    Debian testing/unstable Packages

I uploaded a sieve script to the imap server months ago.  Today when i go to edit it, most of it is missing.

require "fileinto";

if header :contains "Reply-To" "xyz@topica.com"
        {
        fileinto "INBOX.Lists.xyz";
        }
elsif header :contain

With sieveshell i can see all of it.
two:/var/spool/sieve/domain/d/derocher.org/b/brian# sieveshell -u brian@derocher.org -a brian@derocher.org derocher.org
connecting to derocher.org
Please enter your password:
> list
Divvy  <- active script
> get Divvy
Entire 45 line script is there.

I can copy that script back into the Edit Sieve Script window and it uploads successfully.  I can modify the script too.  The script is always cut off at 164 characters.

I can't find anything in ~/.kde related to sieve scripts.  Also i checked to see if debian modifies kdepim with regard to sieve, but it doesn't.
Comment 1 Andreas Ntaflos 2008-02-29 19:33:18 UTC
I seem to experience a similar problem when loading an existing sieve script in KMail, although my script is not truncated at 164 characters, but at 31 lines. The  whole script is 233 lines.

Using the sieve kioslave (sieve://pseudoterminal.org/.dovecot.sieve) I can download and edit the script in kwrite, but there I also only get 31 lines. The script seems untouched on the server, so the truncation doesn't affect the actual script, just the downloaded copy.

This is on Kubuntu 7.10 with KDE 3.5.9 (and the "Enterprise branch" for kde-pim), installed from the Kubuntu repositories. The server is running Dovecot 1.0.10 with the MANAGESIEVE patch (although this certainly doesn't look like a server issue).

I'm not sure what other information I can provide, but if there's anything else I please let me know.
Comment 2 Martin Fahrendorf 2008-03-05 21:53:45 UTC
I can confirm this problem with kde 3.5.9 on fedora 8 updated on 2008-03-04. At kmail start I get a status message which says: connection with mail will be established (translated from german) but nothing happens. the sieve script is not editable (neither from kmail nor from konqueror). I don't get any character.

cyrus imap 2.3.7
kerberos authentication
ssl encryption

With previous version of kdepim on fedora (3.5.8) there was no problem. sieveshell is also working.
Comment 3 Volker Krause 2008-03-06 19:03:22 UTC
Fixed in revision 782973 in 3.5 branch.