Page 1 of 1

Implement service router rule not working

Posted: Tue Jul 10, 2007 8:25 am
by af567
Gidday,

I am trying to implement a rule to prevent mail to be sent over to another mailnode on another scalix server but so far i have no luck getting it work.
I have two scalix server with routing successful set up between with omaddrt.

scalixA mailnodeA
scalixB mailnodeB

1)I have the routing set up at scalixA as:
# omshowrt -q all
UNIX internet MIME
UNIX internet,tnef TNEF
LOCAL scalixA
SMINTFC scalixB,mailnodeB scalix@scalixB.shinyang.com.my

2)So i created a rule in ~/rule as:
SENDER-SERVICE-LEVEL=1 ACTION=REJECT

3)Added the rule to the route link to scalixB:
ommodrt -m "scalixB,mailnodeB" -d myrouterrule

4)Set the service level for such route restriction for user:
ommodu -o "eric" -s 1

5)Lastly i restarted service router:
omoff -d 0 sr
omon sr

From the above, i should not be able to send mail from scalixA to scalixB, yet when i tried to send to scalixB it went smoothly. Any clue where i have made mistake?

The other question i have is, after we have added a service router rule to a route by ommodrt -d option, how do we remove the rule if we decide the rule has to be disabled?


Many thanks for any help offered..

Posted: Tue Jul 10, 2007 9:21 pm
by af567
I just realised that if i apply a service router rule on a mailnode that has been created in scalixA, then it will work.

But if the rule is applied to a route to a mailnode created in another scalix server then it won't work.
Am I right? If thats the case, then i think then it won't be able to do much restriction in a multi server environment. Users from mailnode from another server will be able to send to another scalix server's mailnode, unless they are all created under the same server then we can restrict them.