CLM 6.0.3 - error sending mails
6 answers
These are the questions I would ask myself:
Is the SMTP server configured in the mail settings ?
Can you resolve the name as an IP ?
Does it ping ?
Can you
telnet yer-smtp-host 25
from the CLM host and get a connection ?
If the connection times out there may be firewall concerns to address ( rare but possible )
If the connection succeeds there will be no prompt, just type HELO to try to elicit a response.
Comments
Hi Kevin,
I searched for the 500 error. One that may have solution
http://serverfault.com/questions/280309/mail-server-on-port-25-only-response-with-500-command-not-recognized
Another mentioned space on the server.
Mailing library has changed starting at CLM6.0.3, so upgrading it won't solve the issue.
Look at this note: https://www.ibm.com/support/knowledgecenter/SSYMRC_6.0.5/com.ibm.jazz.repository.web.admin.doc/topics/c_troubleshoot_smtp.html
It explains this library change and how to troubleshoot SMTP.
The only way we have solved this issue is like Kevin Ramer suggested.
Currently we are suspecting that this is due to JTS sending only the short hostname in the HELO command.
Comments
Just had this reported for our Rome CLM hosts recently upgraded to 6.0.3 We had configured in a corporate mail gateway for the geo that gave the same failures. I noticed that the JTS was also running sendmail so I configured the jts to use itself, did a test email and now e-mail is flowing.
So whatever is the issue between the JTS direct connection to the SMTP host is obviated by using itself as an intermediary. The local SMTP is pretty much an OOTB configuration.
Of course, we run our stuff on AIX and have that "luxury".
The ones we recently upgraded to 6.0.3 are also having intermittent (Failure sending HELO command to SMTP server) mail issues.
What is interesting is that other CLM instances that are NOT running CLM 6.0.3 but are on the same server are not having mail issues.
I also find it strange that an upgraded JTS begins having this, but like us, you are probably also use to using the "geo.relay...." (geo = na, emea, etc ) for SMTP in the configuration.
Maybe there are different expectations in the javax.mail package. The versions are:
6.0.2 : javax.mail_1.0.1100.v20151009_1554
6.0.3: javax.mail_1.4.0.v201005080615
Hi,
I am also getting similar error. But my email was working perfectly before upgrading to 6.0.3. Now its does not work. I have also tried with new 6.0.3 setup in a new machine but still am getting the error.
This error , i am getting in https://xxxxx:9443/jts/admin#action=com.ibm.team.repository.admin.configureMailSettings
Connection error (java.net.ConnectException: Connection refused: connect)
When I try to run jts/setup, in email setting steps, i am getting following error
The configuration test resulted in warnings. Review the warnings before continuing.ID CRJAZ1580W
Hi,
Comments
If it is not identified as a product defect, upgrading the product does not necessarily resolve the issue for you. You'd better set the JTS advanced property "Debug Mail API" to true, and check jts.log for detailed information why the email notification fails. You may have to do further network trace to find out the exact cause.
Please verify you SMTP settings using this Work Item:
Comments
Manoj Panda
JAZZ DEVELOPER Mar 18 '17, 12:14 p.m.Hi,
I am also getting similar error. But my email was working perfectly before upgrading to 6.0.3. Now its does not work. I have also tried with new 6.0.3 setup in a new machine but still am getting the error.
This error , i am getting in https://xxxxx:9443/jts/admin#action=com.ibm.team.repository.admin.configureMailSettings
Connection error (java.net.ConnectException: Connection refused: connect)
When I try to run jts/setup, in email setting steps, i am getting following error
The configuration test resulted in warnings. Review the warnings before continuing.ID CRJAZ1580W
The server could not be contacted: Connection error (java.net.ConnectException: Connection refused: connect).