Does Jazz Team Server support SMTP authentication?
In JTS setup, there is a way to configure SMTP server and the username/password for it. I reckon it supports SMTP authentication but I am not sure if all the authorization protocols such as AUTH LOGIN , AUTH PLAIN, AUTH CRAM-MD5 etc.
Thanks in advance.
One answer
-
On the Jazz Team Server machine, ensure that you can telnet to the SMTP server at the non-secure port
-
Navigate to the Jazz Team Server setup page (jts/setup)
-
In the 'Configure Email notification' step, enter all the required information to connect to the SMTP server at non-secure port
-
Test connection and confirm that the connection is successful
-
Change the 'Use STARTTLS' from 'false' to true'.
-
Test connection and confirm that it fails with the error message as described in the 'Symptom' section of this technote.
-
Change the 'Use STARTTLS' back to 'false'
-
Test connection and confirm that it still fails with the same error message
-
Click on the Next button to save change to teamserver.properties file
-
Clear browser cache and start a new session
-
Log in to the Jazz Team Server setup page (jts/setup) and navigate to the 'Configure Email notification' step
-
Confirm the email notification settings configured earlier are saved and the 'Use STARTTLS' is false
- Test connection and confirm that it still fails
Cause
The 'Use STARTTLS' property was set to 'true'. Test connection to the mail server will fail even after switching the value of 'Use STARTTLS' property back to 'false'.
STARTTLS is a command used when connecting to an SMTP server using SSL (TLS). It initiates a secure connection between the two servers, and once the communication is made, all subsequent connections will be secure. The reason that the second test connection fails when the STARTTLS is set to false is because the secure connection still remains between the two servers.
Resolving the problem
You need to restart the server to resolve the problem.
A server restart resolves this issue because it will drop the connection between the SMTP server and the JTS and create a new one, thus using non-secure transmission.