Disabling Local Anti-spam Checks
Once your MX records have been changed to our service, there is no reason to have any other anti-spam solutions operating. In fact, having multiple concurrent anti-spam solutions can increase your problems. We recommend that all other anti-spam services be deactivated. This may imply modifying configurations in your server, firewall, or router. This all depends on your infrastructure.
Make sure that all your domains are added to our filtering service before making these modifications. It is best to wait for the expiration of the TTL on your MX records before making these changes.
You can find our complete list of IP addresses by looking at the Related Articles at the bottom of the page.
IN THIS ARTICLE | |
Office 365/Exchange Online | Microsoft Exchange |
G Suite (Google Apps) | Shared Hosting |
Disabling Office 365/Exchange Online Anti-spam
To disable Exchange Online Protection (EOP):
- 1
- Login to the Office 365 Admin center
- 2
- Click on mail flow, rules, the plus sign, and selecting Bypass spam filtering.
- 3
-
Input the options below and click
save.
Here is the Powershell command to create the bypass with the new Hornetsecurity IP addresses :
New-TransportRule -Name "Bypass Spam Filter Hornetsecurity/Zerospam" -Comments "Disable M365 spam filter for Zerospam/Hornetsecurity IPs" -Priority 0 -SenderIpRanges "209.172.38.64/27", "108.163.133.224/27", "216.46.2.48/29", "216.46.11.224/27", "199.27.221.64/27", "83.246.65.0/24", "173.45.18.0/24", "94.100.128.0/24", "94.100.129.0/24", "94.100.130.0/24", "94.100.131.0/24", "94.100.132.0/24", "94.100.133.0/24", "94.100.134.0/24", "94.100.135.0/24", "94.100.136.0/24", "94.100.137.0/24", "94.100.138.0/24", "94.100.139.0/24", "94.100.140.0/24", "94.100.141.0/24", "94.100.142.0/24", "94.100.143.0/24", "185.140.207.0/24", "185.140.206.0/24", "185.140.205.0/24", "185.140.204.0/24" -SetSCL -1
Disabling Microsoft Exchange Anti-spam
Make sure Content Filtering is not active. If you have any other local antispam software running, make sure that it is not scanning contents sent from all of our IPs (see Related Articles)
General Instructions
Microsoft has several articles discussing Content Filtering management. Here is a general-use article that explains how to deactivate Content Filtering for external emails: Content Filtering Procedures
Microsoft Exchange 2013
You can read about managing Content Filtering for Exchange 2013 by reading this article.
Microsoft Exchange 2010
You can read about managing Content Filtering for Exchange 2010 by reading this article.
Microsoft Exchange 2007
You can read about managing Content Filtering for Exchange 2007 by reading this article.
Disable G Suite Anti-spam
- 1
-
Sign in to your
Google Admin console. and navigate to
Advanced Settings for Gmail.
(Apps → G Suite → Gmail → Advanced settings.) - 2
- If multiple entries are shown in the Organizations section, highlight your domain (top-level org).
- 3
-
Under the
Spam, phishing, and malware header, find the
Inbound gateway option and click
Configure.
- 4
-
Give the inbound gateway rule a descriptive name like "Inbound Email Filtering" to easily identify it later.
- 5
-
Under
Gateway IPs, enter all IP ranges we have listed on our
Filtering IP page and make sure to check all 3 relay options:
- Automatically detect external IP
- Reject all mail not from gateway IPs
- Require TLS for connections from the email gateways listed above
- Automatically detect external IP
- 6
-
Under
Message Tagging, check "
Message is considered spam if the following header matches" and enter
X-Spam-Flag: NULL
as the Regexp value. Make sure to also check " Disable Gmail spam evaluation on mail from this gateway". - 7
- Save your Inbound Gateway settings.
- 8
-
Review your inbound gateway settings and click
Save at the bottom of the Gmail settings page.
Disable Anti-spam for a Shared Hosting Provider
Disable any local anti-spam that you might have running (server, email hosting, desktops). Two simultaneous anti-spam solutions make it difficult to diagnose email issues. Furthermore, our filtering provides you with complete protection.
Refer to your specific product's documentation for instructions on how to disable anti-spam.