Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I create a mail filter rule that runs against the spam folder?

  • 4 replies
  • 1 has this problem
  • 3 views
  • Last reply by Will_Rubin

more options

I keep getting the same spam email in my spam folder: we see you viewing porn so send us some bitcoin. I've set up a filter rule to delete the email but it doesn't seem to run against the spam folder even though I've explicitly selected that folder. If I move the email to another folder and point the rule to that folder it works as expected. Just not when it's in spam. Any way to get this to work? It's really annoying to have to keep deleting these.

I keep getting the same spam email in my spam folder: we see you viewing porn so send us some bitcoin. I've set up a filter rule to delete the email but it doesn't seem to run against the spam folder even though I've explicitly selected that folder. If I move the email to another folder and point the rule to that folder it works as expected. Just not when it's in spam. Any way to get this to work? It's really annoying to have to keep deleting these.

All Replies (4)

more options

If you're concerned about keeping messages in the spam folder, you could set the Retention Policy (right-click the folder, Properties) to automatically delete according to time or number of messages.

more options

It's not so much about keeping things in the spam folder but more that I want them out before I have to see them. These are all worded almost exactly the same and recently come in once or more per day. My goal is not to know they were even there. This is what the filter would do if I could get it to work in the spam folder.

more options

If you enable the filter log, can you see any reason why it works in another folder but not the spam folder?

more options

No, the log shows blank when I try to run against the Spam folder. If I copy the message into the inbox and run the filter the log only shows the rule being applied to the inbox. Here's the log:

[9/11/2019, 5:39:03 AM] Applied filter "bitcoin porn" to message from Violet <jwkim@froebel.co.kr> - Be sure to read this message! Your personal data is threatened! at 9/10/2019, 1:26:35 PM marked as read"

"[9/11/2019, 5:39:03 AM] Applied filter "bitcoin porn" to message from Violet <jwkim@froebel.co.kr> - Be sure to read this message! Your personal data is threatened! at 9/10/2019, 1:26:35 PM deleted