Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SMTP using MS-Exchange

91 views
Skip to first unread message

Marc Simonsmeier

unread,
Aug 1, 2000, 3:00:00 AM8/1/00
to
Hello,

we want to send Messages from AS/400 to our MS-exchange-server that is
installed in our LAN. Therefore we want to use SMTP. That means AS/400 just
as a mail client. Where do I configure the IP-address of the
MS-Exchange-Server and where do the system know that this IP-Address is the
Adress of the SMTP-server?
First we thought that it should be the parameter MAILROUTER in the CHGSMTPA
command but it isn't.
Is there anybody who made some experience with this kind of configuration???
(We use V4R4M0)
Thanks a lot
Marc Simonsmeier


JoeUser

unread,
Aug 1, 2000, 3:00:00 AM8/1/00
to
1.) Type CHGDSTA and press F4. If 'Route to SMTP gateway' is *NONE, continue
with the following:

2.) Using CFGTCP Option 10 (Work with TCP/IP host table entries) verify mail
server name is in the table (add if necessary).

3.) From the command line, type PING mail-server-name to verify connection
is
working properly.

4.) Using CHGSMTPA verify AUTOSTART(*YES) and MAILROUTER(mail-server-name).

5.) Run the following commands:
ADDDIRE USRID(SMTP GATEWAY) USRD('SMTP Gateway') SYSNAME(SMTP)
PREFADR(NETUSRID *IBM ATCONTXT)

6.) CHGDSTA SMTPRTE(SMTP GATEWAY)

7.) Verify server applications are started: STRTCPSVR *SMTP

8.) Make sure QSNADS sunsystem is up: STRSBS QSNADS

9.) Send a test message:
SNDDST TYPE(*LMSG) TOINTNET(email-address) DSTD('Test message') +
LONGMSG('Test Message')

10.) Verify message appears in client. If you receive error message CPF9006
"User not
enrolled in system distribution directory.", either have an administrator or
use
the Work with Directory Entries (WRKDIRE) command to enroll you in the
system
directory.
"Marc Simonsmeier" <simon...@isri.de> wrote in message
news:8m60vb$2v61$1...@news.gigabell.net...

Richard Schoen

unread,
Aug 1, 2000, 3:00:00 AM8/1/00
to
Hello Marc,

Someone else here in the newsgroup replied with the solution required if you
want to use the AS/400 SMTP server.

If you're interested in a commercial Email API that DOES NOT require any
special configuration on the AS/400, take a look at our SMTP/400 software.

For more information, check out our web site or contact me directly.

Regards,
Richard Schoen
RJS Software Systems Inc.
"The AS/400 Report Distribution Experts"
Email: ric...@rjssoft.com
Web Site: http://www.rjssoft.com

Marc Simonsmeier wrote in message <8m60vb$2v61$1...@news.gigabell.net>...

kg...@my-deja.com

unread,
Aug 25, 2000, 3:00:00 AM8/25/00
to
I've done this, I get to step 9 (SNDDST), their are no errors, but the
email never arrives at the destination. Any suggestions on trouble
shooting? There are no messages in the system log.


In article <cgCh5.38$0W4...@newsread2.prod.itd.earthlink.net>,

> > Hello,
> >
> > we want to send Messages from AS/400 to our MS-exchange-server that
is
> > installed in our LAN. Therefore we want to use SMTP. That means
AS/400
> just
> > as a mail client. Where do I configure the IP-address of the
> > MS-Exchange-Server and where do the system know that this IP-Address
is
> the
> > Adress of the SMTP-server?
> > First we thought that it should be the parameter MAILROUTER in the
> CHGSMTPA
> > command but it isn't.
> > Is there anybody who made some experience with this kind of
> configuration???
> > (We use V4R4M0)
> > Thanks a lot
> > Marc Simonsmeier
> >
> >
> >
> >
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

JoeUser

unread,
Aug 25, 2000, 3:00:00 AM8/25/00
to
See the thread "email via SNDDST" just a few posts down the list. Good luck
with this - I know how frustrating it can be...

Joe
<kg...@my-deja.com> wrote in message news:8o6hki$ccb$1...@nnrp1.deja.com...

Dirk Dedapper

unread,
Aug 26, 2000, 3:00:00 AM8/26/00
to
There is not any frustrating part on configuring this service!

The steps as described below are correctly, but some more things need to be
done:
1. Add an entry in the TCP/IP Host table by doing CFGTCP - 10
This entry could be 10.23.1.14, mail-relay.corporate.mycompany.com. This IP
address is the address of your exchange server.

2. Test this entry by using the ping command PING
mail-relay.corporate.mycompany.com. If you receive reply, you are on the
right way!

3. Change the SMTP attributes as following: CHGSMTPA AUTOSTART(*YES)
MAILROUTER(mail-relay.corporate.mycompany.com) and for V4R4M0
FIREWALL(*YES).

4. ENDTCPSVR *SMTP *IMMED
ENDMSF *IMMED
STRMSF *RESET
STRTCPSVR *SMTP

In addition, make sure the QMSF subsystem is running.

That's all. With NETSTAT - 3 you could follow the steps the AS/400
mailserver makes to connect to your Exchange server.

So use the SNDDST TYPE(*LMSG) TOINTNET(email-address) DSTD('I Love AS/400)
LONGMSG('I Really really love the AS/400') as long as you can't get enough
of it!

I have done these configurations AS/400 - Exchange a thousand times and
never get frustrated... Isn't the AS/400 a beautiful thing?
Kind regards,

Dirk Dedapper


JoeUser heeft geschreven in bericht ...

Luis Soler

unread,
Aug 29, 2000, 3:00:00 AM8/29/00
to
Is it possible to send a STMF file (from the IFS) as attachment with SNDDST
command?

Thanks

Luis Soler

"Dirk Dedapper" <dirk.d...@belgacom.net> escribió en el mensaje
news:8o7s0t$hbl$1...@news1.skynet.be...

Dirk Dedapper

unread,
Aug 29, 2000, 3:00:00 AM8/29/00
to
You could do this by use of the QTmmSendMail API. See Anymail400 Malserver
framework Developer Manual or something like that.


Luis Soler heeft geschreven in bericht <8ogk8h$dqr$1...@lola.ctv.es>...

0 new messages