# Zimbra Filter - SPAM Moved to Junk Folder (https://docs.voonami.io/docs/zimbra/zimbra-filter-spam-moved-to-junk-folder)

Utilize the following filter to automatically move emails marked as SPAM by our Spam/AV filter into your Zimbra Junk folder.

# Step-by-step guide (Modern Web Client) [#step-by-step-guide-modern-web-client]

1. Login to [https://zimbra.voonami.com](https://zimbra.voonami.com/).
2. Click the **gear icon** next to your username on the top right of the web client.
3. Select Settings.

![image-20240710-213746.png](/images/7771706/image-20240710-213746.png)

4. Navigate to filters on the left side and click + Add a filter.

![image-20240710-213802.png](/images/7771706/image-20240710-213802.png)

5. On the top right of the filters, click Switch to advanced.

![image-20240710-213838.png](/images/7771706/image-20240710-213838.png)

6. Add the spam rule as follows:

   1. Filter Name: spam
   2. If an incoming message meets any of these conditions.
   3. Condition: Header named X-Voonami-Mail-Filter contains SPAM
   4. Then: Move to folder Spam
   5. Also: checked And do not process additional filters.

![image-20240710-213941.png](/images/7771706/image-20240710-213941.png)

7. Click **Save**.
8. Ensure the Filter is checked.

![image-20240710-214004.png](/images/7771706/image-20240710-214004.png)

9. Click **Save**.
