Tuesday, 4 October 2011

Part 9 - Securing email with anti spam on Exchange 2010 setup Multi-Tenancy

The next step is to secure your mail using the built in anti spam feature. To activate this use the following command in Exchange management shell to change the directory to the location of the script
set-location 'C:\Program Files\Microsoft\Exchange Server\V14\Scripts\'

Then in Exchange management shell type the command


./install-AntispamAgents.ps1


Once this command is run you need to restart the transport service using the following command:


Restart-Service MSExchangeTransport


You can now view you filter settings using:


Get-RecipientFilterConfig


Once the service is restarted you need to change the filter slightly to enable it to work. Use the following command:


Set-RecipientFilterConfig -RecipientValidationEnabled $false


You may get a message that a value was not changed. This is ok as sometimes the default is set to true and this just swaps it.


You will then need to set the internal smtp permeter to enable the anti spam on all your email servers. Use the following command. Replace the red text with the ip addresses of your exchange servers(seperated by commas)


Set-TransportConfig -InternalSMTPServers 10.0.1.10,10.0.1.11


From this point you should then consider wether you need further protection. If you do then Forefront protection is a great bet.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.