Adding a Rule

Based on the activated encryption methods, you can define rules for encrypting incoming and outgoing emails.

You have activated Email Encryption and encryption methods for your domain.

Based on the encryption methods you have activated for your domain, you can define rules for its incoming and outgoing emails.

  1. Log in to the Control Panel with your administrative credentials.
  2. From the scope selection, select the domain for which you would like to activate Email Encryption.
  3. Navigate to Security Settings > Email Encryption.
  4. Select the tab Encryption Policies.
  5. Note:

    The rules for incoming emails refer to emails that are sent from an external server to your server.

    Select the email direction.
    • To add a rule for incoming emails, click on Add rule under Rules for incoming emails.

    • To add a rule for outgoing emails, click on Add rule under Rules for outgoing emails.

    A menu opens.

  6. From the drop-down menu under Action, select the action to be applied to the emails affected by the rule.
    • To always encrypt the emails affected by the rule, select Always encrypt.

    • To allow the emails affected by the rule to be sent unencrypted, select Allow unencrypted.

    Figure 1: Select action

    If you have selected the option Always encrypt, the encryption methods available for the rule are displayed below the drop-down menu.

  7. Note:

    You can only select activated encryption methods (see Activating Encryption Methods).

    If you have selected the option Always encrypt, activate the checkboxes of the encryption methods you want to apply to the rule.
    Figure 2: Select encryption methods
  8. Important:

    To use the TLS version 1.2, select the option Secure ciphers.

    If you have selected the encryption method TLS, select the ciphers or certificates to be used. You can select one of the following options.
    • All ciphers
    • Secure ciphers
    • Trusted certificates
    • Trusted certificates + secure ciphers
  9. Note:

    If you define a rule for incoming emails, you cannot select any criterion. The following fields are available:

    • Sender
    • Recipient
    • IP
    • Hostname
    If you define a rule for outgoing emails, select the criterion that determines to which emails the rule shall apply from the drop-down menu under Criterion.
    • Header: The rule applies to all emails with a header that contains a specified search term.

    • Body: The rule applies to all emails with a body that contains a specified search term.

    • Advanced: You can specify the sender, the recipient, the IP address and the hostname for the emails. For outgoing emails, you can also define search terms for the subject and the attachment of the emails. The rule applies to all emails with the defined properties.

    • Add-in: This criterion refers to the Hornetsecurity Outlook Add-in (version 4.0.3 or older). You can specify the sender, the recipient, the IP address and the hostname for the emails. For outgoing emails, you can also define search terms for the subject and the attachment of the emails. The rule applies to all emails with the defined properties.

    Figure 3: Select criterion

    The settings for the criterion are displayed below the drop-down menu.

  10. If you have selected the criterion Header or Body, enter the search term that the header or body of the emails shall contain under Filter: header or Filter: body.
    Figure 4: Enter search term
    Note:

    The search term is found even if it is surrounded by text.

    Note:

    To define more accurate and flexible rules, you can use regular expressions. For a description of the structure and functionality of regular expressions, see Regular Expressions and Explanation of Regular Expressions. Under Exceptions to Regular Expressions, you will find an overview of unsupported characters.

  11. If you have selected the criterion Advanced or Add-in, activate the checkboxes of the desired properties and enter a search term in the corresponding fields.
    Figure 5: Define properties
    Note:

    The search term is found even if it is surrounded by text.

    Note:

    To define more accurate and flexible rules, you can use regular expressions. For a description of the structure and functionality of regular expressions, see Regular Expressions and Explanation of Regular Expressions. Under Exceptions to Regular Expressions, you will find an overview of unsupported characters.

    Note:

    As sender or recipient, you can for example enter domains or email addresses.

  12. Optional: Enter a description of the rule under Description (optional).
    Figure 6: Describe rule
  13. Click on Add.

    The rule is added to the list of existing rules. The new rule is assigned the lowest priority of all existing rules and is placed at the end of the list. The rule is activated.

You have added a rule.

You can later edit the rule (see Editing a Rule) or change the priority of the rule (see Changing the Priority of a Rule).