How to delete scalix rules via cmd

Discuss the Scalix web client
paavonaak
Posts: 22
Joined: Mon Apr 27, 2015 4:02 am

How to delete scalix rules via cmd

Postby paavonaak » Fri Feb 01, 2019 7:27 am

Hello Everyone,

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

Thanks a lot !

Paavo Naak

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Re: How to delete scalix rules via cmd

Postby ScalixSupport » Fri Feb 01, 2019 7:29 am

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
--- --- --- ---- ---------- ------------------------------ --------
Regards,
Scalix Support Team


Return to “Scalix Web Access”



Who is online

Users browsing this forum: No registered users and 3 guests

cron