global message rules
Global Message Rules
Global Message Rules helps you to filter and manage incoming and
outgoing messages before they delivered to users mailbox or sent-out, by applying server
based rules that match a specific set of expressions. When a specified rule is
matched the associated actions will be executed in the order specified.
In order to better understand the message flow in the Lumi Mailserver you can refer to Message Flow diagram.
In short, when a message arrives or sent out from or to your server it will pass through the Routing which will resolve the actual destination of the message and then will be passed to Global Message Rules. Once the message is filtered in Global Message Rules it will be passed to User Message Rules (if the message is not deleted or dropped in Global Message Rules), in which it will be filtered and delivered to User's mailbox (again if the message is not deleted or dropped in User Message Rules).
You can think of Global Message Rules as the virtual-domain-wide rules engine that
applies to all users and all incoming and outgoing messages.
The Administrator can create Global Message Rules from the MailServerManager Interface;
MailServer > MailStore > Rules > Message Rules > Global
Create a new Global Message Rule
Click the New button from the toolbar to bring Add/Edit Global
Message dialog. Lets look at the fields in this dialog;
Description field: This is a required field where you will
give a descriptive name for your new rule.
Match Expression:
Our expression (matching expression) for our new
rule. Refer to Match Expression for details.
Check button: Clicking this button will check the validation of our Match Expression.
Actions:
The type of actions to run when
Match Expression is met. Refer to Actions for
details.
Enabled:
If we uncheck this field our Rule will be simply disabled and checking will be
enable.
Check Next Rule:
Dropdown that defines the condition to check the next Rule in Global Message
Rules
Always: Always run the next rule once the current
rule is finished.
If this Rule Match:
Run the next rule only-if this Rule's expression is matched (the result is true)
If this Rule does not Match: Run the next rule
only-if this Rules' expression not matched (the result is false
Once you define your new rule click OK to save and return to Global Message Rules pane. Pay attention to Up and Down buttons on the right. This two buttons help us to set the order of our rules, when we have more than one rule defined. When you want to change the order of execution for your rules, instead of removing and re-creating the rules you will simply change its order by using these two buttons. The top-most rule will be the first rule that will run. You can also double-click on any rule to bring the Edit Rule dialog besides clicking Edit button from toolbar. If you see your rule name having a strikethrough that means it is disabled by the admin, Edit the Rule and check Enabled field to enable it back.
In order to utilize the functionality of Global Message Rules,
pay special attention to the type of Match
Expression and Actions which contains
examples and provide inside to available scenarios.
Last Modified on 12/3/2006