After some consideration I think I agree.  Hopefully the number of people
using custom Sieve scripts is very small. 
  
 When someone uses the rules-based filter available in WebCit, here's what's
actually happening: 
  
 1. The rules are converted to a Sieve script 
 2. The rules are then encoded into comments attached to the Sieve script

 3. When someone edits their rules again, it reads the encoded rules in the
comments, not the script.  This saved us from having to write a reverse-parser.

  
 This means that during an upgrade we can just throw away the generated scripts,
turn the comments into the "real" rules, and now the majority of the users
who didn't even know about Sieve will still have their rules intact and working.

  
 Thoughts? 
 

Reply via email to