How to Whitelist an IP Address in Google Workspace


ℹ️ To complete this procedure, you must have security administrator privileges with Google Workspace.

🔢Steps to perform:

  1. Sign in to Google Admin.
  2. Select Apps > Google Workspace > Gmail from the left sidebar menu.
  3. Go to the Spam, Phishing, and Malware page.
  4. Select the Email whitelist tab and click the Edit button.
  5. Add the following IP Addresses:

        SMTP IP Address SMTP PTR Record
    149.72.161.59 o1.ptr4777.keepnetlabs.com
    149.72.42.201 o2.ptr4175.keepnetlabs.com
    149.72.154.87 o3.ptr8903.keepnetlabs.com
    37.1.145.36 smtp1.keepnetlabs.com
    37.1.145.35 smtp2.keepnetlabs.com
  6. Click the Save button.
  7. Go back to the Spam, Phishing, and Malware page.
  8. Select the Inbound Gateway option and click Enable, if not enabled.
  9. Add the IP addresses and click Save.
  10. Leave the option of Reject all mail not from gateway IPs unchecked.
  11. Select the option of Require TLS for connections from the email gateways listed above.
  12. Select the option of Message is considered spam if the following header regexp matches regexp and enter text for the Spam header tag that is unlikely to be found in a PST email. This field is required.

    Example: "kzndsfgklinjvsdnfioasmnfroipdsmfs"

  13. Select the option of Disable Gmail spam evaluation on mail from this gateway; only use header value.
  14. Click Save to complete the process.