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..