Settings

Create an Email Filters

Estimated reading: 4 minutes 102 views

What is an Email Filter

Setting up mail filters is an efficient way to manage your emails. Email filters are used to create rules for how incoming emails should be processed. They are mostly used to block emails from a specific email address or to weed out spam.

Email filters use the criteria that you specify to determine how to handle email messages. Emails can be discarded, redirected to another email address, or filed to a folder, or more.

Create an Email Filter

  1. Start by logging into webmail.
    Remember, you can log into webmail by visiting webmail.example.com. Also, be sure to use the full email address as the username and the password associated with the email account you are logging into.
    Webmail Login 1 1024X495 22
  2. Click on Webmail Home button located on the left-hand side.
    Roundcube Webmail Inbox 1024X495 5
  3. Click on your email address and select option Email Filters.
    Webmail Main 3 1024X495 1
  4. Click Create a New Filter button.
    Type a unique name for your filter in the Filter Name field.
    Set up the rules you wish to use to filter emails.
    Webmail Email Filters 4 1024X465 1The following criteria are available:

    • From — The message sender’s address.
    • Subject — The message’s subject line.
    • To — The address to which the sender sent the message.
    • Reply Address — The address at which the sender receives replies.
    • Body — The message’s content.
    • Any Header — Any part of the message’s header.
    • Any recipient — Any recipient of the message.
    • Has not been previously delivered — The system only examines messages that remain in the queue for delivery.
    • Is an Error Message — The system only examines error messages that an auto-response system sends.
    • List ID —  The account’s mailing lists.
    • Spam Status — Whether Apache SpamAssassin™ marked the message as spam. The Spam Status line begins with Yes or No.
    • Spam Bar — The content of the Spam Bar header that Apache SpamAssassin generated for this message. The more plus signs (+) that Apache SpamAssassin assigns to a message, the greater the likelihood that the system marks the message as spam.
    • Spam Score — The total number of plus signs (+) in the Spam Bar value, expressed as an integer.

    The following comparison operators are available:

    • equals — The message exactly matches a defined string.
    • matches regex — The message matches a regular expression that you define.
    • contains — The message contains a string that you define.
    • does not contain — The message does not contain the defined string.
    • begins with — The message begins with the defined string.
    • ends with — The message ends with the defined string.
    • does not begin — The message does not begin with the defined string.
    • does not end with — The message does not end with the defined string.
    • does not match — The message does not exactly match the defined string.

    Each rule has criteria and an operator describing how to compare them to a message.

  5. Select the Action you wish to happen when an incoming email matches your new rule.
    Webmail Email Filters 5 1024X465 1
    The following actions are available:

    • Discard Message: Discard the message with no failure notice to the sender.
    • Redirect to Email: Forward message to a specific email address.
    • Fail With Message: Discard the message and send a failure notice to the sender.
    • Stop Processing rules: Proceed and ignore all other filter rules. (Useful when you have more than one filter set up.)
    • Deliver to Folder: Deliver the message to a specific email folder.
    • Pipe to a Program: Send the message to a specific program for further processing.
  6. Click Create button to save your new filter rule.

 

As an example (see picture below), we’ve created a rule where all emails that will contain a word newsletter in the email subject, will be moved to our SPAM folder.
Webmail Email Filters 1 1024X465 1

Please note that you can create multiple rules and actions in one filter.
Just use + buttons, to add a new rule or action.
Do not forget to chose desired operator (or, and).
Webmail Email Filters 3 1024X465 1

CONTENTS
Garage Invoice Vehicle Management Software logo in the footer section
Professional, affordable, and feature-rich Invoicing software for Workshops and Car Garages - making management simple and efficient.