[PATCH] Allow the admin to define a global sieve script that is execute before user-defined scripts

Dilyan Palauzov Dilyan.Palauzov at aegee.org
Sun Dec 17 09:08:40 EST 2006


   Hello Ken,

   To my knowledge cyrus sieve does not implement  
http://tools.ietf.org/html/draft-daboo-sieve-include and moreover  
making a global include in the start of the user's sieve script, does  
not mean that the users cannot remove it. Acutally they can, if they  
can edit the script.

   But I am not aware of the MB annotations and who can edit them.

   Greetings,
      Дилян


>> I've developed a patch that extends the "/vendor/cmu/cyrus-imapd/sieve"
>> mailbox annotation to be meaningful for a user's inbox
>> in addition to shared mailboxes.
>> For a user's inbox, the sieve-annotation specifies the name of a global
>> sieve script that is executed when new mail is delivery to that user
>> _before_ his private sieve-default-script is executed.
>
> Why not just use the Sieve 'Include' extension to include your global
> script at the top of the user's private script?



More information about the Cyrus-devel mailing list