-
Run the following command from the C:\Program Files\Microsoft\Exchange Server\V14\Scripts folder.
./install-AntispamAgents.ps1
2. After the script has run, restart the Microsoft Exchange Transport service by running the following command.
Restart-Service MSExchangeTransport
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








thanks Simon, short and to the point.