Outgoing rules for emails
With the help of Outgoing rules, you can decide which emails can be sent by the users and filter out unnecessary emails based on the entire content of the email including the email header, email content and attachment content. In order to filter the outgoing emails, you have to establish a set of conditions against which all the outgoing emails of your organisation will be validated.
Note:
- It is mandatory to enable Organization Rules from the Spam Processing section in the Admin Console.
- The Outgoing Rules feature will be rolled out in a phased manner and be available only for organizations that use one of our paid plans.
- If you want the option enabled for your organization, please reach out to us at support@zohomail.com.
Create an Outgoing Rule
To create a new Outgoing rule, follow these steps:
- Log in to Zoho Mail Admin Console and select Security & Compliance on the left pane.
- Navigate to Rules and select Outgoing Rules.
- Click the Create now button to add the first rule or click Create for subsequent rules.
- Provide a rule name and a description for the rule.
- If required, set an Expiry Date.
- Select the Condition Type from the available options:
- AND - Only if the incoming emails satisfy all the conditions, the preferred action will be performed.
- OR - Even if the incoming emails satisfy one of the conditions you provide, the preferred action will be performed.
- Advanced - You can combine both AND & OR condition types, within a single condition, for the preferred action.
- No Condition - When chosen, all the emails you receive will go through the preferred action.
- Select one or more Conditions, the Operating parameter and the corresponding Action.
- Choose the users to whom you want to apply the rule from the Apply To drop-down:
- All users - The rule will be applied to all the users in your organization.
- All users except selected users - The rule will be applied to all the users except the ones added to the list.
- Selected Users - The rule will be applied to the specific set of users you add.
- Skip to this step if you chose All users.
- Click the Select users button to include or exclude users.
- Select the users you want to add to the list and click Proceed. You can also remove a user from the list by clicking the delete icon next to the user.
- Review your rule and do one of the following:
- Create and enable rule - Your rule will not only be created but also be enabled automatically to start processing emails with respect to its conditions and actions.
- Create rule - Your rule will only be created and not enabled. That means if you want the rule to be applied to the emails you receive, you will have to manually activate it.
Available Conditions
You can set up more than one condition in a single rule depending on your requirement.
General Validation
Parameter | Description | Value |
MIME Message ID* | The ID that can be gathered from a MIME email's header | Click Add values, enter the desired MIME value and click Add. |
MIME size (in MB) | The size of the non-text attachment specified in MB | Enter a value between 1 to 40. |
Subject | The subject of the email | Click Add values, enter the desired subject and click Add. |
Note:
*MIME message - Multipurpose Internet Mail Extensions supports non-text email attachments. A MIME header is added to the original email header from where you can gather the unique content ID/message ID used to identify the message.
Attachment Validation
Parameter | Description | Value |
Has attachment | Checks if any file is attached | Select Yes or No from the drop-down. |
Attachment size (in MB) | The size of the attached file in MB | Enter a value between 1 to 40. |
Attachment type | The type of attached file | Click Select attachments, add the attachment types and click Add. |
Content Validation
Parameter | Description | Value |
Email language | The language in which the email was composed | Click Select languages, add the desired languages and click Add. |
Originating country | The country from which the email was sent | Click Select countries, add the desired countries and click Add. |
URL domain | The domain names of the URLs available in email content | Click Add domains, enter one or more domain names and click Add. |
Malware Validation
Parameter | Description | Value |
Has macros | The existence of macros in the email content | Select Yes or No from the drop-down. |
Has suspicious macros | The existence of suspicious macros in the email content | Select Yes or No from the drop-down. |
Header Validation
Parameter | Description | Value |
User agent | The software/ Client used to send the emails | Click Add values, enter the user agent you wish to validate and click Add. |
X Mailer* | The desktop client from which the email was sent | Click Add values, enter the X-Mailer you wish to validate and click Add. |
Note:
*X-Mailer - Specifies which desktop client (For example, Apple client, Thunderbird, etc) was used to draft or send the email. Can be found in the email header.
Recipient Validation
Parameter | Description | Value |
External recipient count | Validates the number of external recipients in the email | Provide a value between 1 to 100. |
Has external recipient | Validates the presence of external users in the recipient list | Select Yes or No from the drop-down. |
Internal recipient count | Validates the number of internal recipients in the email | Provide a value between 1 to 100. |
Recipient* | Validates the domain and email address in the email. | Click Add email addresses or domains, enter the desired domain name or email address and click Add. If required, select the Skip validation for internal recipients option. |
Recipient domain | Validates the domain address of the recipient | Click Add domains, enter one or more domain names and click Add. |
Recipient count | The number of recipients in the outgoing email | Provide a value between 1 to 100. |
To/CC email address | The email address in the To/CC field | Click Add email addresses, enter the desired email address and click Add. |
Note
*Recipient - The outgoing rule will be processed only for those emails that "does not match" the email address or domain added to this rule.
Sender Validation
Parameter | Description | Value |
Display name | The display name of the sender | Click Add values, enter the user's display name and click Add. |
From email address | The sender email address of the outgoing mail. | Click Add email addresses, enter the "from" email address and click Add. |
Original sender's email address | Email address of the actual sender of the outgoing mail | Click Add email addresses, enter the original sender email address and click Add. |
Reply-to email address | The reverse-path/ bounce address of an outgoing email. | Click Add email addresses, enter the reply-to email address and click Add. |
Sender involved in suspicious login activity | Checks for any suspicious login activity of the sender | Select Yes or No from the drop-down. |
Sender IP address | The IP address of the email sender | Enter the sender's IP address or the range that you wish to validate. |
Sender's email policy | The email policy applied to the sender | Select the preferred email policy from the drop-down. |
Sender's group | Checks if the sender belongs to an organisation group | Select the desired group from the drop-down. |
Operating parameters
Operators | Description |
is | The respective parameter in the outcoming email should exactly match the given criteria value. |
is not | The respective parameter in the outgoing email should not match the given criteria value. |
contains | The respective parameter in the outgoing email doesn't have to be an exact match but will pass even if it contains the given criteria value. |
does not contain | The respective parameter in the outgoing email doesn't have to be an exact match but will pass if it does not contain the given criteria value. |
begins with | The respective parameter in the outgoing email should begin with the given criteria value. |
ends with | The respective parameter in the outgoing email should end with the given criteria value. |
is empty | The respective parameter in the outgoing email should be empty. |
is not empty | The respective parameter in the outgoing email should not be empty. |
matches | The respective parameter in the outgoing email should match the given criteria value. |
does not match | The respective parameter in the outgoing email does not match the given criteria value. |
yes | The given condition should be true. |
no | The given condition should be false. |
is greater than | The respective parameter in the outgoing email should only be greater than the given criteria value. |
is lesser than | The respective parameter in the outgoing email should only be lesser than the given criteria value. |
is greater than or equal to | The respective parameter in the outgoing email can be greater than or equal to the given criteria value. |
is lesser than or equal to | The respective parameter in the outgoing email can be lesser than or equal to the given criteria value. |
After selecting the Conditions and the Operating parameters, provide the values with respect to the chosen conditions that need to be verified against. Upon providing these proceed to select the Actions that need to be performed for the emails with the chosen conditions.
Available Actions
Action | Description | Value |
Add BCC and deliver to recipient | The specified email address will be added in BCC to all the outgoing emails that satisfy the given conditions. | Click Add BCC addresses, select the users to be added in BCC and click Add. |
Block sender | All those emails that satisfy the given condition/s will not be delivered by our servers and email outgoing will be blocked permanently for the sender. | N/A |
Forward the email | Forward a copy of the email to the specified email address. | Click Add forward addresses, select the desired users to whom you wish to forward the email and click Add. |
Move to quarantine | The emails that satisfy the given condition/s will be moved to quarantine for the administrator's approval. | N/A |
Reject | All the emails that satisfy the given condition/s will not be delivered by our servers and a default warning message will be sent upon rejection. | N/A |
Reject with custom message | All the emails that satisfy the given condition/s will not be delivered by our servers and a custom warning message will be sent upon rejection | Click Add message, enter the custom text and click Add. |
Rule Processing and Priority
You can add any number of outgoing rules to process different types of outgoing emails. When there are multiple filters, the sequence of processing will be based on the priority of filters. The filter with the highest priority (1) will take precedence over the filters with lower priority (2). Once a particular rule is processed, subsequent rules will not be processed for the same email.
Modify Outgoing Rule
You can modify the existing rules as per your needs. Follow the instructions given below to modify a rule:
- Log in to Zoho Mail Admin Console and select Security & Compliance on the left pane.
- Navigate to Rules and select Outgoing Rules.
- Select the desired rule and click Edit from the top right corner.
- Make the desired changes and click Update.
Additionally, you can search and edit the outgoing rules based on the associated users. Navigate to the search bar and select the applicable to or not applicable to parameters from the listing as per your requirements. Choose a specific user from the list and press enter. All the outgoing rules associated with or not associated with that particular user will be displayed. You can then select the rules from the list and make the required changes.
Enable or Disable a rule
You can enable or disable a rule to start or stop filtering.
- Log in to Zoho Mail Admin Console and select Security & Compliance.
- Navigate to Rules and select Outgoing Rules. You will find the list of filters you have already added.
- Toggle the Status key to ON or OFF in order to enable or disable a rule.
Remove Rules
There can be scenarios where you do not require a rule or a rule might have expired. In such cases, you can remove them using the delete option. Follow these steps to delete a rule:
- Log in to Zoho Mail Admin Console and select Security and Compliance on the left pane.
- Navigate to Rules and select Outgoing Rules.
- To remove a rule:
- Hover over an existing or expired rule and click the delete icon.
- Alternatively, you can select the desired rules, click Delete on the top menu and choose the required option:
- Delete selected rules
- Delete all expired rules
- Delete all rules
- Click Delete in the confirmation dialog that appears.
This will remove the outgoing rules from your list and cannot be recovered.