# Managing Exclusion Rules

The **Exclusion Rule Manager** section allows Administrators to set a rule that will exclude mails from being processed into the Storage Node repositories. Mails that are excluded will be held in a separate subdirectory on the server for a specified number of days (default is 2 days) before they are deleted by the daily management tasks.

\
Each rule will exclude mails that exactly match the criteria of the rule. You can use \* (wildcard values) to create the criteria. Cryoserver does not allow you to review the excluded mails and to re-queue them after changing the rules for Compliance reasons.

1. Navigate to **Email Management** > **Exclusion Rule Manager**.
2. Click the **Create New Rule** button.
3. Enter / Select the required values in the fields. Refer to the table below for field names and descriptions.
4. Click the **Save Rule Details** button.

| Field                 | Description                                                                        |
| --------------------- | ---------------------------------------------------------------------------------- |
| **Rule Name**         | Name of the rule.                                                                  |
| **From**              | Email address(es) from which when an email is received the rule should be applied. |
| **To**                | Email address(es) to which when an email is received the rule should be applied.   |
| **Enabled**           | Specifies whether or not the rule is enabled.                                      |
| **Created By**        | Cryoserver user that created the rule. This is an auto-populated field.            |
| **Created/Edited At** | Time stamp at which the rule was created. This is an auto-populated field.         |

### Editing & Deleting Rules

1. To edit a rule, click the required rule in the **Existing Rules** section and then click the **Edit Rule** button.
2. Edit the values of the required fields and click the **Save Rule Details** button.
3. To delete a rule, click the required rule in the **Existing Rules** section and then click the **Delete Rule** button.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.cryoserver.com/basic-configuration/managing-exclusion-rules.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
