Editing rules with sxaa

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

madaleno

Editing rules with sxaa

Postby madaleno » Wed Sep 05, 2007 1:12 pm

Hi,

I have som eusers using the same rule #508.

sxaa, gives this result:
    sxaa --user my_user
    OOF FLT OLK AANO ACTION TITLE STATE
    --- --- --- ---- ---------- ------------------------------ --------
    Y 501 REPLY Scalix OOF auto-reply disabled
    508 FORWARD admin enabled

How can I add another user to the same rule?
How can I edit/see this rule?

Thanks.

btisdall
Scalix Star
Scalix Star
Posts: 373
Joined: Tue Nov 22, 2005 12:13 pm
Contact:

Postby btisdall » Wed Sep 05, 2007 4:55 pm

AFAIK there's no programatic way to apply one user's rule to another (if I understand your question correclty).

Code: Select all

sxaa --user <user> --info <reference>


Gives you detail on the rule, where reference is the AutoAction number, eg 508.

Of course you can script sxaa, eg to set a rule for all users you could do something like:

Code: Select all

omshowu -m all | awk -F' /' '{print $1}' | while read user; do sxaa [params...]; done
Ben Tisdall
www.redcircleit.com
London


Return to “Scalix Server”



Who is online

Users browsing this forum: Google [Bot] and 5 guests