I'm reposting this message because apparently attachments do not make it through the list server. Instead you can download the jar file from


http://swt.dk/download/jaa.jar
(Please use the full link and save the file to your file system)

../jaj


tobe wrote:


For configuring users and virtual hosting you could access the database, if you have one set up for James.

Alternatively you could use a socket to connect to the remote manager port.



I have written a telnet client that connects to the Remote Manager, and I'm currently writing a Swing interface for this. It is not finished yet but this thread has prompted me to release a demo (the attached jaa.jar). No source code, though, until I have finished the GUI. If you like it, I will then release it under the ASL. In a matter of a couple of weeks, maybe...


You run the jar file this way:

- Ensure that you have James 2.2.0a12 or -a13 running on localhost
- Ensure that the Remote Manager is listening on port 4555
- Invoke the program by typing 'java -jar jaa.jar' on you favorite command line.


The java files were compiled with Sun's JDK 1.4.2. The testing was done against a James 2.2.0a12 but -a13 should work as well whereas 2.1.3 will not show aliases and forwarding destinations (my telnet client is - of course - extremely dependent on the text strings that the Remote Manager sends).

As others have remarked, this is *not* the way James should be administered. We need an API and we need JMX. But for now the Remote Manager (TTT - The Telnet Thing) is all we have, and I need a somewhat more managable user interface than the bare command line for my customers and for my teaching.

TTT is far from secure . This is why the program currently is hard coded against localhost:4555.

Again, it's not finished, major functionality is missing. At any rate please let me know what you think.

Regards,
../jaj




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to