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;
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 2Right 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â€