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.
A Note About User Interfaces
We will show you how to add sieve recipes below. But it's important to note that RoundCube has three distinct user interfaces: Classic, Elastic, and Larry. Since the interfaces change the location of some buttons, we have included a tutorial for each user interface. For best results, find the tutorial that matches your user interface.
We've included screenshots of each interface below so you can easily identify which you are currently using. Click the name of each interface to see a screenshot of its layout.
Adding Sieve Filtering Code in RoundCube with Classic User Interface
- Log in to your mailbox on RoundCube
- In the top left corner, click the Settings button
- In the top navigation bar, click Filters
- In the left sidebar, select "managesieve"
- Then go to the bottom of that column and click the cog icon
- In the drop-down, click Edit filter set
- Add your chosen sieve recipes in the text field that appears
- Click Save.
You can find some basic sieve recipes in our Sieve Syntax and Common Recipes article.
Adding Sieve Filtering Code in RoundCube with Larry User Interface
- Log in to your mailbox on RoundCube
- In the top right corner, click Settings
- In the left-most Settings section, click Filters
- Click the “managesieve” filter set in the Filter Sets section
- At the bottom of the Filter Sets section, click the cog icon and click the Edit Filter Set option in the drop-down
Make sure you click the cog icon in the Filter Sets section. You do not want to click the cog icon in the Filter section. - Add your chosen sieve recipes in the text field that appears
- Click Save.
You can find some basic sieve recipes in our Sieve Syntax and Common Recipes article.
Adding Sieve Filtering Code in RoundCube with Elastic User Interface
- Log in to your mailbox on RoundCube
- In the left sidebar, click Settings
- Click the Filters tab
- Select the "managesieve" tab
- Click the three dot icon in the top of the left column, then click Actions
- Click Edit filter set
- Add your chosen sieve recipes in the text field that appears
- Click Save.
You can find some basic sieve recipes in our Sieve Syntax and Common Recipes article.