53 lines
1.3 KiB
Plaintext
53 lines
1.3 KiB
Plaintext
Installation :
|
|
|
|
- Get pyxmpp from http://pyxmpp.jabberstudio.org/ (version 1.0)
|
|
|
|
- edit jmc.xml to match jabber server configuration :
|
|
- for jabberd2, port must match router.xml port
|
|
- for ejabberd, add new listening port :
|
|
{5347, ejabberd_service, [{access, all},
|
|
{host, "jmc.localhost",
|
|
[{password, "secret"}]}]}
|
|
|
|
- then run (in src directory):
|
|
$ python jmc.py -c jmc.xml (-D to get debug)
|
|
|
|
Usage :
|
|
|
|
- Now you can register new mail server connection with your favorite
|
|
jabber client.
|
|
- all connection are then listed under your service browser and you
|
|
can edit mail server parameters by registering on listed connection.
|
|
|
|
Feedback :
|
|
|
|
Send me feedback and comments to dax at happycoders dot org
|
|
|
|
Utils (in src/utils directory) :
|
|
- jmc_converter.py convert from one storage type to another.
|
|
|
|
$ python jmc_converter.py
|
|
|
|
-> give you the list of supported types.
|
|
|
|
Example of usage :
|
|
|
|
$ python jmc_converter.py \
|
|
DBM \
|
|
registered.db \
|
|
SQLite \
|
|
registered.sqlite
|
|
|
|
-> converts a DBM file (registered.db) to a SQLite file
|
|
(registered.sqlite). Once converted, the new file copied in
|
|
${spool_dir}/${service}/registered.db where ${spool_dir} and
|
|
${service} are defined in jmc.xml configuration file.
|
|
|
|
- jmc_dump.py dump a db file. example :
|
|
|
|
$ python jmc_dump.py DBM registered.db
|
|
|
|
|
|
|
|
|