Page 1 of 1

Site Wide or Default rules

Posted: Thu Oct 04, 2007 11:45 am
by kcsc
I don't see away to do site wide rules, spam rules for instance. Am I missing something. If not and it has to be done on every user, is there a way to setup default rules that all new users get, i.e. x-spam-status: yes delivered to Junk

Me too

Posted: Fri Oct 05, 2007 3:59 pm
by dgomil
I would like to know this also

Posted: Mon Oct 08, 2007 9:38 am
by mikethebike
You could create the rule in one mailbox, then copy the 000003d file from that g directory to the new user directory:

omshowu -n "joe schmo" -f

go to the "user folder"

copy the 000003d file to a safe area.

now do the same command for the new user, and copy the 000003d file to his/her user folder.
You could of course automate/script this.

Mick

Posted: Mon Oct 08, 2007 1:57 pm
by jaime.pinto
This is a nice trick!

Posted: Tue Oct 09, 2007 9:03 am
by kcsc
Ok, that sounds good. I have also tried sxaa but, it seams to be limited in the types of rules that you can create. I guess the next question is, is there a way to have the sac call this script everytime an account is created, or will I have to manually call it either on command line or by plugin.

Posted: Mon Jan 14, 2008 5:51 pm
by kcsc
This solution seems to be a little buggy. If I copy a set of rules created from one user from outlook, to another user using outlook; the rules seem to get applied but the the user can not see them. If the user adds a rule it overwrites the copied rules. What am I missing? I copied the files set permissions, ownership and groups to the same as the file being copied which was owner scalix group scalix.

Posted: Mon Jan 14, 2008 11:08 pm
by mikevl
Hi

You really need to use sxaa as this will give you what you want and is easily scriptable to be applied to all users.

Mike