Whitelist IP addresses in Gmail
If you have the legacy free edition of Google Apps, upgrade to G Suite to get this feature.
As a G Suite administrator, you can help ensure that mail from specific IP addresses doesn't get marked as spam. Do this by adding the addresses to an email whitelist in your Google Admin console.
When you create an email whitelist for your G Suite account, it affects your entire domain. You can’t create personal email whitelists. See Other settings you might use instead.
Add an IP address to your whitelist
From the Admin console dashboard, go to AppsG SuiteGmailAdvanced settings.
Tip: To see Advanced settings, scroll to the bottom of the Gmail page.
On the left, select the top-level organization, typically your domain.
Scroll to the Email whitelist setting in the Spam section. Or, in the search field, enter email whitelist.
Enter the IP address of the incoming mail servers you want to whitelist. To add more than one IP address, enter an IP range in CIDR notation or separate each IP address with a comma.
At the bottom of the Gmail Advanced settings page, click Save.
It can take up to an hour for any changes to take effect. You can track changes in the Admin console audit log.
Spam setting—If you want to whitelist senders based on their email address or domain name, rather than their sending server IP address, create an approved senders list in the Spam setting. See customize spam filter settings.
Inbound gateway setting—If you have incoming mail servers that process your mail before sending to Google's servers, enter them in the Inbound Gateway setting instead. And, remember, if you enter an IP address in an inbound gateway configuration and add the same IP address to an email whitelist, the IP address won’t be whitelisted. This is because of how Gmail determines the “true sender,” or source IP address. Learn more about using an inbound mail gateway in Gmail, and how it determines the source IP address.
Approved sender lists—In addition to the Spam setting, you can whitelist email addresses and domains using the address lists controls available in the Blocked senders, Restrict delivery, Secure transport (TLS) compliance, Content compliance, Attachment compliance, Objectionable content, and Routing settings.