PingDirectory

Configuring an SSL connection to the SMTP server

Steps

  1. To create an external SMTP server using SSL, run the dsconfig command.

    Example:

    $ bin/dsconfig create-external-server \
      --server-name ssl.smtp.example.com \
      --type smtp --set server-host-name:stmp.gmail.com \
      --set server-port:465 \
      --set smtp-security:ssl \
      --set "user-name:my.name@example.com" \
      --set password:xxxxxx --set "smtp-timeout:10s"
  2. To configure an SMTP server, run the dsconfig command.

    Example:

    $ bin/dsconfig set-global-configuration-prop \
      --set smtp-server:ssl.smtp.example.com

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