We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

Create filter from the actual email-message?

  • 7 majibu
  • 2 wana tatizo hili
  • 1 view
  • Last reply by finitarry

more options

Hello everyone! I keep gettnig LOADS of spam from different user emails different subjects etc.

I would like to create a filter that searches the actual message for a word. I thought "body" did that but appearently it doest.

For example, i want to filter out all the emails mentioning "free" and "Casino" INSIDE the message.

Or russian letters. Any ideas?

Hello everyone! I keep gettnig LOADS of spam from different user emails different subjects etc. I would like to create a filter that searches the actual message for a word. I thought "body" did that but appearently it doest. For example, i want to filter out all the emails mentioning "free" and "Casino" INSIDE the message. Or russian letters. Any ideas?

All Replies (7)

more options

Trying to set-up filters for spam messages is a battle you can't win. For blocking specific senders you can use these instructions.

https://support.mozilla.org/en-US/kb/blocking-sender

More instructions on setting up filters in this article.

http://kb.mozillazine.org/Filters_%28Thunderbird%29

It would make more sense to set-up your junk mail controls, and train your junk filter.

http://kb.mozillazine.org/Junk_Mail_Controls

more options

Thank you!

But it's also for my work. I get a message by the post office. One is for picked up packages and one is for delievered packages. Both are from the same reiepent and same subject. I need a word inside the message that only comes in that particular email to be filtered.. possible?

more options

You can create a filter with 'Body' 'contains'.

Check the article linked above for more information on creating filters.

more options

You are very kind with your support thank you. I tried to understand the article but i couldnt really.

English is not my native language.

I have IMAP and want to filter this: "Mottagaren har nu hämtat ut ditt brev." inside the body..

It says I need to create a custom header, but i dont understand what i should type and where. Would you be able to to help me out?

more options

"Mottagaren har nu hämtat ut ditt brev." sounds like Swedish? I have no idea about Swedish.

Try these steps:
Select the received message in the message pane.
From the main menu bar: Message - Create Filter from Message
In the windows which opens enter a name for your new filter.
Select 'Body' from the top left drop down-menu.
Select 'Contains' from the drop-down menu right next to it.
Enter the search word into the text box.
Choose an action from the bottom left drop-down menu.
Save the filter and activate it.

more options

Again thanks for your answer - that is exactly how I've done it but it wouldnt work. In the link you sent me - It says that IMAP needs me to make a custom header. I don't understand how I can make that.. Im using mac if that is of importance. Thanks again Christ

more options

You can make a single filter that has more than one rule. For example, you could make a filter that says "Body" contains "casino" and add another line saying "From" contains "fred@yahoo.com".