Setting to Use Real Internet SMTP Mail Server DNS Address for Sending Email
From Support
Setting up Email Report Server/400 to bounce emails off of a true internet SMTP host system.
Contents |
Step 1: Setting up TCP/IP Routing
Make sure the System i has been set up to be able to route TCP/IP traffic to the Internet. This is usually done by creating a *DFTROUTE entry on the following screen:
GO CFGTCP, then select option 2. "Work with TCP/IP routes".
The *DFTROUTE routing entry is used to route TCP/IP traffic to the Internet.
If you need help setting up a *DFTROUTE IP routing entry, please work with your network administrator.
Step 2: Set up the System i so that it can see a valid Internet DNS server
GO CFGTCP, then select option 12. "Change TCP/IP domain information".
Enter a valid Internet DNS server IP address in the "Domain name server Internet address" setting.
If you need help setting up a DNS server entry, please work with your network administrator.
Step 3: Ping Host
See if you can PING your desired Internet host name from the iSeries command line.
PING smtp.earthlink.net
You should see a ping reply that will also normally display the IP address of the server.
You are now ready to set up the Email Report Server/400 to send email using your Internet SMTP server.
Step 4: Sample
Run the following command to set your Email Report Server/400 SMTP host.
Example for setting email to bounce off of an Earthlink mail server:
RJSERS/ERSHOST OPTION(*SET) SMTPHOST('smtp.earthlink.net')
Now the Email Report Server/400 should be able to route emails via your SMTP mail server DNS address.
