6.0.0-beta1
7/5/25

[#6337] Sieve putscript rejects script of zero length
Summary Sieve putscript rejects script of zero length
Queue Ingo
Queue Version 1.1.5
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester skhorde (at) smail (dot) inf (dot) fh-bonn-rhein
Created 02/28/2008 (6337 days ago)
Due
Updated 02/29/2008 (6336 days ago)
Assigned 02/28/2008 (6337 days ago)
Resolved 02/29/2008 (6336 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/29/2008 01:45:06 PM Jan Schneider State ⇒ Resolved
 
02/29/2008 01:36:57 PM skhorde (at) smail (dot) inf (dot) fh-bonn-rhein-sieg (dot) de Comment #4 Reply to this comment
I had to adopt the patch for



$Horde: ingo/lib/Driver/timsieved.php,v 1.15.10.7 2006/10/09 15:52:52 
jan Exp $



part of Webmail v1.0.5, but the idea works. Thanks


02/28/2008 10:04:34 AM Jan Schneider Assigned to Jan Schneider
State ⇒ Feedback
 
02/28/2008 09:04:31 AM skhorde (at) smail (dot) inf (dot) fh-bonn-rhein Comment #2 Reply to this comment
PS: I'm using the ManageSieve path to Dovecot 1.0.10 and the timesieve 
driver in Ingo.
02/28/2008 09:02:44 AM skhorde (at) smail (dot) inf (dot) fh-bonn-rhein Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Sieve putscript rejects script of zero length
Queue ⇒ Ingo
State ⇒ Unconfirmed
Reply to this comment
Using the "Deactivate Script" button on Ingo's "Script" page results in an



"PUTSCRIPT aborted (no message data)." error.



Ingo sends this command:



PUTSCRIPT "horde-ingo" {0+}



http://tools.ietf.org/html/draft-martin-managesieve-08#section-2.6



says:



A script of zero length SHOULD be disallowed.



http://tools.ietf.org/html/draft-martin-managesieve-08#section-2.8



     Arguments:

          String - script name



     This command sets a script active. If the script name is the empty

     string (i.e. "") then any active script is disabled.




Saved Queries