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:

  1. Log in to Zoho Mail Admin Console and select Security & Compliance on the left pane.
  2. Navigate to Rules and select Outgoing Rules.
  3. Click the Create now button to add the first rule or click Create for subsequent rules.
    outgoing rules
  4. Provide a rule name and a description for the rule.
  5. If required, set an Expiry Date.
  6. 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.
  7. Select one or more Conditions, the Operating parameter and the corresponding Action.
  8. 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.
  9. Skip to this step if you chose All users.
  10. Click the Select users button to include or exclude users.
  11. 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.
  12. 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.
      outgoing rule

Available Conditions

You can set up more than one condition in a single rule depending on your requirement.

General Validation

ParameterDescriptionValue
MIME Message ID*The ID that can be gathered from a MIME email's headerClick Add values, enter the desired MIME value and click Add.
MIME size (in MB)The size of the non-text attachment specified in MBEnter a value between 1 to 40.
SubjectThe subject of the emailClick 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

ParameterDescriptionValue
Has attachmentChecks if any file is attachedSelect Yes or No from the drop-down.
Attachment size (in MB)The size of the attached file in MBEnter a value between 1 to 40.
Attachment typeThe type of attached fileClick Select attachments, add the attachment types and click Add.

Content Validation

ParameterDescriptionValue
Email languageThe language in which the email was composedClick Select languages, add the desired languages and click Add.
Originating countryThe country from which the email was sentClick Select countries, add the desired countries and click Add.
URL domainThe domain names of the URLs available in email contentClick Add domains, enter one or more domain names and click Add.

Malware Validation

ParameterDescriptionValue
Has macrosThe existence of macros in the email contentSelect Yes or No from the drop-down.
Has suspicious macrosThe existence of suspicious macros in the email contentSelect Yes or No from the drop-down.

Header Validation

ParameterDescriptionValue
User agentThe software/ Client used to send the emailsClick Add values, enter the user agent you wish to validate and click Add.
X Mailer*The desktop client from which the email was sentClick 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

ParameterDescriptionValue
External recipient countValidates the number of external recipients in the emailProvide a value between 1 to 100.
Has external recipientValidates the presence of external users in the recipient listSelect Yes or No from the drop-down.
Internal recipient countValidates the number of internal recipients in the emailProvide 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 domainValidates the domain address of the recipientClick Add domains, enter one or more domain names and click Add.
Recipient countThe number of recipients in the outgoing emailProvide a value between 1 to 100.
To/CC email addressThe email address in the To/CC fieldClick 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

ParameterDescriptionValue
Display nameThe display name of the senderClick Add values, enter the user's display name and click Add.
From email addressThe sender email address of the outgoing mail.Click Add email addresses, enter the "from" email address and click Add.
Original sender's email addressEmail address of the actual sender of the outgoing mailClick Add email addresses, enter the original sender email address and click Add.
Reply-to email addressThe 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 activityChecks for any suspicious login activity of the senderSelect Yes or No from the drop-down.
Sender IP addressThe IP address of the email senderEnter the sender's IP address or the range that you wish to validate.
Sender's email policyThe email policy applied to the senderSelect the preferred email policy from the drop-down.
Sender's groupChecks if the sender belongs to an organisation groupSelect the desired group from the drop-down.

Operating parameters

OperatorsDescription
isThe respective parameter in the outcoming email should exactly match the given criteria value.
is notThe respective parameter in the outgoing email should not match the given criteria value.
containsThe 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 containThe 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 withThe respective parameter in the outgoing email should begin with the given criteria value.
ends withThe respective parameter in the outgoing email should end with the given criteria value.
is emptyThe respective parameter in the outgoing email should be empty.
is not emptyThe respective parameter in the outgoing email should not be empty.
matchesThe respective parameter in the outgoing email should match the given criteria value.
does not matchThe respective parameter in the outgoing email does not match the given criteria value.
yesThe given condition should be true.
noThe given condition should be false.
is greater thanThe respective parameter in the outgoing email should only be greater than the given criteria value.
is lesser thanThe respective parameter in the outgoing email should only be lesser than the given criteria value.
is greater than or equal toThe respective parameter in the outgoing email can be greater than or equal to the given criteria value.
is lesser than or equal toThe 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

ActionDescriptionValue
Add BCC and deliver to recipientThe 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 senderAll 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 emailForward 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
RejectAll 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 messageAll the emails that satisfy the given condition/s will not be delivered by our servers and a custom warning message will be sent upon rejectionClick 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:

  1. Log in to Zoho Mail Admin Console and select Security & Compliance on the left pane.
  2. Navigate to Rules and select Outgoing Rules.
  3. Select the desired rule and click Edit from the top right corner.
  4. 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.

  1. Log in to Zoho Mail Admin Console and select Security & Compliance.
  2. Navigate to Rules and select Outgoing Rules. You will find the list of filters you have already added.
  3. 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:

  1. Log in to Zoho Mail Admin Console and select Security and Compliance on the left pane.
  2. Navigate to Rules and select Outgoing Rules.
  3. To remove a rule:
    1. Hover over an existing or expired rule and click the   delete icon.
    2. 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
    3. Click Delete in the confirmation dialog that appears.

This will remove the outgoing rules from your list and cannot be recovered.

Still can't find what you're looking for?

Write to us: support@zohomail.com