Prevent unwanted email with a content compliance rule

Problem

How can you create a content compliance rule to filter out an unwanted email, such as a known phishing email?

Environment

  • Gmail

Solution

  1. Go to Gmail Compliance settings in the Admin console.
  2. Enter email messages to affect.
  3. Add one or more expressions to specify what's searched.
    • You can add up to 10 expressions. You must add and save each expression separately.
  4. Specify what happens if expressions match.