Solved

Problem Configuring Email Alerts with File Server Resource Manager 2012

Posted on 2014-10-06
8
2,480 Views
Last Modified: 2015-06-03
I am trying to configure the File Resource Manager to send me email notifications when quotas are hit and so forth.  I have configured the Email Notifications tab as follows:

SMTP Server Name: exchange.ad.mydomain.com
Default Administrator Recipient: administrator@mydomain.com
Default "From" email address: fileserver@mydomain.com

When I try to send the test email I get the following error:

"Failed to send the test email due to the following error: Cannot send the email due to an error.  Check the application event log for more information."

Upon checking the event log, I see the following:

"The SMTP server requires a secure connection or the client was not authenticated.  The server response was 5.7.1. Client was not authenticated."

Upon my research, the server needs the Send-As privileges on the user account.  With that said, I created a user account "svc_FSRM" and ran the following powershell command:

Add-ADPermission -Identity “svc_FSRM” –user “ad.mydomain.com\fileserver$” -ExtendedRights “Send-as”

When I go into the Exchange ECP and access the svc_FSRM user account, under mail delegation section "fileserver" is listed under the "Send As" section.

Unfortunately, when I try to send the test email again from File Server Resource Manager....I am still given the same error as before.  For the life of me, I cannot seem to figure out why the test message will not come through.  Any thoughts?
0
Comment
Question by:csimmons1324
  • 4
  • 3
8 Comments
 
LVL 9

Expert Comment

by:RantCan
Comment Utility
Allow anonymous authentication on the receive connector.
0
 
LVL 24

Expert Comment

by:Mohammed Khawaja
Comment Utility
In order for this to work, the logged on user must be svc_farm.  Best way for things such as this (as well as any future monitoring/alerting), what you should do is to use an IIS server for mail relay and lock it down by IP address.  Create a remote domain pointing to your Exchange server and forward all messages to your CAS server.  Just ensure to configure CAS server to accept messages from the IIS server.  This way, you are not making changes to Exchange and you can control very easily as to what machines can relay messages.
0
 

Author Comment

by:csimmons1324
Comment Utility
I forgot to mention that I am using Server 2012 R2 and Exchange 2013 which are both run in-house.
0
 
LVL 24

Expert Comment

by:Mohammed Khawaja
Comment Utility
I think the issue is that you are specifying the computer name as the username which will not work.  Try it with a username.
0
Are end users causing IT problems again?

You’ve taken the time to design and update all your end user’s email signatures, only to find out they’re messing up the HTML, changing the font and ruining the imagery. What can you do to prevent this? Find out how you can save your signatures from end users today.

 

Author Comment

by:csimmons1324
Comment Utility
Mohammed,

From what I have read, FSRM attempts to send the email using the computer account.  For this reason, the computer account needs to be granted "Send-As" permissions on the mailbox that is used in the "FROM" email address.
0
 
LVL 24

Expert Comment

by:Mohammed Khawaja
Comment Utility
I have a suggestion and that is to create a new/separate SMTP connection which will be used by FSRM only.  To do this, you could run the powershell listed below:

new-receiveconnector -FSRMmail -usage custome -bindings y.y.y.y:25 -remoteIPranges x.x.x.x -authmechanism basicauth -permissiongroup anonymous

y.y.y.y would be the IP of the SMTP server (your Exchange server) and x.x.x.x would be the IP of the FSRM.  Later on you could add more IPs to the allowed relay list.
0
 

Accepted Solution

by:
csimmons1324 earned 0 total points
Comment Utility
I had to enable "Exchange Users" on the Send Connector to resolve the problem.
0
 

Author Closing Comment

by:csimmons1324
Comment Utility
I discovered the solution on my own.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now