1. Home
  2. Email
  3. Sieve
  4. How to Add Sieve Filtering Code in RoundCube (Advanced)

How to Add Sieve Filtering Code in RoundCube (Advanced)

Note that this is an advanced method for adding Sieve code to RoundCube. There is an easier, more user-friendly method available, which is outlined in our How to Add Sieve Filtering in RoundCube article

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?

If you wish to know more about sieve syntax, you can see our article, Sieve Syntax and Common Recipes.

Adding Sieve Filtering Code in RoundCube

  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
    filters image
  4. Click the “managesieve” filter set in the Filter Sets section
    manage sieve image
  5. At the bottom of the Filter Sets section, click the cog icon and click the Edit Filter Set option in the drop-downedit image filter image
    Make sure you click the cog icon in the Filter Sets section since there is also a cog icon in the Filter section.
  6. Add your chosen sieve recipes in the text field that appears
    text field image
  7. Click Save.

RoundCube does not accept smart quotation marks, so if you copy and paste a sieve recipe in, it may result in errors if the quotation marks are not changed to straight quotes.

You can find some basic sieve recipes in our Sieve Syntax and Common Recipes article.

Updated on July 6, 2018

Was this article helpful?

Related Articles