How do I create complex searches on a RazorSafe appliance?
Complex searches can be performed on RazorSafe appliances by combining the search terms with Term Modifiers and Boolean Operators.
NOTE: This article pertains to AOS 4.3 and earlier, but Term Modifiers and Boolean Operators can still be used in AOS 5.0 and later, for more information see the RazorSafe Online Help.
For example, a user wants to search all emails with a Subject containing the string, Exception Test, regardless of date and where the search should ignore any mail sent to Master@example.com. This cannot be achieved just by mentioning specific terms in search fields. For this scenario, the user would need to set an exception within the original search criteria.
The primary search condition should find all emails with the Exception Test string in the subject, regardless of date. For example:
- For Search Dates, select Search All Dates
- In the Subject field, type in "Exception Test"
The secondary search condition should exclude any email sent to Master@example.com from the primary search. So, the user must use the following combination of Boolean operators and search terms to achieve this:
- In the Email To field, type in ' * -"Master@example.com" '
Or you can use,
- In the Email To field, type in ' * NOT "Master@example.com" '
In both conditions, the search term is a combination of two different search terms: asterisk (*) and "Master@example.com" which are combined with the single-quote (') operator.
The Term Modifier, asterisk (*), used in the Email To search field will prompt the appliance to find all possible Email To records on the RazorSafe while considering the primary search criteria.
If -"Master@example.com" is used in the Email To search field along with the Term Modifier (*), it will filter out any mail that was sent to Master@example.com.
For more information on Term Modifiers and Boolean Operators, see the RazorSafe online help.
To access help on advanced search:
- Log in to the RazorSafe.
- Go to Email Viewing > Advanced Search.
- Click the Help link in the top-right corner of the page.
Other Example Searches
Search for any email containing the words guaranteed results:
- In the Search Text field type in "guaranteed results"
Search for any email from January 5, 2004 to December 14, 2005 from email@example.com to firstname.lastname@example.org:
- For Select Dates, choose the date range (Jan 5, 2004 to Dec 14, 2005)
- In the Email From field, type in "email@example.com"
- In the Email To field, type in "firstname.lastname@example.org"
Search for any email from email@example.com with the words easy money within 6 words of each other, and a Subject line with any variation of the term free.
- In the Email From field, type in "firstname.lastname@example.org"
- In the Search Text field, type in "easy money"~6
- In the Subject field, type in free*
Search for an email dated December 25, 2005 to johnny@test, but you are not sure about the suffix of the email address, with a subject containing some variation of anti-virus and the words install or software and unsure, with the emphasis on unsure.
- For the Start Date field, select December 25, 2005
- For the End Date field, select December 25, 2005
- In the Email To field, type in "johnny@test*"
- In the Subject field, type in anti?virus
- In the Search Text field, type in (install OR software) AND unsure^5