Adding rules via the command line

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

Sneeper
Posts: 28
Joined: Fri Sep 23, 2005 6:35 pm
Location: San Francisco

Adding rules via the command line

Postby Sneeper » Wed Feb 15, 2006 8:31 pm

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.

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

Postby ScalixSupport » Wed Feb 15, 2006 8:35 pm

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

Sneeper
Posts: 28
Joined: Fri Sep 23, 2005 6:35 pm
Location: San Francisco

Postby Sneeper » Wed Feb 15, 2006 9:07 pm

Thanks. This sxaa tool is handy. It should be a standard tool installed.. also need a nice man page.

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

Postby ScalixSupport » Wed Feb 15, 2006 9:21 pm

That's nice to hear seeing as I wrote it ;-)

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

Cheers

Dave

Sneeper
Posts: 28
Joined: Fri Sep 23, 2005 6:35 pm
Location: San Francisco

Postby Sneeper » Wed Feb 15, 2006 9:41 pm

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


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 10 guests

cron