Page 1 of 1

Adding rules via the command line

Posted: Wed Feb 15, 2006 8:31 pm
by Sneeper
Is there some way to add a rule to everyone's account without using the rules wizard? Specifically, if a message has a particular spam header, it should be filed to their Spam folder. It'd be nice to add this to people's accounts as we create them automatically.

Posted: Wed Feb 15, 2006 8:35 pm
by ScalixSupport
Please take a look at sxaa in the admin_resource_kit/ directory of the install media.

Make sure you have the Scalix 10 version as this allows for spam-specific rules to be added.

Cheers

Dave

Posted: Wed Feb 15, 2006 9:07 pm
by Sneeper
Thanks. This sxaa tool is handy. It should be a standard tool installed.. also need a nice man page.

Posted: Wed Feb 15, 2006 9:21 pm
by ScalixSupport
That's nice to hear seeing as I wrote it ;-)

Seriously, any feedback you have on using it would be gratefully received.

Cheers

Dave

Posted: Wed Feb 15, 2006 9:41 pm
by Sneeper
ScalixSupport wrote:That's nice to hear seeing as I wrote it ;-)

Seriously, any feedback you have on using it would be gratefully received.

Cheers

Dave


oh well since you asked...

Having a flag to name the rule would be nice. like --title "Spam Rule" or something.

Cheers!

--Andy