Page 1 of 1

rules for all users

Posted: Wed Jan 17, 2007 8:10 am
by eproducts
Right now i defined rules like this:

sxaa --user "USERNAME1" --file Inbox_USER1 --header "Example Headline"
sxaa --user "USERNAME2" --file Inbox_USER1 --header "Example Headline"

for every user 1 rule.

Isn't it possible to define a rule for all SCALIX users in 1 line like:
sxaa --user "ALL USER IN SCALIX" --file Inbox_USER1 --header "Example Headline"

or with another command instead of sxaa

Thanks
Thorsten

Posted: Wed Jan 17, 2007 8:50 am
by ScalixSupport
Hi Thorsten!

No, this is not possible, using any command, however you can try creating a script for
the same. Command "omshowu -m all" would give you all users.

I tried this:

Code: Select all

omshowu -m all > ./all_users.txt

then,

Code: Select all

cat all_users.txt | cut -d '/' -f 1

gives the list of all user's name.

Thanks,
Subir