Skip to main content

How to Create an Email Filter for One cPanel Mailbox

Create an email filter to automatically process incoming messages for a specific mailbox in cPanel. This allows you to perform actions such as moving, forwarding, or deleting emails based on specific criteria like the sender or subject line.

Create an email filter to automatically process incoming messages for a specific mailbox in cPanel. This allows you to perform actions such as moving, forwarding, or deleting emails based on specific criteria like the sender or subject line.

Before you begin

You will need:

  • A cPanel account with permissions to manage email settings.

  • The specific email address for the mailbox where you want to apply the filter.

Create an email filter

  1. Log in to your cPanel account.

  2. Locate the Email section and select Email Filters (or Forwarders if you only need to redirect mail).

  3. Select the specific email account from the list of available mailboxes.

  4. Click Add Filter or Create Filter.

  5. Enter a descriptive name for the filter (e.g., "Move Newsletters").

  6. Define the filter rules:

    • Keywords: Enter specific words to look for in the subject or body.

    • Sender: Enter the specific email address or domain of the sender.

  7. Select the action for the filter, such as Redirect to, Deliver to, or Discard Message.

  8. Click Create or Update.

Confirm the result

  • The filter will appear in your list of active filters for that specific mailbox.

  • New incoming emails that match your specified criteria will automatically perform the action you selected (e.g., moving to a specific folder or being forwarded).

If the filter does not seem to trigger

  • Check the criteria: Ensure the keywords or sender addresses are typed correctly.

  • Verify the mailbox: Confirm that the filter is applied to the correct email account.

  • Test with a new email: Send a test email from an external account that matches the filter criteria to see if the action is performed.

Limitations

  • Filters are processed in the order they are listed. If a message matches multiple filters, the first one it matches will be applied.

  • Some complex logic (like "if sender is X AND subject contains Y") may be limited depending on the specific cPanel version.

Did this answer your question?