create a server side rule

Discuss Scalix Management Services ( formerly Scalix Admin Console )

Moderator: ScalixSupport

markrich
Posts: 105
Joined: Wed May 13, 2009 10:54 am
Location: Bath
Contact:

create a server side rule

Postby markrich » Mon Jul 20, 2009 7:02 am

Is is possible for me to create a server-side rule on an account, on the server, for a user without logging into his/her account?
Is there a magic command line to allow me to do this?

I wish to create a rule to move any email with a certain tag in the headers to the junk folder.

Marky

markrich
Posts: 105
Joined: Wed May 13, 2009 10:54 am
Location: Bath
Contact:

Re: create a server side rule

Postby markrich » Mon Jul 20, 2009 7:22 am

Just tried this command on the sxadmin account and it seemed to work for me:

sxaa --user sxadmin --file "Junk" --header "X-Spam-Status: Yes" --title "Move the junk out of inbox"

Can anyone tell me if this would cause problems in any way? Have I done this correctly?

Marky

les
Scalix Star
Scalix Star
Posts: 819
Joined: Thu Feb 23, 2006 10:18 am
Location: Sydney, Australia

Re: create a server side rule

Postby les » Mon Jul 20, 2009 8:47 am

markrich wrote:Just tried this command on the sxadmin account and it seemed to work for me:

sxaa --user sxadmin --file "Junk" --header "X-Spam-Status: Yes" --title "Move the junk out of inbox"

Can anyone tell me if this would cause problems in any way? Have I done this correctly?

Marky


100% correct. No problems with this method. The folder will be created if it doesn't exist in the user account.
Regards,

Les Stott

markrich
Posts: 105
Joined: Wed May 13, 2009 10:54 am
Location: Bath
Contact:

Re: create a server side rule

Postby markrich » Mon Jul 20, 2009 9:19 am

Alas it does seem to create the rule, but does not create the folder. I was hoping to use the name "Junk E-mail" as the folder name as that's the name used by Outlook and it would save confusion with all accounts.

Any ideas why it doesn't?

markrich
Posts: 105
Joined: Wed May 13, 2009 10:54 am
Location: Bath
Contact:

Re: create a server side rule

Postby markrich » Mon Jul 20, 2009 9:38 am

Never mind. I can see it creates the folder not when the rule is made but when the first email arrives in the specified location.

Thanks for your help.

les
Scalix Star
Scalix Star
Posts: 819
Joined: Thu Feb 23, 2006 10:18 am
Location: Sydney, Australia

Re: create a server side rule

Postby les » Mon Jul 20, 2009 9:40 am

markrich wrote:Never mind. I can see it creates the folder not when the rule is made but when the first email arrives in the specified location.

Thanks for your help.


Yep, sorry, was thinking about that as i typed the reply and i would have mentioned but the thought never made it to the fingertips...... ;)
Regards,

Les Stott


Return to “Scalix Management Services”



Who is online

Users browsing this forum: No registered users and 2 guests