Windows 2008 R2 contains a new version of the file server resource manager (FSRM) which has been improved a lot. One of the options this tool has is to send notifications for example when an alert is activated. Normally this is really easy to configure, the only thing you need is a mailserver which will accept the traffic and will deliver the e-mail. 

But let’s assume you have an Exchange 2010 Server in your environment and you use the default receive connectors. In most situations the default receive connector is configured to accept mail which is send from the internet, this can be done by adding the anonymous permission group to the receive connector. 

However this connector can’t be used by FSRM. When pressing the test button the following event is logged in the application event log: 

 

As you can see the event will tell you that the account you are using is not allowed to send e-mail as the alert account.

When enabling SMTP logging you will see the following entries in your log:

 

The FSRM will authenticate using the computer account from the system on which FSRM is running, in this case LAB-DC-01. But how do you need to configure Exchange so it will accept the message and send the alert e-mail? To accomplish this, a seperate receive connector needs to be created. This because we don’t want everybody can use this receive connector_._  

But what are the correct settings for the receive connector? The receive connector will need to accept basic authentication and the anonymous permission group needs to be added to the connector. By performing the following Powershell cmdlet the connector is created: 

’'’PowerShell New-ReceiveConnector -Name FSRM -Usage Custom -Bindings 192.168.1.30:25 -RemoteIPRanges 192.168.1.24 -AuthMechanism BasicAuth -PermissionGroups Anonymous  ‘’’

Now when performing the test again it will succeed: 


Comments


Johan Veldhuis