Blocking scalix users from sending emails outside ur domain

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

majdi
Posts: 46
Joined: Tue Oct 02, 2007 7:43 am

Blocking scalix users from sending emails outside ur domain

Postby majdi » Sat Nov 03, 2007 9:50 am

How can I block some scalix users from sending emails outside of our domain?
Last edited by majdi on Sat Nov 03, 2007 6:03 pm, edited 1 time in total.

jaime.pinto
Scalix Star
Scalix Star
Posts: 709
Joined: Fri Feb 23, 2007 6:50 pm
Location: Toronto - Canada

Postby jaime.pinto » Sat Nov 03, 2007 11:41 am

Do a search on this forum using the keyword "senderservicelevel"
Image Jaime
||||||||||||||||||||||||||||||||||||||||

majdi
Posts: 46
Joined: Tue Oct 02, 2007 7:43 am

Postby majdi » Sat Nov 03, 2007 6:59 pm

Thanks jaime.pinto,

Basically I want certain scalix users restricted to only send emails internally, i.e. to other scalix users only.

From my search I had summarised the steps;

Step 1
Create a ruleset file (text file with no extension), you can name this file anything. Here it is (noinetsnd).

Example file;

Code: Select all

cat >noinetsnd

To exit and save, hold the control key down and press the d key.
To append information to a preexisting file, type cat >>filename.

Step 2
Right the rule in the file and save it under /var/opt/scalix/rules directory

Example rule:
To stop certain scalix users from sending emails outside the default domain;

Code: Select all

RECIPIENT-SERVICE-LEVEL=13 ORIGINATOR="*/Internet" ACTION=REJECT NDN-INFO="Your Custom Message"


The logic from the first line: if the sender had a service level of 13, reject the message (block sending) and send a non-delivery notification stating “Your Custom Messageâ€


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 2 guests

cron