Control Center Email Rules
Email Rules automate repetitive tasks like filing a message into a folder based on criteria such as keywords in the subject line. (e.g. If Subject contains TPS-Report Then Put in Folder Trash.) Clients can create powerful Email Rules to automatically process inbound and outbound messages. Email Rules created in the Control Center affect message flow for all users.
Email Rules execute in order, from top to bottom, in the Email Rule List. (See also: SpamShield Pro Order of Operations, as certain conditions may stop an email from flowing into the network, and not cause a rule to fire.) A message can be affected by multiple Email Rules, which allows multiple actions to be executed. (e.g. If Subject contains TPS-Report Then Put in Folder Trash, and Send Copy To email@example.com.)
Email Rules can be disabled. Disabled Email Rules are skipped during execution. The ability to disable an Email Rule can be used when a new Email Rule is not ready to be made active, and for troubleshooting purposes.
Technically speaking, an Email Rule is an ordered statement. Statements can consist of a conditional, action, and part iterator. Conditionals combine a predicate with a then and else block, and else if predicate block pairs. Actions describe what to do (e.g. Put in Folder, Send Copy To, etc.) Part Iterators examine each message part individually.
How Do You Rule?
Let us know how you use Email Rules by sending us Feedback. The best suggestions will be shared in this Knowledge Base. We're also interested in Feedback from advanced users of the Expert Rule Editor (Beta).
Example Email Rules
The following examples use example.com for the example email service's domain name:
You can discard messages with specific file attachments via the Expert Rule Editor (Beta):
e.g. If True Then For Each Message Part If Part Where Filename ends with .exe Then Discard
This Email Rule discards any message with an attachment containing ".exe" at the end of its filename.
Monitor Incoming Email For A Specific User
You can copy inbound messages to another account with the Expert Rule Editor (Beta):
e.g. If Envelope "To" contains "milton" (compare localpart only) Then Send Copy To "firstname.lastname@example.org"
This Email Rule sends a copy of any message addressed to email@example.com to firstname.lastname@example.org.
Monitor Incoming/Outgoing Email For All Users
e.g. If True Then Send Copy To "email@example.com"
This Email Rule sends a copy of any incoming message to firstname.lastname@example.org when used with Inbound Email Rules, and any outgoing message to email@example.com when used with Outbound Email Rules. Outbound Email Rules cannot monitor third party relays.