Appendix I: Setting up SMTP on your IBM i system

SMTP can be setup on your iSeries by performing the following commands

With CFGTCP - Make sure the domain information is setup properly. It should be set to the domain name used by your ISP

With CHGSMTPA – Enter the following

Autostart Server - *YES

Mail Router – The IP address of your mail router

Firewall - *YES if you have a firewall

Use the command STRTCPSVR *SMTP to start up the Email server on the iSeries

NOTE: Prohibiting Relay is the servers way of stopping spammers from using it to spam e-mail. Most servers close down Relay, but you can list your iSeries as the only address relay is allowed to come from.

You will need to enable your mail server to allow relay, but only from the IP address of your iSeries

Go to the smtp server and allow "only the list below" and put in the IP address for the iSeries.