Submitted by Per Wallhoff on Mon, 12/19/2011 - 00:00
Forums

Kaj Vang Jensen

Mon, 12/19/2011 - 00:00

Hej Per Wallhoff,

Det ser ud til at man kan ændre porten på IBMSMTP:

https://www-304.ibm.com/support/docview.wss?uid=nas1b8b9db252c4f8e4c86256a8b005be6c4

 
This document explains how to bind the IBM OS/400 or IBM i5/OS 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 TCP in port 24:

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 UDP:

ADDSRVTBLE SERVICE('smtp') PORT(24) PROTOCOL('udp') TEXT('Simple Mail Transfer') ALIAS('mail' SMTP MAIL)

Press the Enter key.
 
6. Start TCP server for SMTP by issuing the following command:

STRTCPSVR *SMTP
 
7. End and start QMSF.
 

Vi overvejer kraftigt at inkludere samme funktionalitet (konfigurerbar port) for InterForm400 SMTP i 2012 versionerne.

Mvh. Kaj Vang Jensen