Pipe the output to wc:
../CtrlClnt -s 127.0.0.1 -u postmaster -p secret userlist your_domain.com
|wc -l

There is a version of wc for windows (use google and search for unix
tools on windows)

Hth,

Paul


-----Original Message-----
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]] On Behalf Of Edinilson J. Santos
Sent: Wednesday, 14 August, 2002 00:18
To: [EMAIL PROTECTED]
Subject: [xmail] Ctrlclnt commands



Is there a command (in ctrlclnt) that simply return the number 
of accounts
or lists in a domain?
Something like:
ctrlclnt -s SERVER_IP -u USER -p PASS usersum DOMAIN

Thank you

Edinilson
---------------------------------------------------------
ATINET-Afiliado UOL de Atibaia
Rua Francisco R. Santos, 54 sala 3
ATIBAIA/SP Cep: 12940-250
Tel Voz: (0xx11) 4412-0876
http://www.atinet.com.br



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 02/08/2002

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to