Views:

To block personal Gmail account:

  1. Go to HTTP > HTTP Inspection > Filters.

    Filters

  2. Under the Inspection Filter section, in the Filter Name field, enter Check_GMAIL.

    Create filter name

  3. Tick the Advanced View radio button then copy and paste the following expression in the Patterns field:

    google_act REQ {
    HOST: .*\.google\.com
    EVENT: {
    OP: HEADER_REMOVE
    HEADER: X-GoogApps-Allowed-Domains
    }
    EVENT: {
    OP: HEADER_ADD
    HEADER: X-GoogApps-Allowed-Domains
    VALUE: your-allowed-domain1, your-allowed-domain2
    }
    }

     
    Replace "your-allowed--domain1" or "your-allowed-domain2" with your corporate domain(s).
     

    Advanced View

  4. Navigate to HTTP Inspection > Policies, and make sure the Check_GMAIL filter is set to Allow Scan:

    HTTP inspection policy

  5. Save and deploy the policies to the clients.
  6. Verify that the personal Gmail is blocked by logging in to your private Gmail account. It should look like the following: