These instructions also apply to Microsoft Small Business Server, since it relies on Microsoft Exchange to provide email services.
Microsoft Exchange allows you to restrict the IPs that are allowed to deliver email to it. Because spammers might have cached the IP address of your mail server, it would be a good idea to only allow email from SpamHero IPs to force all email through our filter.
Before making changes to your Exchange server, login to the SpamHero control panel and go to Settings > Delivery mail host. Change the Mail host configuration to Mail host will only accept email from specified IPs or on a specific port (and leave the port blank or set it to 25):
Microsoft Exchange 2013, 2016 & 2019
Exchange 2013 uses a web based interface called Exchange Admin Center (EAC). From the EAC, do the following:
- Select "mail flow" -> receive connectors.
- Select "Default Frontend [servername]" and click the edit icon (looks like a pencil).
- On the "Default Frontend [servername]" select the "scoping" option and then select the default IP address range (0.0.0.0-255.255.255.255) and click the remove icon (looks like a minus symbol to the right of the edit icon).
- Click on the add icon (looks like a plus symbol) to add the SpamHero IPs one at a time.
- After all SpamHero IPs have been added, click on the save button.
- Restart Exchange to activate your changes.
Microsoft Exchange 2007 & 2010
- Open the Exchange Management Console.
- Go to Server Configuration -> Hub Transport -> Default Receive Connector -> Properties -> Network tab.
- You will see a section that says "Receive mail from remote servers that have these IP addresses".
- Remove the default rule for 0.0.0.0 to 255.255.255.255.
- Add the SpamHero IPs one entry at a time.
- Stop and restart the MSExchangeTransport service.
Microsoft Exchange 2003
To do this using the Exchange System Manager:
- Click Start, point to Programs, point to Microsoft Exchange, and then click System Manager.
- In Exchange System Manager, expand the following object:
Servers -> [ Your_Exchange_Server_Name ] -> Protocols -> SMTP
- Right-click the virtual SMTP server where you want to restrict inbound IPs, and then click Properties.
- Click the Access tab, and then Connection...
- Add the SpamHero IPs.
- Enable the "Only the list below option" and add the SpamHero IPs.
- Restart Exchange to activate your changes.