sieveshell utility allows users to manipulate their scripts on a remote server. Placing a script and activating it on the server also compiles the script to bytecode for faster execution.
Sieveshell works via MANAGESIEVE, a work in progress.
sieveshell [--user=user] [--authname=authname] [--realm=realm] [--exec=script] server[:port] sieveshell --help
The authorization name to request; by default, derived from the authentication credentials.
The user to use for authentication (defaults to current user).
The realm to attempt authentication in.
Instead of working interactively, run commands from script, and exit when done.
List scripts on server.
Uploads <filename> script to server.
> put <filename>
Fetches a script from the server. If no <filename> is provided, display script contents to stdout.
> get <name> [<filename>]
Deletes a script from the server.
> delete <name>
Activates the script on the server.
> activate <name>
deactivate deactivate all scripts.