User-Level Filter on cPanel

 

Spam-filter

User level filter controls how your incoming email is handled. It helps to ensure that you receive more mail and less spam. cPanel allows you to manage filters for each email account on your domain. This can be useful for discarding spam, redirecting mail or piping messages to a program.

Adding a user-level filter

  1. Log in to cPanel.
  2. Click on User-Level Filter under Mails section.Screenshot (124)
  3. On the Manage Filters page, click Manage Filter next to the email account for which you wish to add a filter.Screenshot (126)
  4. Click on Create a New Filter.Screenshot (127)
  5. On the next page, fill in the name of the filter in the Filter Name text box.
  6. In the first dropdown box under Rules, select one of the following options for the message characteristics:Screenshot (130)
    • From – address from which the message was sent
    • Subject – this will filter by the subject line of the message
    • To – address to which the message was sent
    • Reply Address – address to which the reply will be sent
    • Body – content of the message
    • Any Header – a header of the message
    • Any recipient – a recipient of the message
    • Has not been previously delivered – affects messages still in queue for delivery
    • is an error message – affects error messages received from an auto-response system
    • Spam Status – the status SpamAssassin has been conferred on the message; it begins with either “Yes” or “No.”
    • Spam Bar – the content of the Spam Bar header that SpamAssassin has generated for this message. This header contains plus (+) signs to denote the likelihood that the message is spam; more plus signs means the message is more likely spam.
    • Spam Score – the overall spam score assigned to the message by SpamAssassin, expressed in digits.
  7. In the next dropdown box, select an operator:Screenshot (131)
    • equals – exactly matches the string you define
    • matches regex – matches a regular expression you define
    • contains – contains the string you define
    • does not contain – does not contain the string you define
    • begins with – begins with the string you define
    • ends with – ends with the string you define
    • does not begin – does not begin with the string you define
    • does not end with – does not end with the string you define
    • does not match – is not equal to the string you define
    • is above (#s only) – scores greater than the number you define will be subject to the action selected
    • is not above (#s only) – all scores equal to or less than the defined number will be subject to the action selected
    • is below (#s only) – all scores below the defined number will be subject to the action
    • is not below (#s only) – all scores greater than or equal to the specified number will be subject to the action. The underlined options can only be used when the Spam Score option is selected.
  8. In the text box below, enter the enter the filter. You can use the “+” button to add more rules and the “-” button to remove rules.Screenshot (132)
  9. In the dropdown box under Action, choose and action for the rule you created.Screenshot (133)
    • Discard message – destroys the incoming message with no failure notice
    • Redirect to email – redirects the message to another email address that you specify
    • Fail with message – discards the message and automatically returns a specified failure notice to the sender
    • Stop processing rules – skips all filter rules
    • Deliver to folder – deposits the message into a specified folder
    • Pipe to a program – sends the incoming message to a program you have specified
  10. Click Create.

Leave a Reply

Your email address will not be published.

(Required)

Proudly powered by WordPress   Premium Style Theme by www.gopiplus.com