

Configuring your mail server-When configuring your mail server to accept mail from Google IP ranges, see Mail server-specific instructions for details about specific types of mail servers.

Whatever firewall type you're using, configure it to allow email traffic from the current range of Google IP addresses (see Google IP ranges). Configuring your firewall-The step-by-step instructions for configuring your firewall vary, depending on the type of firewall, so you may consider consulting directly with the manufacturer or vendor for instructions.If a malicious sender is able to find your mail server and connect directly, your users may receive spam, viruses, and malware. This prevents unexpected spam, which is sometimes the result of direct connections to your mail server. We recommend that you configure your mail server and firewall to refuse port 25 traffic, except from Google IP ranges. Configuring your firewall and mail server We recommend that you make this change immediately if you're switching your service to Google Workspace, or your mail flow may be interrupted.
