Configure dSeries Server for SMTP Office365 with Authentication
search cancel

Configure dSeries Server for SMTP Office365 with Authentication

book

Article ID: 369254

calendar_today

Updated On:

Products

ESP dSeries Workload Automation ESP dSeries Workload Automation - Scheduler (dSeries)

Issue/Introduction

We need to configure the dSeries Server so that it sends email using Office365. Also, we need to configure authentication with Office365. How? 

Environment

ESP dSeries Workload Automation DE: 12.2, 12.3, 12.4, 25.0

Resolution

  1. Configure dSeries with the SMTP Server as described here: Configure SMTP Server
  2. Stop DE Server
  3. Update the appropriate startup file:
    • Linux:
    • Create a backup of the file: <DE_install_dir>/bin/startServer script
    • Update the line in bin/startServer: ARGS="..." to include the parameters they need from the url shared earlier.
      Example:
      • ARGS=" -Xms${MIN_HEAP_SIZE}m -Xmx${MAX_HEAP_SIZE}m -Duser.dir=${CAWA_HOME} -Dserver.pidfile=${PID_FILE} -Duser.language=en -Dlog4j.configurationFile=file:///${CAWA_HOME}/conf/server.log4j.xml -Dlog4j.debug=true -Dlog.directory=${CAWA_HOME}/logs -Dlax.root.install.dir=${CAWA_HOME}/ -Dlog4j.configuratorClass=com.ca.wa.core.engine.log.LogConfigurator -Desp.mail.smtp.host.user=user1234 -Desp.mail.smtp.host.password=password -Dmail.smtp.starttls.enable=true -Dmail.smtp.starttls.required=true -Dmail.smtp.ssl.protocols=TLSv1.2"
    • Windows: 
    • Create a backup of the file: <DE_install_dir>\conf\windows.service.properties
    • Update the lines in windows.service.properties to include the following additional parameters:  
      Note: jvmproperty_N represents the Nth JVM property. Add new properties # in continuation, starting with jvmproperty_11 (for example) if none exists yet.
      • jvmproperty_11=-Desp.mail.smtp.host.user=<username>
      • jvmproperty_12=-Desp.mail.smtp.host.password=<password>
      • jvmproperty_13=-Dmail.smtp.starttls.enable=true
      • jvmproperty_14=-Dmail.smtp.starttls.required=true
      • jvmproperty_15=-Dmail.smtp.ssl.protocols=TLSv1.2
  4. Save and close the file
  5. Start DE server

 

Additional Information

Configuring the Server to Send Email Notification via SMTP Server with Authentication