Question & Answer
Question
This document explains how to configure SMTP to send mail to a mail router that listens on a port other than port 25.
Answer
To allow the SMTP client to send to a port other than 25 use the following the steps:
1. | Stop the SMTP server: ENDTCPSVR SERVER(*SMTP) |
2. | Set a System level environment variable to set the port to communicate: ADDENVVAR ENVVAR(QIBM_SMTP_SERVER_PORT) VALUE('xxx') LEVEL(*SYS) Note: The string 'xxx' is the remote SMTP server port the IBM i SMTP Client will attempt to connect to. |
3. | Start the SMTP server: STRTCPSVR SERVER(*SMTP) |
[{"Type":"MASTER","Line of Business":{"code":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000000CHfAAM","label":"Email and SMTP"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions"}]
Was this topic helpful?
Document Information
Modified date:
23 August 2024
UID
nas8N1019807