Could not connect to SMTP host

book

Article ID: 36550

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal CA Risk Analytics CA Secure Cloud SaaS - Arcot A-OK (WebFort) CLOUDMINDER ADVANCED AUTHENTICATION CA Secure Cloud SaaS - Advanced Authentication CA Secure Cloud SaaS - Identity Management CA Secure Cloud SaaS - Single Sign On

Issue/Introduction

Problem: 

After upgrade from 12.6.3 to 12.6.6 , when reviewing the server.log file you see the error : 

Error when sending email

Caused by: javax.mail.MessagingException: Could not connect to SMTP host: 

localhost, port: 25; nested exception is:java.net.ConnectException: Connection refused: connect

...javax.mail.MessagingException: 501 5.1.7 Invalid address

 

Environment:  

IDM 12.6.3  upgrading to IDM 12.6.6

REDHAT 6

 

Cause: 

this error could be due the sender address is not being loaded or recognized properly. 

 

Resolution

Please review  the following files and Modify  if needed : 

1) ..\CA\jboss-eap-6.1\standalone\configuration\standalone-full.xml 

    - please verify there is not duplicated entries and the messaging entry is correctly wrote.

2) ..\CA\jboss-eap- 6.1\standalone\deployments\iam_im.ear\config\com\netegrity\config\email.properties 

   - please verify the sender address information is correctly wrote. 

 

 

 

 

 

Environment

Release: CAIDMB99000-12.6.3-Identity Manager-B to B
Component: