1. Home
  2. Email
  3. Sieve
  4. How to Add Sieve Filtering in RoundCube

How to Add Sieve Filtering in RoundCube

Sieve is a scripting language that can manage incoming emails. For more information about how sieve works, see our article, What is Sieve Email Filtering?

RoundCube comes with a built-in sieve filtering interface. This interface allows you to create filtering rules without knowing sieve syntax.

Adding Sieve Filtering Code in RoundCube

To find the built-in sieve interface, follow these steps:

  1. Log in to your mailbox on RoundCube
  2. In the top right corner, click Settings
  3. In the left-most Settings section, click Filters
  4. At the bottom of the Filter Sets section, click the + buttonplus button image
  5. Fill in the information in the New filters set section:
    Filters set name

    This name will be used to identify this set of filters.filter set name image

    Filters

    You can specify here if you want to pull filters from another place, such as from set or from file. If you do not have any preexisting filters you want to add, select None.  filter image

  6. Click Save to create the new filter set
  7. Once the new filter set is created, make sure it is selected in the Filter Sets category
  8. In the Filters category, click the + buttonplus button image
  9. Fill out the information in the filter definition section:
    Filter Name

    This will be used to identify the filter from others in the set.

    For incoming mail

    This section specifies what variables an incoming email has to meet to warrant the following changes. Click the + button to add more variables.for incoming email image

    ...execute the following actions

    This section sets the action that should be executed if the incoming email meets the variables set in the For incoming mail section. Click the + button to add more actions.execute image

  10. Click Save

After you have saved the filter, you can repeat steps 7 - 10 to add more filters to the set. Once the filters are saved, they will begin filtering incoming email. If you are interested in the advanced Sieve setup in RoundCube, check out our How to Add Sieve Filtering Code in RoundCube.

Updated on July 6, 2018

Was this article helpful?

Related Articles