Mail settings set via sonar.properties are not displayed in UI

If you set email-related settings like these

email.smtp_host.secured=postfix
email.smtp_port.secured=25
email.from=sonarqube@test.com
email.prefix=[SONARQUBE6.7.6]

in the SonarQube 6.7.6 sonar.properties file and restart it, they are not displayed in the Settings menu. There you will find only the default values. However SonarQube is using the settings from the sonar.properties file internally, which can be checked by using the “configuration test” option in the “E-Mail” section of the settings menu.

Hi @robertauer,

These settings are not supposed to be used in sonar.properties => Only the system settings described in this file should be set.
You need to use the UI/WS to specify standard settings.

Regards,
Julien Lancelot

2 Likes

Why are the setting names presented to the administrator in the UI then?