- addition of backend converter utility - dump utility darcs-hash:20060130220742-86b55-0cba39429e4251ff9cce34a1dcd9df4515b973f1.gz
51 lines
1.3 KiB
Plaintext
51 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 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 :
|
|
- backend_converter.py convert from one storage type to another.
|
|
|
|
$ python utils/backend_converter.py
|
|
|
|
give you the list of supported types.
|
|
example of usage :
|
|
|
|
$ python utils/backend_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.
|
|
|
|
- backend_dump.py dump a db file. example :
|
|
|
|
$ python utils/backend_dump.py DBM registered.db
|
|
|
|
|
|
|
|
|