list active accounts ?
the command #su - zimbra -c 'zmprov -l gaa' will list all accounts active & locked
is there a command to list just active accounts ?
great weather in IRELAND! our first summer in YEARS Yellow weather alert issued as highs of 30 degrees forecast - Environmental News | The Irish Times - Thu, Jul 18, 2013
Originally Posted by padraig
This may work for you
su - zimbra -c 'zmaccts|grep active|grep @|cut -d" " -f1'
I just add my 2 cents, there is a little issue with `zmacts`, its output is limited to 36 characters for the account name, so I suggest to use the SearchAccount command of zmprov:
I hope this helps you.
zmprov -l sa "(zimbraAccountStatus=active)"
Originally Posted by federico.bertola