Page 1 of 1

Any way to get the entire user list?

Posted: Mon Jul 16, 2012 1:47 pm
by xalfeiran
Hi to everyone!

I've been asked to deliver a list of users of my scalix mail server, in a human readable way (like Fullname, mail address) like in Excel or something.
i'm trying with omshowu -m all -I but displays a lot of characters that are not easy to clean to export the excel worksheet. Is there any other way to do this?

thanks!!

Running Centos 5.2
Scalix Community Ed.

Re: Any way to get the entire user list?

Posted: Tue Jul 17, 2012 5:33 am
by William

Code: Select all

/opt/scalix/bin/omshowu -m all -I | cut --delimiter='>' -f1 | sed 's/\/.*</\t/g' | sed "s/_/ /"

Re: Any way to get the entire user list?

Posted: Tue Jul 17, 2012 9:31 am
by mikethebike
omsearch -d userlist -t h -e s=* |omfmtent -x

you may want other attributes...in which case

omsearch -d userlist -t h -m s/g/ia

Mick