siesh - interactive sieve shell
siesh --debug --user USER --host SERVER --tls {require|auto|off} --port PORT --password PASSWORD --command COMMAND --file FILE --config FILE --help --man
Siesh provides a shell-like interface for manipulating sieve scripts using the ManageSieve protocol.
The documentation for App::Siesh provides more details on how to use this probram interactively.
Enable debugging.
Specifies the username to use when logging into the sieve server. This option defaults to the value of the environment variable USER.
USER
Specifies the machine to connect to. Defaults to imap.
imap
Specifies the remote port to connect to. Defaults to 2000.
2000
Specifies whether TLS is required ("require"), optional ("auto"), or disabled ("off"). Defaults to "auto".
Specifies the password to login.
The commands in FILE are executed as they were entered on the shell prompt. This options is ignored when batch commands are provided on STDIN.
COMMAND is a acceptable command as entered on the shell prompt. This option maybe provided more than once. It it ignored if batch commands are passed in via --file or STDIN.
If specified, configuration options are read from this file instead of that returned by Config::Find.
Print a brief help message and exits.
Prints the manual page and exits.
When siesh is invoked, it first reads configurations variables from /etc/siesh.conf or ~/.siesh.conf (or whatever Config::Find returns) if one of these files exist. The file is structured as a set of lines with name and values seperated by an equal sign.
user = mario host = sieve.example.com port = 2000 tls = require debug = 1 password = secret
Currently only these six options are recognized. Values are overriden by options specified on the command line.
App::Siesh, Net::ManageSieve::Siesh, Net::ManageSieve
Copyright 2008 Mario Domgoergen, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install App::Siesh, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Siesh
CPAN shell
perl -MCPAN -e shell install App::Siesh
For more information on module installation, please visit the detailed CPAN module installation guide.