000033773 - How to configure RSA Archer notifications to work with mail server that requires authenticated connection

Document created by RSA Customer Support Employee on Aug 15, 2016Last modified by RSA Customer Support on Sep 19, 2019
Version 6Show Document
  • View in full screen mode

Article Content

Article Number000033773
Applies ToRSA Product Set: Archer
RSA Product/Service Type: Archer
RSA Version/Condition: 5.4, 5.5 
Issue

Question



How can RSA Archer be configured to forward notifications to a mail server that requires authentication; for example, a hosted Exchange server on Microsoft Office 365 cloud services?



Problem


Mail server connection information is configured in the Archer Control Panel, but there are no fields for entering logon name and password.
 
Archer Control Panel - Notifications Configuration


If Archer tries to forward email to the mail server without login credentials, the mail server will ask for credentials and Archer will not be able to respond.  The notification job will fail with the following error observed in Archer.ArcherTech.JobFramework.Job.YYYYMMDD.xml:
 
<AssemblyVersion>5.5.20103.1001</AssemblyVersion>
<ExceptionType>ArcherTech.Common.Exceptions.SendEmailNotificationException, ArcherTech.Common, Version=5.5.20103.1001, Culture=neutral, PublicKeyToken=null</ExceptionType>
                        <Message>Error sending the email message generated for notification template 'NOTIFICATION_TEMPLATE' with id = 'ID'.</Message>
                        <Source />
                        <ContextData>
                            <Resolution>Please verify that the SMTP server configured in the ACP is reachable. For further support, please contact your system administrator.</Resolution>
                            <SmtpServerAddress>SMTP_SERVER</SmtpServerAddress>
                        </ContextData>
                        <StackTrace />
                        <InnerException>
                            <ExceptionType>System.Net.Mail.SmtpException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxxxxx</ExceptionType>
                            <Message>Failure sending mail.</Message>
                            <Source>System</Source>
                            <StackTrace>   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at ArcherTech.Notifications.Providers.Mail.DefaultSmtpProvider.Send(MailMessage mailMessage, Notification notification)</StackTrace>
                            <InnerException>
                                <ExceptionType>System.Net.WebException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxxxxx</ExceptionType>
                                <Message>Unable to connect to the remote server</Message>
                                <Source>System</Source>
                                <StackTrace>   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpTransport.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)</StackTrace>
                                <InnerException>
                                    <ExceptionType>System.Net.Sockets.SocketException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxxxxx</ExceptionType>
                                    <Message>A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond SMTP_SERVER:25</Message>
                                    <Source>System</Source>
                                    <StackTrace>   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)</StackTrace>
                                </InnerException>
ResolutionIIS Manager's SMTP E-mail feature can be used as an intermediary to relay email from Archer to an SMTP server that requires authentication.
  1. Open the Archer Control Panel > Instance Information > General tab.
  2. In the Notifications section, enter the server address for the Archer web site.
  3. Open IIS Manager.
  4. Click on the Archer web site.
  5. In the Feature pane, open SMTP E-Mail.
  6. In the SMTP E-Mail window, enter the address and authentication settings for the mail server.

IIS SMTP E-Mail Relay Configuration
Notes
  • Beginning in RSA Archer 6.3, mail server logon credentials can be configured in the Archer Control Panel user interface.
  • The instructions above assume the SMTP feature is already in place. For full details installing the SMTP feature and specific instructions regarding Microsoft Office 365 can be found in the article How to configure IIS for relay with Office 365.

Attachments

    Outcomes