listing authenication IDs

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

dotbill
Posts: 29
Joined: Fri Jun 30, 2006 1:51 pm

listing authenication IDs

Postby dotbill » Mon Jul 31, 2006 12:38 pm

Is there a way to list all authentication IDs in the system via command line? Similarly, omshowu shows the user full name. I need to be able to run some sxaa rules on all users and need an automated way to generate the auth id list and pipe into script....

Thanks

-Bill
</b>

dkelly
Scalix
Scalix
Posts: 593
Joined: Thu Mar 18, 2004 2:03 pm

Postby dkelly » Mon Jul 31, 2006 12:48 pm


dotbill
Posts: 29
Joined: Fri Jun 30, 2006 1:51 pm

Postby dotbill » Mon Jul 31, 2006 1:40 pm

Great. So the while do shows a listing of rules. Could do this to create a rule?:

omshowu -m all | while read username
do
sxaa --user "$username" ..... --file "Junk E-mail" --header "X-Spam-Level:***" --header "X-Spam-Status: Yes" --header "X-Spam-Flag: Yes" --title "Anti-Spam Rule"
done


-bill
</b>


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest