editing sieve scripts via command line
vladislav.kurz at webstep.net
Mon Sep 7 05:17:41 EDT 2015
On Monday 07 of September 2015 Sunny <ssn at ebi.ac.uk> wrote:
> I would like to implement a script that sysadmin's can run to edit a
> users sieve script i.e. set out office or forward mail.
> If the sieve script gets edited via command line (i.e. using vi) the
> changes are not seen in GUI and the changes doesn't take effect so I'm
> wondering if there is some other process that needs to run to inform
> cyrus the sieve script has been updated and to reload?
You need to compile the sieve script to a bytecode (*.bc):
Syntax: /usr/lib/cyrus/bin/sievec [-C <altconfig>] <filename> <outputfile>
More information about the Info-cyrus