XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum -> A Simple Ctrlclnt Command?

Reply to this topicStart new topicStart Poll

> A Simple Ctrlclnt Command?, How can I test a new instalation?
mprowe
Posted: Nov 26 2009, 11:41 AM
Quote Post


Newbie
*

Group: Members
Posts: 4
Member No.: 3521
Joined: 20-November 09



Hi all,

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?

Regards, Martin
PMEmail Poster
Top
BooT
Posted: Feb 9 2010, 06:18 AM
Quote Post


Guru
**********

Group: Members
Posts: 747
Member No.: 375
Joined: 29-November 02



Hi

I spose this is on Linux OS?

On windows the easiest is to install xmail admin and the Que Manager.

Then you can see if xmail is running with QueManager ,and with Xmail Admin 0.26 you can add/remove domains and users.

Just my 5 Cents worth..

Thanx

BooT



--------------------
________________________________________________________________________________

--= Running XMail Server 1.22 on Windows 2003 Virtual Server Since 16 August 2006 =--
[--- Ran Xmail on 2000 Server till Aug 2006 ---]
[--- 1.21 From 21 June 2005 till 15 Jan 2006---]
[--- 1.20 From 20 July 2004 till 21 June 2005---]
[--- 1.17 From 20 October 2003 till 20 July 2004---]
PMEmail Poster
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | XMail Server | Next Newest »

Reply to this topicStart new topicStart Poll