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 can I create advanced search folders?

  • 4 replies
  • 1 has this problem
  • 1 view
  • Last reply by sfhowes

more options

For example:
Consider the following: I have multiple mail accounts, want to search multiple "and" and "any" criteria simultaneously.

One rule single rule would look like this:
Search for messages in:
Inbox on account 1
Sent on account 1
Inbox on account 2
sent on account 2

match All of the following:
to does not contain: soandso@email.com
subject does not contain: "this string"

Match any of the following:
to contains: someone@somewhere.com
from contains: someone@somewhere.com

For example:<br> Consider the following: I have multiple mail accounts, want to search multiple "and" and "any" criteria simultaneously.<br> <br> One rule single rule would look like this:<br> Search for messages in:<br> Inbox on account 1<br> Sent on account 1<br> Inbox on account 2<br> sent on account 2<br> <br> match All of the following:<br> to does not contain: soandso@email.com<br> subject does not contain: "this string"<br> <br> Match any of the following:<br> to contains: someone@somewhere.com<br> from contains: someone@somewhere.com<br>

Modified by spezticle

All Replies (4)

more options

Ctrl+Shift+F Set your search and use the save button in the search dialog to make it a virtual folder.

more options

this doesn't let me "and" and "or", as well as multiple folders. I can only match "all" or "any" but not a combination of both.

more options
more options

As has been mentioned, you may not (easily) be able to search simultaneously with AND and ANY filters. But if you change the rule for From and To to 'is (or isn't) in my address book' + (select an address book), you can effectively combine an ANY rule for addresses with an AND rule for Subject etc.

A Saved Search is similar to a Ctrl+Shift+F folder search, except you can add folders from different accounts in the same saved search.