Content compliance

The Content compliance setting enables you to specify what action to perform for messages based on predefined sets of words, phrases, text patterns, or numerical patterns. The content compliance setting scans messages for content that matches one or more rules that you configure within the setting. You can choose whether these messages are rejected or delivered with modifications; for example, to notify others when the content of a message matches the rules that you set.

You have the option to set up Content compliance settings using regular expressions. A regular expression, also called aregex, is a method for matching text with patterns. For example, a regular expression can describe the pattern of email addresses, URLs, telephone numbers, employee identification numbers, social security numbers, or credit card numbers.

Note: For more details and instructions, see Guidelines for Using Regular ExpressionsRE2 Syntax for Regular Expressions, and Examples of Regular Expressions.

Similar to other email security settings, the Content compliance setting applies to all users in an organizational unit. Users within child organizations inherit the settings you create for the parent organization. You also have the option to add multiple Content compliance settings to each organizational unit. (Note that policies set for the group address are applied only after the message in question is sent to individual group members.)

Changes to the Content compliance setting will require at least one hour to take effect. You can track prior changes underAdmin console audit log.

Note: The Content compliance setting currently supports the scanning of text attachments only, but does not scan inside common attachment types, such as .doc, .xls, and .pdf.

Note: The Content compliance filtering does not currently support localized text with non-ASCII characters.

To configure Content compliance settings for your domain or organizational unit:

  1. Sign in to the Google Admin console
  2. From the dashboard, go to Google Apps > Gmail > Advanced settings
  3. In the Organizations section, highlight your domain or the organizational unit for which you want to configure settings (see Configure advanced settings for Gmail for more details).
  4. Scroll down to the Content compliance section:
    • If the setting's status is Not configured yet, click Configure (the "Add setting" dialog box displays).
    • If the setting's status is Locally applied, click Edit to edit an existing setting (the "Edit setting" dialog box displays), or click Add another to add a new setting (the "Add setting" dialog box displays).
    • If the setting’s status is Inherited, click View to view the inherited setting, or click Add another to add a new setting (the "Add setting" dialog box displays).
  5. When you're finished making changes, click Add setting or Save to close the dialog box. See the sections below for additional instructions and guidelines when you're finished making changes.

    Note: Any settings you add will be highlighted on the "Email settings" page.

  6. Click Save changes at the bottom of the "Email settings" page.
  7. In the "Content compliance" window, click Add a description to enter a unique name for this setting. See the sections below for additional instructions and guidelines.

To Know more click,
https://support.google.com/a/answer/1346934?hl=en