|
Here's the SMTP setup that works for me:: a) Make sure your system is connected (somehow) to the Internet, and that DNS is working properly. TCP/IP is set up with the following command: CFGTCP b) Verify that TCP/IP is working. To test it, I usually type the following: TELNET RMTSYS('ods.ods.net') If all is well, you'll get a nifty looking screen where you have to type a user-id at the bottom. Don't bother signing in, if you get to the userid prompt, it works. Just disconnect by hitting ATTN, and taking option 99. c) Configure the iSeries old mail stuff with the ability to forward to the Internet: ADDDIRE USRID(INTERNET GATEWAY) USRD('Context + switching entry') SYSNAME(INTERNET) + TEXT('Sending e-mail to + Internet') MSFSRVLVL(*USRIDX) + PREFADR(NETUSRID *IBM ATCONTXT) CHGDSTA SMTPRTE(INTERNET GATEWAY) d) In most cases, you'll want to relay your e-mail through your ISPs SMTP server -- unless of course, you've got your own server that you'd rather use. While it's possible for the iSeries to deliver the mail directly, I don't recommend it unless you know what you're doing. To make e-mail go through an SMTP relay: CHGSMTPA MAILROUTER('smtp.myprovider.com') FIREWALL(*YES) e) Sometimes SNDDST will split messages up. Turn it off using the following command (yes, this works even if you're not using the POP server): CHGPOPA MSGSPLIT(*NOMAX) f) To make SMTP start automatically when TCP/IP is started: CHGSMTPA AUTOSTART(*YES) g) To start SMTP manually: STRTCPSVR SERVER(*SMTP)
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.