Configuring a StartTLS connection to the SMTP server - PingDirectory - 9.3

PingDirectory 9.3

bundle
pingdirectory-93
ft:publication_title
PingDirectory 9.3
Product_Version_ce
PingDirectory 9.3 (Latest)
category
Product
pd-93
pingdirectory
ContentType_ce
  1. To configure a StartTLS connection to the server, use the dsconfig command.
    $ bin/dsconfig create-external-server \
      --server-name myTLSServer --type smtp \ 
      --set server-host-name:tls.smtp.example.com \
      --set server-port:587 \ 
      --set smtp-security:starttls \
      --set user-name:MyAccountName \ 
      --set password:AAD5yZ+DjvwiYkBSMer6GQ6B3szQ6gSSBjA=
  2. To configure a newly-created SMTP server, use the dsconfig command.
    $ bin/dsconfig set-global-configuration-prop \
      -set smtp-server:myTLSServer

    This command adds the server to the global list of mail servers that the PingDirectory server can use.