Client portal

Set up email filters

 December 14, 2018     0 Comments

For assistance with logging into your Control Panel via your 'My Account' area, please go here.

cPanel provides two methods to set up email filters: 'User-level' and 'Global'. The process to set up email filters are the same in each, except that Global filters apply to all email addresses associated with your domain. This tutorial will demonstrate how to set up 'User-level' email filters in cPanel.

To set up email filters in cPanel, please

  1. Log into your Control Panel (cPanel).
  2. In the Control Panel dashboard, under 'Email' section, click on 'Email Filters'.
  3. In the next page, locate the desired email account from the table of existing email accounts or you may use the search text box to find a specific email account.
  4. Under 'Actions' column, click 'Manage Filters' link next to the email account.
  5. Click 'Create a New Filter' button.
  6. Input the name of the filter in the 'Filter Name' text box.
  7. Under 'Rules' section, in the first dropdown menu, select the portion of the email message that the system will examine:
    1. From - The message sender's address
    2. Subject - The message's subject line
    3. To - The address to which the sender sent the message
    4. Reply Address - The address at which the sender receives replies
    5. Body - The message's content
    6. Any Header - Any part of the message's header
    7. Any Recipient - Any recipient of the message
    8. Has not been previously delivered - The system only examines messages that remain in the queue for delivery
    9. Is an Error Message - The system only examines error messages that an auto-response system sends
    10. List ID - The account's mailing lists
  8. To supplement the selected option in the first dropdown menu, choose the criteria in the second dropdown menu:
    1. contains - The message contains a string that you define. A string could be a series of text, numbers, or symbols.
    2. matches regex - The message matches a regular expression that you define. 
    3. does not contain - The message does not contain the defined string.
    4. equals - The message exactly matches a defined string.
    5. begins with - The message begins with the defined string.
    6. ends with - The message ends with the defined string.
    7. does not begin - The message does not begin with the defined string.
    8. does not end with - The message does not end with the defined string.
    9. does not match - The message does not exactly match the defined string.
  9. After you have defined the filter rule, type in the word or phrase in the text box below the two dropdown menus. This completes the filter rule that will be used by the system to compare incoming messages.
  10. In the 'Actions' dropdown menu, select an action that executes when an incoming email matches your new rule:
    1. Discard Message - The system discards the incoming message with no failure notice
    2. Redirect to Email - The system forwards the message to another email address that you specify in the text box that appears below
    3. Fail with Message - The system discards the message and automatically sends a failure notice to the sender. Type in the message in the text box that appears below.
    4. Stop Processing Rules - The system skips all filter rules
    5. Deliver to Folder - The system delivers the message to a folder you specify in the Browse field which appears below
    6. Pipe to a Program - Send the message to a specific program for further processing. For more information, refer to cPanel's documentation Pipe to a Program.
  11. Once all settings are set, click 'Create' button to save the email filter.

Congratulations! You have successfully set up email filters in cPanel.

How helpful was this article to you?

Posting has been disabled.
Powered by