Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

CLM 6.0.3 - error sending mails

 Hi,

when I try to send test email on configured mail settings, I am getting the following error:
Failure sending HELO command to SMTP server

What could be the resaon?

Regards,
Milan

0 votes

Comments

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).



6 answers

Permanent link

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.



1 vote

Comments

 Hi Kevin,


i tried to resolve with IP address, but still doesn't work. I tried to ping the server, and it works. I tried to telnet server 25, and I got 220********. it seems it is ok. 
Then I tried to type HELO, but I got the message: 
500 5.3.3 Unrecognized command.

I contacted our system administrators, and it seems everything ok to them.

I really don't know what could be the reason. Here is the log message on the link:


Regards,
milan

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.


Permanent link

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.

1 vote


Permanent link

 Currently we are suspecting that this is due to JTS sending only the short hostname in the HELO command.


Ex:
>>>>>> Sending data EHLO myserverhostname<<<<<<<
EHLO myserverhostname
500 5.3.3 Unrecognized command
>>>>>> Sending data HELO myserverhostname<<<<<<<
HELO myserverhostname
500 5.3.3 Unrecognized command

I just don't know where JTS takes the 'hostname' from such that we can convince it to send
EHLO myserverhostname.mydomain.com

0 votes

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



Permanent link

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).




0 votes


Permanent link

 Hi, 


we upgraded CLM to version 6.0.4, but problem still persists. It's look like that bug is not resolved yet... any suggestions?

0 votes

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.


Permanent link

 Please verify you SMTP settings using this Work Item:



Also please make sure only JTS application team server.properties file has your SMTP server settings.

Search for "mail" string in rest of the application team server.properties file and if you find any remove them. These mail settings are specific to JTS server only.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,489

Question asked: Feb 17 '17, 8:20 a.m.

Question was seen: 4,830 times

Last updated: Oct 31 '18, 7:49 a.m.

Confirmation Cancel Confirm