IBM Support

Log target fails to connect to SMTP mail server from the IBM WebSphere DataPower SOA Appliance.

Troubleshooting


Problem

The DataPower appliance has been configured to send log messages to an SMTP/Email server using a log target. Sending of the email fails due to DataPower not being able to connect to the SMTP server.

Symptom

Messages similar to the following will be logged:

[network][debug] xmlmgr(default): tid(893892): Attempting TCP connect to [IP/Host_SMTP_Server]
[network][error] xmlmgr(default): tid(893892): cannot connect to host '[IP/Host_SMTP_Server]:25': returning error
[network][error] logging target(emailpager_logtarget): tid(893892): Error occurred (port error) when connecting to URL 'smtp://[IP/Host_SMTP_Server]:25/?Recpt=dpl2%40someaddress.com&Sender=mysender%40dp.someaddress.com&Domain=someaddress.com&Subject=[DataPower-deviceName][critic][system]+Event+Notification&MIME=false'
[network][error] logging target(emailpager_logtarget): tid(893892): Connection error(5) at 'smtp://[IP/Host_SMTP_Server]:25/?Recpt=dpl2%40someaddress.com&Sender=mysender%40dp.someaddress.com&Domain=someaddress.com&Subject=[DataPower-deviceName][critic][system]+Event+Notification&MIME=false'

Also, there will be no network packets sent to the SMTP server (IP/Host_SMTP_Server]:25).

[{"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateway"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"General","Platform":[{"code":"PF009","label":"Firmware"}],"Version":"4.0.2;4.0.1;5.0.0;6.0.0","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
08 June 2021

UID

swg21649593