Page 1 of 1

How to delete scalix rules via cmd

Posted: Fri Feb 01, 2019 7:27 am
by paavonaak
Hello Everyone,

Can anybody knows how to delete scalix rules via cmd which created in webmail ?

Thanks a lot !

Paavo Naak

Re: How to delete scalix rules via cmd

Posted: Fri Feb 01, 2019 7:29 am
by ScalixSupport
Hello,

You can use "sxaa" command, sxaa can manipulate rules from the command line. for more information please see command manual

You can do the follwoing:

To list the current rules for user "OL19 Test1"
[root@sx1280 ~]# sxaa --user "OL19 Test1"
OOF FLT OLK AANO ACTION TITLE STATE
--- --- --- ---- ---------- ------------------------------ --------
Y Y 1000 FILE Scalix Rule: SWA Mail Mobe enabled
Y 1001 FORWARD imaptest1 forward to astest1 enabled


To delete a rule, use, for example :
[root@sx1280 ~]# sxaa --user "OL19 Test1" --remove 1000
[root@sx1280 ~]# sxaa --user "OL19 Test1" --remove 1001

[root@sx1280 ~]# sxaa --user "OL19 Test1"
OOF FLT OLK AANO ACTION TITLE STATE
--- --- --- ---- ---------- ------------------------------ --------