cleancut-fluent

(Answer) (Category) iSeries / AS400 FAQ : (Category) General :
How do I configure SMTP email on iSeries?
Question: Does anyone have a document outlining the steps to take to set up SMTP email on the AS/400 to send email to an Exchange server?

Answer: http://www-912.ibm.com/s_dir/slkbase.NSF/0cf528a492c9b4a88625680b0002037f/05065e3e8dd15454862565c2007caa52?OpenDocument

While the OV/400 link doesn't seem applicable, it really is because SNDDST was originally designed as an OV/400 interface.

Following these allows you you to use the SNDDST command like this:

 SNDDST TYPE(*LMSG)
        TOINTNET(('your.name@yourcompany.com'))
        DSTD('Discription here')
        LONGMSG('Long message here')

-or-

SNDDST TYPE(*DOC)
       TOINTNET(('your.name@yourcompany.com'))
       DSTD('Discription here')
       LONGMSG('Long message here')
       DOC(DOCUMENT)
       FLR('folder/doc/lives/in')
The only part it does not touch on is the TCP/IP configuration, ie. DNS and SMTP attributes that may need to be changed.

If your 400 cannot resolve every email address domain name via configured DNS servers it is best to relay the mail to a server that can resolve the names. I set mine up like this:

CHGSMTPA     MAILROUTER('mailrelay')   FIREWALL(*YES)

The host name 'mailrelay' is the host name of the SMTP server to relay the mail to.

Answer by Bryan Dietz on MIDRANGE-L 4 Apr 2002


Question: Where do I specify the SMTP alias address on the WRKDIRE mentioned in the first paragraph on page 9 of the Net400 PDF?

Answer:

  1. If you do a WRKDIRE, there is an Fkey (F19) to add/change the name for SMTP. Or
  2. Use the WRKNAMSMTP, then option 1 for SYSTEM, and then you can add/change/delete them there. As far as I know there is no ADDNAMSMTP command, but I believe there is an API to update this file programmatically.
The SMTP address will appear as the from/reply to address when you send from the AS400. Otherwise the AS400 makes up an SMTP name line user.system@domain.com. Of course this is a problem if someone replies to the email send via the AS400, so it is always best to enter the names into the SMTP table.

Answer by Carl J. Galgano via MIDRANGE-L 5 Apr 2002

Question: We use SMTP email on iSeries and it works all fine but we have problem when we want to have a look to all msg sent. We send them with 'snddst, type '*lmsg'. Can anybody tell us where we can find the e-mails?

We also noticed that users who doesn't have an entry in the system directory don't receive a message when they use the snddst *lmsg telling them the e-mail won't pass. Can we control this. We wrote an application that sends e-mails using the snddst *lmsg command and we work on an iSeries V5R1.



How do I configure SMTP email on iSeries?
              
 

ans-ins-part
Append to This Answer
buck.calabro, david, nadine.haeck, vera.crews.walker, kamal
Previous: (Answer) How do I submit a Design Change Request (DCR)?
Next: (Answer) Where can I find the iSeries toolkit?
This document is: http://faq.midrange.com/index.pl?file=192
[Search] [Appearance]
This is a Faq-O-Matic 2.721.