Page created: 26 Jul 2021
|
Page updated: 7 Dec 2022
| 1 min read
9.0 Product PingDirectory Directory Capability Product documentation Content Type Administration User task Monitoring and Management IT Administrator Administrator Audience Software Deployment Method Configuration
-
To create an external SMTP server using SSL, run the dsconfig
command.
$ 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"
-
To configure an SMTP server, run the dsconfig command.
$ 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 Directory Server can use.