[ Up To iMail ]
One can effectively use the IBM i SMTP and POP servers to route emails originated
by iMail. These servers are part of the core operating system and thus no extra cost.
The IP of the IBM System i in this example will given as 192.168.0.128.
Helpful Hand: If you need an extra hand, contact us to get a quote to have inFORM Decisions do the work for you. Click Here to get a quote or call us at (949) 709-5838, Option 3.
You will need:
An email account to use as the from address. This account can be in either of these formats:
These instructions will work with the account in the first, more common format.
The IBM i server must understand itself as DoeDomain.com. This can be established
by making an entry in the hosts table, menu CFGTCP option 10.
A user profile, JohnDoe, must be established with a password.
A directory entry must be established for him.
WRKDIRE, option 1 to add.
Complete the first screen as a normal directory entry, then:
Press F19 to add an SMTP name:
Returning to the main definition of the directory entry, page down a few pages
and set the following:
Mail Service Level - 2 System message store
Preferred Address - 3 SMTP Name
If you intend to transmit emails outside the company's intranet, please be aware of the following
Some companies restrict outbound port 25, the well known smtp port. This port will need to be opened
so that the IBM i may transmit email outside the intranet.
The company's DNS records must be altered:
Menu IMAIL, option 1 to configure iMail.
Set the SMTP Host Mail Server to the IP of the IBM i server: 192.168.0.128
Set the SMTP Port to: 00025
Set the Email Send Method.(SMTP/ESMTP) to: SMTP
Set these addresses: Sender Address, Default From Address to JohnDoe@DoeDomain.com.
Start Operations Navigator, and drill down to Network, Servers, TCP/IP.
Right click on the SMTP server and select properties.
The following settings are “cookbook”, and should work in basic situations.
This presumes the default setup.
Use Mail Router: None
Relay Restrictions Tab:
Allow Relay Messages: Set the radio button to Specified.
In the bottom of the dialog work with the Addresses Allowed to Relay dialog to
specify the subnets and masks allowed to work with this email server. This should include:
192.168.0.128 255.255.255.255 to include the IBM i server itself
192.168.1.0 255.255.255.0 to include all of Doe Corporation's PC's.
Multiple Domains Tab:
Check the checkbox: Specify domains associated with each interface.
Use the dialog to add DoeDomain.com to the interface 192.168.0.128.
Additional Parameters Tab:
Uncheck Support Delivery Status Notification to cause the server to return emails to the sender rather than notify one email address of all failures.
When done click 'OK' to save. Then right click on the SMTP server and select 'stop'. Next right click on the SMTP server and select 'start'.
Next right click on the POP server and select the General Tab:
Check the checkbox to start when TCP/IP is started.
Click the radio button to specify non-secure only.
Click 'OK' to save. Then stop and restart the server as you did for the SMTP server above.
At this point the SMTP and POP servers should both be running.
Using a PC client such as Outlook, configure a new profile as follows:
1. User name: johndoe
2. Password: greenscreen password
3. Email address: JohnDoe@DoeDomain.com
4. SMTP Server address: 192.168.0.128 - the IP of the IBM i server.
5. SMTP Port: 25
6. Use POP3 for retrieving email, not imap.
You should now be able to send and receive email using Outlook, with the email server being
the IBM i.
Go to menu iMail, option 12. Send a message to JohnDoe@DoeDomain.com.
Then, go to Outlook and check for new emails. It should be in the inbox.
[ Up To iMail ]