Page 1 of 1
limiting Users
Posted: Fri Feb 15, 2008 7:11 am
by mujahed_khan
I want to limit the users to not to send email to other domain what are the things i need to do.
Posted: Fri Feb 15, 2008 7:19 am
by Kris
I think searching the forums and the admin guide for "service levels" might me a good starting point. I use this for our service engineers. They are in a different service level then the other users, and I've made some rules for that specific service level, so that they can only send to and receive from the local domain.
Posted: Fri Feb 15, 2008 9:18 am
by kool_kid
Code: Select all
SERVICE-SENDER-LEVEL=13 ACTION=REJECT
I have added this rule using ommodrt and then setting the service level of the user to 13 but it doesnt work, could you please share the rules that you have created. It might help as I'm looking for the same.
Posted: Fri Feb 15, 2008 9:34 am
by Kris
I have a rule like this:
SENDER-SERVICE-LEVEL=10 ACTION=REJECT NDN-INFO="some error message"
So your rule looks good.. did you assign the rule to the correct route? I've assigned it to the "internet" route.. (don't know if the word route is correct here..)
Code: Select all
[root@scalixserver rules]# omshowrt -q ALL
UNIX internet MIME
UNIX internet,tnef TNEF
LOCAL ScalixServer,nido
You also need to restart the service router after adding the rule:
omoff -d 0 -w sr
omon -w sr
Posted: Fri Feb 15, 2008 11:10 am
by kool_kid
how do I assign it to internet route can you give an example please.
here is what i did ~/rules added a file named ndninetsnd with the content
Code: Select all
SERVICE-SENDER-LEVEL=13 ACTION=REJECT
then
Code: Select all
ommodrt -m email -d ndninetsnd
ommodu -o "Username" -s 13
omoff -d 0 sr
omon sr
now whenever i sent any email it was able to go to internet user but not on intranet users. Can you point me what i did wrong please
Posted: Fri Feb 15, 2008 11:57 am
by kool_kid
how do i change back to default route on email node.
I figured out my problem i was adding the service rule to email node and not to "internet" I did add it now and its working but my emails are getting marked as spam do you know why? Second thing I'm forwarding all the emails from all users to one box using sxaa so when I'm sending an email from a user (with service level 14) its not getting forwarded to that mail box( this mail box has service level 0 ), can you give me any pointer as to why its happening.