Changeset 23:adc5b22efd7e in mailjam for bin


Ignore:
Timestamp:
May 22, 2012, 7:31:12 PM (13 years ago)
Author:
Borja Lopez <borja@…>
Branch:
default
Phase:
public
Message:

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.

Location:
bin
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • bin/mailjam-mta

    r21 r23  
    33# Run the Mailjam MTA client
    44
    5 import argparse, sys
     5import argparse
    66from mailjam.mta import MTAClient
    77
Note: See TracChangeset for help on using the changeset viewer.