NAME
siesh - interactive sieve shell
SYNOPSIS
siesh
--debug
--user USER
--host SERVER
--tls {require|auto|off}
--port PORT
--password PASSWORD
--command COMMAND
--file FILE
--config FILE
--help
--man
DESCRIPTION
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.
OPTIONS
- --debug|-d
-
Enable debugging.
- --user|-u USERNAME
-
Specifies the username to use when logging into the sieve server. This option defaults to the value of the environment variable
USER
. - --host|-h HOST
-
Specifies the machine to connect to. Defaults to
imap
. - --port|-p PORT
-
Specifies the remote port to connect to. Defaults to
2000
. - --tls|-t {require|auto|off}
-
Specifies whether TLS is required ("require"), optional ("auto"), or disabled ("off"). Defaults to "auto".
- --password PASSWORD
-
Specifies the password to login.
- --file FILE
-
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 COMMAND
-
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.
- --config FILE
-
If specified, configuration options are read from this file instead of that returned by Config::Find.
- --help
-
Print a brief help message and exits.
- --man
-
Prints the manual page and exits.
CONFIGURATION FILE
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.
SEE ALSO
App::Siesh, Net::ManageSieve::Siesh, Net::ManageSieve
COPYRIGHT & LICENSE
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.