Get list of users on mailnode for script

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

mephisto

Get list of users on mailnode for script

Postby mephisto » Wed Mar 15, 2006 4:57 pm

Hi,

could someone please provide me with a command that gives me a list of all users (not ressources), preferably just the login names?

Thanks,

Mephisto

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Mar 15, 2006 5:06 pm

There isn't anything in omshowu to do this but omsearch will help.

You could try

Code: Select all

omsearch -e ' ! RESOURCE-TYPE=1' -s -m CN


Cheers

Dave

mephisto

Postby mephisto » Wed Mar 15, 2006 6:35 pm

Thanks for the hint Dave. Now I have what I need:

Code: Select all

omsearch -e ' ! RESOURCE-TYPE=1' -s -m UL-AUTHID|awk -F "=" '{ print $2 }'

BykFam

Postby BykFam » Tue Mar 21, 2006 10:42 am

Hello-
This topic is similar to what I need, I am looking for a command to show a list of users and their mailbox size. I won't be mad if someone can help me build the command, but is there something I can read to help me figure such things out? Thanks for the help.
-Rich

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue Mar 21, 2006 10:53 am

Hi,

please man omscan or man sxdu

This is what you need.

Cheers,

Sascha.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue Mar 21, 2006 1:01 pm

Also, SAC gives you a list.

If you select the "Server Info" icon from the top tool bar, highlight the server name when the list displays and then select the "Storage" tab in the right-hand window, you will see the current status of the Scalix message store.

Cheers

Dave

BykFam

Postby BykFam » Tue Mar 21, 2006 1:32 pm

Those were both great, thanks much!


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 15 guests