Symantec Management Platform (Notification Server)

 View Only
  • 1.  Fail sending test e-mail. Notification Server Settings.

    Posted Apr 18, 2014 07:07 AM

    Hi all,

    I try to send the test e-mail and appears an error "There was an error sending your message. Make sure you have entered a valid SMTP server and port."

    SMTP use SSL authentication.

    error.png

    LOG:

    The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.1 Client was not authenticated.
       at Altiris.NS.Utilities.MailStdScripting.SendSMTPSync(AltirisMailMessage mailMsg, Int32 tryCount)

    System.Net.Mail.SmtpException (System): The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.1 Client was not authenticated
       at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)
       at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception)
       at System.Net.Mail.SmtpClient.Send(MailMessage message)
       at Altiris.NS.Utilities.MailStdScripting.SendSMTPSync(AltirisMailMessage mailMsg, Int32 tryCount)

    Exception logged from: 
       at Altiris.Diagnostics.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception, String footer)
       at Altiris.NS.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception)
       at Altiris.NS.Utilities.MailStdScripting.SendSMTPSync(AltirisMailMessage mailMsg, Int32 tryCount)
       at Altiris.NS.Utilities.MailStdScripting.SendSMTPSync(String strFrom, String strTo, String strSubject, String strBodyText, Int32 nBodyFormat)
       at Altiris.NS.UI.cfgEmailConfig.btnTestEmail_Click(Object sender, EventArgs e)
       at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
       at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
       at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest()
       at System.Web.UI.Page.ProcessRequest(HttpContext context)
       at Altiris.NS.UI.Controls.PageCachePage.ProcessRequest(HttpContext context)
       at Altiris.NS.UI.AltirisPage.ProcessRequest(HttpContext context)
       at ASP.admin_configuration_cfgemailconfig_aspx.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at System.Web.HttpApplication.ApplicationStepManager.ResumeSteps(Exception error)
       at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
       at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
       at System.Web.HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
       at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)



  • 2.  RE: Fail sending test e-mail. Notification Server Settings.

    Posted Apr 18, 2014 02:38 PM
    Is 25 still used when ssl is enabled, as I know that a different port is sometimes used instead? Have you checked an actual email client that uses tge same ssl smtp server?


  • 3.  RE: Fail sending test e-mail. Notification Server Settings.

    Posted Apr 21, 2014 03:21 AM

    Hi,

    Tried to change the port - the same error.

    Service Desk works with these e-mail settings.

    2.png



  • 4.  RE: Fail sending test e-mail. Notification Server Settings.

    Broadcom Employee
    Posted Apr 21, 2014 04:37 AM

    Hi Olga,

    I see that in 1st screenshot you've set smtp user name as email@address, but in 2nd screenshot, where it works, you're using account name as smtp user.

    Doest it make sense, if you will try to use smtp user as account name (*****\SD_Request) in "Notification Server Settings" page for SMTP instead of email@address?

    Thanks,

    IP.



  • 5.  RE: Fail sending test e-mail. Notification Server Settings.

    Posted Apr 21, 2014 05:35 AM

    Hi Igor

    It does not help. The same error.

    3.png



  • 6.  RE: Fail sending test e-mail. Notification Server Settings.

    Posted May 12, 2014 04:01 PM

    Could it be that you're using SSL on the SMTP server?   My company does not use SSL on our internal SMTP server so I'm not sure if NS supports this configuration or not.  That is the only difference that I see between the ServiceDesk and NS settings.  Have you looked at the Altiris Log Viewer on the NS to see if it gives more information?



  • 7.  RE: Fail sending test e-mail. Notification Server Settings.

    Posted May 13, 2014 07:54 AM

    Hi!

    Yes, we're using SSL on the SMTP server. 

    Log Viewer on the NS:

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



  • 8.  RE: Fail sending test e-mail. Notification Server Settings.

    Posted May 13, 2014 09:03 AM

    The error you received in the logs further states that Notification Server is not configured to use SSL for SMTP communication.   I do not see anything regarding this in the settings for SMP and I do not see anything in NSConfigurator for this either.  My bet would be that it does not support SSL over SMTP.



  • 9.  RE: Fail sending test e-mail. Notification Server Settings.

    Posted May 20, 2014 11:22 AM

    Were you able to resolve this?