[Top] [All Lists]

[managesieve] setactive "" semantics questions

2003-02-04 07:24:50

from draft-martin-managesieve-04:
2.8.  SETACTIVE Command
    This command sets a script active. If the script name is the empty
    string (i.e. "") then any active script is disabled. If the script
    does not exist on the server then the server MUST reply with a NO

What does that mean for
  setactive ""
when no script is active? Should it fail or succeed? (The latter would 
be a PITA for client implementors, since I need to LISTSCRIPTS before 
any SETACTIVE "").

Do I need to issue
 setactive ""
  setactive "foo"
  setactive "bar"
or will the second command implicitely set "foo" to inactive?


They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.      -- Benjamin Franklin

Attachment: pgpmktvnYWqpZ.pgp
Description: signature

<Prev in Thread] Current Thread [Next in Thread>