Run the following command from the C:\Program Files\Microsoft\Exchange Server\V14\Scripts folder.
2. After the script has run, restart the Microsoft Exchange Transport service by running the following command.
For all anti-spam features to work correctly, you must have at least one IP address of an internal SMTP server set on the InternalSMTPServers parameter on the Set-TransportConfig cmdlet. If the Hub Transport server on which you’re running the anti-spam features is the only SMTP server in your organization, enter the IP address of that computer.
Set-TransportConfig -InternalSMTPServers IP_address