Sonatype CLM Server - Installation And Configuration
The Sonatype CLM Server can be configured to send email notifications for events
such as policy violation notifications. This functionality requires an SMTP
server, which is configured along with a number of other options in the mail
section of the config.yml file
displayed in Mail Configuration in config.yml
.
Mail Configuration in config.yml
. Here’s an example configuration:
mail: hostname: your.mailserver.com port: 465 username: user@company.com password: password tls: true ssl: true systemEmail: "SonatypeCLM@localhost"
The connection details are established with hostname
and port
and
optionally with the addition of username
, password
, tls
and
ssl
. The systemEmail
parameter will be used as the sender email
for any emails the CLM server sends. All fields are required.
Finally, when setting email configuration, make sure you have also set the Base URL, otherwise sending of notification emails may fail.