Create a filter for unwanted email

Article

Check a mailbox filter with a harmless test message before relying on it.

  1. Log in to cPanel from your client area. If unavailable, use the panel address in your welcome email. The cPanel dashboard appears after successful sign-in.

    The own demo domain in cPanel, outlined and marked 1.
  2. Open Email Filters. The mailbox list and its filter-management actions appear.

    Email Filters in Tools, outlined and marked 2.
  3. Choose Manage Filters beside the intended mailbox. Its filters list appears.

    Manage Filters beside the own hello demo mailbox, outlined and marked 3.
  4. Choose Create a New Filter. The filter form appears.

    Create a New Filter for the selected mailbox, outlined and marked 4.
  5. Enter a unique Filter Name. This example uses KB subject demo, which appears in the name field.

    The unique KB subject demo filter name, outlined and marked 5.
  6. Choose Subject in the first Rules selector. The rule now checks the message subject.

  7. Choose contains in the condition selector. The rule now looks for matching text within that subject.

  8. Enter KB filter demo in the rule text field. That text appears as the condition to match.

    Subject contains KB filter demo in the rule, outlined and marked 8.
  9. Choose Discard Message under Actions. The filter form shows that action for matching messages.

    Discard Message selected as the action, outlined and marked 9.
  10. Choose Create. The saved filter appears in the filters list.

    Create for the reviewed mailbox filter, outlined and marked 10.
  11. Enter a fake message in Filter Test, with From, To and Subject headers, a blank line and test text. Use Subject: KB filter demo; the complete test message is visible in the box.

    A complete fake message in the inline Filter Test, outlined and marked 11.
  12. Choose Test Filter. Filter Trace Results appears for that test message.

    Test Filter for the fake message, outlined and marked 12.
  13. Read Filter Trace Results. The condition should be true and the chosen discard action should apply.

    The matching condition and filter trace result, outlined and marked 13.
  14. Replace the test subject with a different subject. The test box now contains a message that does not match KB filter demo.

  15. Choose Test Filter again. This example then reports normal delivery because its subject does not match.

Discard Message removes matching mail. Check carefully for unwanted matches.

This test evaluates a message without sending it. Global Email Filters applies more broadly than a mailbox filter.

Video walkthrough

Sources

For help, contact Faciotech support.