Troubleshooting
Problem
This document explains how to bind the IBM i SMTP server to a different port rather than the default 25.
Resolving The Problem
This document explains how to bind the IBM i SMTP server to a different port:
1. |
On the operating system command line, type the following to remove the existing server table entries for SMTP. There should be two entries: WRKSRVTBLE SERVICE('smtp') Press the Enter key. |
2. | Select Option 5 to review contents. |
3. | Select Option 4 to remove entries. |
4. | On the operating system command line, type the following to add a new entry for the service, SMTP, for the protocol, TCP. If you wish the SMTP Server to listen on a port other than 24, replace 24 with the desired port. ADDSRVTBLE SERVICE('smtp') PORT(24) PROTOCOL('tcp') TEXT('Simple Mail Transfer') ALIAS('mail' SMTP MAIL) Press the Enter key. |
5. | On the operating system command line, type the following to add a new entry for the server, SMTP, for the protocol, UDP. If you wish the SMTP Server to listen on a port other than 24, replace 24 with the desired port. ADDSRVTBLE SERVICE('smtp') PORT(24) PROTOCOL('udp') TEXT('Simple Mail Transfer') ALIAS('mail' SMTP MAIL) Press the Enter key. |
6. | Restart the SMTP server by issuing the following commands: ENDTCPSVR *SMTP STRTCPSVR *SMTP |
7. | Restart the MSF server. ENDMSF STRMSF |
[{"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"}]
Historical Number
23903419
Was this topic helpful?
Document Information
Modified date:
23 August 2024
UID
nas8N1017287