
TCP port 25 is the conventional SMTP server port, but an SAP ABAP system’s inbound SMTP listener is controlled by its ICM configuration. It does not always have to listen on port 25.
Check the ICM listener
Display the relevant icm/server_port parameter in RZ11 and check the active services in SMICM. The following is an example of the syntax, not a universal recommendation.
icm/server_port_2 = PROT=SMTP,PORT=25000Choose the actual unused parameter index and approved port for the landscape. The mail relay must route messages to the matching listener. Verify SICF SMTP server configuration, client assignment, authentication and TLS requirements. PORT=0 allows outbound use without opening an inbound listener.
Validate the mail path
Check connectivity from the mail relay to the actual SAP instance and test delivery of a harmless message. Review ICM and SAPconnect logs. Do not expose SMTP directly to untrusted networks or change the production listener without coordinating the mail relay and firewall teams.
SAP Help: Quick Guide to SMTP Configuration
SAP Help: SMTP Authentication and TLS for Inbound Mails
SAP Note: 3705232 (related topic).
