If I issue ./CtrlClnt -s server.dom.ain -u user -p password ... (where ... is the adduser command from the readme file example), I get a -152 error.Digging with strace -o I see that CtrlClnt is trying to connect to a server at the address server.dom.ain as (correctly - but not relevant to this test environment) resolved by my DNS service.

So, I replace -s server.dom.ain with -s localhost or -s w.x.y.z. Now I get "error -138 = Controller response error = unable to open file".

Question one: is the -s switch the address at which the xmail server is living, as viewed from the CtrlClnt point of view? All (precious little) examples that I have found have shown domain names.

Question two: Is there a "simple" CtrlClnt command that I can use to confirm communication? One that only displays settings?

Question three: Is there a list of error codes anywhere? What does -138 mean?