sieveshell

The 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.

Synopsis

sieveshell [--user=user] [--authname=authname] [--realm=realm] [--exec=script] server[:port]

sieveshell --help

Command-Line Options

-u, --user <user>

The authorization name to request; by default, derived from the authentication credentials.

-a, --authname=<authname>

The user to use for authentication (defaults to current user).

-r, --realm=<realm>

The realm to attempt authentication in.

-e, --exec=<script>

Instead of working interactively, run commands from script, and exit when done.

list

List scripts on server.

> list

put

Uploads <filename> script to server.

> put <filename>

get

Fetches a script from the server. If no <filename> is provided, display script contents to stdout.

> get <name> [<filename>]

delete

Deletes a script from the server.

> delete <name>

activate

Activates the script on the server.

> activate <name>

deactivate

deactivate deactivate all scripts.

> deactivate