HansR100 wrote:ORIGINATOR="Hans R/scalix/CN=R, Hans" ACTION=DISCARD
I have faced the same problem and instead of working on the originator address I have used the SENDER-SERVICE-LEVEL criteria.
This will help you create a REJECT rule for all users with the given service level.
So, let's assume that all users with service level 50 do not have the right to SEND mails. All you have to do is to write your ruleset file like this.
Code: Select all
SENDER-SERVICE-LEVEL=50 ACTION=REJECT NOTIFY="Your service level does not allow sending emails. Ask your mail administrator for questions."
Apply the ruleset to the router and then give service level 50 to all users you do not want to send emails.
To do that
This way you can handle your rule as generally available and if you have other users to apply the same restriction on simply change their service level to 50.
On the other hand your life will be easier if you have to remove the rule : instead of deleting the rule from router simply change service level of the afftected user(s) to anything different from 50.
Hope it helps.