---
title: Create an email filter
description: If you would like to automatically move an email to a new different folder when it arrive or delete the email, as maybe you want to delete all emails from a particular sender as they are sending lots of spam…
url: "https://www.healthhosts.com/docs/create-an-email-filter/"
updated: "2025-01-15"
category: "Email - RoundCube / cPanel"
---

# Create an email filter

If you would like to automatically move an email to a new different folder when it arrive or delete the email, as maybe you want to delete all emails from a particular sender as they are sending lots of spam to you then you can use the filter option within your webmail to achieve this.

Firstly select the email that you want to action, then click the more option and then Create Filter

![](https://www.healthhosts.com/wp-content/uploads/2025/01/create-a-filter.jpg)

Then on the next screen select the conditions for the filter, in this example i am going to filter the senders email address

![](https://www.healthhosts.com/wp-content/uploads/2025/01/filter-data.jpg)

On the next screen, give the filter a name and then set the actions you want to happen below, in this example i am going to move any emails from this email address direct to the trash folder

![](https://www.healthhosts.com/wp-content/uploads/2025/01/move-to-trash.jpg)

If you didn't want the email to be in any folder as it was from a sender that you no longer wanted to receive emails from you could choose the option to delete it, this will completely delete the email and it would not appear anywhere in your email.

![](https://www.healthhosts.com/wp-content/uploads/2025/01/delete-message.jpg)

## Video Tutorial

           Play Video
