source: mailjam/conf/mailjam-cli.conf@ 24:dc78a59d357e

Last change on this file since 24:dc78a59d357e was 23:adc5b22efd7e, checked in by Borja Lopez <borja@…>, 13 years ago

Added the first version of the CLI client, which implements a shell-like
interface where users can interact with a mailjam server.

This first versions adds no "big" features, but contains the basis to build
a complete shell interface (including history saving support, completion,
help for commands, etc)

Added a custom configuration file (conf/mailjam-cli.conf) for the CLI
client.

Added a new mailjam.config class (CLIClientConfig) that is used by the CLI
client to load its configuration file.

Updated the package information (setup.py, MANIFEST) to include the CLI
client data.

Modified the behaviour of the XMLRPC methods registered in the *XMLRPC classes
within the daemon module. Now instead of raising exceptions directly, they
catch such exceptions, returning only a string representation of the error
to the XMLRPC client. If there is no error, a nice "ok" message is returned.

File size: 427 bytes
RevLine 
[23]1#
2# mailjam-cli.conf - Mailjam CLI client configuration file
3#
4
5[server]
6address = localhost
7port = 9876
8uri = http://%(address)s:%(port)s
9ssl = false
10# FIXME: This parameter here is a nonsense, but right now we have to pass
11# it as an argument when adding mailing lists (BUG!)
12configfile = etc/mailjam.conf
13
14[archive]
15enabled = true
16path = /usr/local/mailjam/archive-cli
17
18[history]
19enabled = true
20path = ~/.mailjam/cli/history
Note: See TracBrowser for help on using the repository browser.