limiting Users

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

mujahed_khan
Posts: 13
Joined: Thu Dec 06, 2007 1:36 am

limiting Users

Postby mujahed_khan » Fri Feb 15, 2008 7:11 am

I want to limit the users to not to send email to other domain what are the things i need to do.

Kris
Posts: 247
Joined: Tue Jul 04, 2006 7:24 am

Postby Kris » Fri Feb 15, 2008 7:19 am

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.

kool_kid
Posts: 179
Joined: Wed Dec 05, 2007 7:27 am

Postby kool_kid » Fri Feb 15, 2008 9:18 am

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.

Kris
Posts: 247
Joined: Tue Jul 04, 2006 7:24 am

Postby Kris » Fri Feb 15, 2008 9:34 am

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

kool_kid
Posts: 179
Joined: Wed Dec 05, 2007 7:27 am

Postby kool_kid » Fri Feb 15, 2008 11:10 am

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

kool_kid
Posts: 179
Joined: Wed Dec 05, 2007 7:27 am

Postby kool_kid » Fri Feb 15, 2008 11:57 am

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.


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 3 guests

cron