CHGSMTPA

Check the firewall and mail router settings.

If you're moving to something like Office 365 you're chasing your tail with
the IBM SMTP Server to send mails, though.

On Thu, Mar 19, 2026 at 2:03 PM Adams, Jay via MIDRANGE-L <
midrange-l@xxxxxxxxxxxxxxxxxx> wrote:


We are changing our SMTP server, so I need to change the settings on our
IBM i to use the new server. This seems like it should be simple but I am
having trouble getting it to work.
Here is what I have done so far.

1. On the new SMTP server, I have entered the IP address of our IBM i
to authorize it to receive email from our system.
2. I've added the new SMTP server in the Host Table Entries (I don't
know if I needed to do this or not).
3. ENDMSF *IMMED
4. ENDTCPSVR *SMTP
5. CHGSMTPA
Changed the Mail Router from the address of the old SMTP server to the
address of the new SMTP server.
6. STRTCPSVR *SMTP
7. STRMSF
8. Send email from IBM i using the SNDDST command.

I get the email but it does not come through the new SMTP server. There is
a webpage for the new server that shows the email activity for it and it
does not show the email that I sent coming through that server. It does
show other emails that came from our company from outside the IBM i.
Is there something that I need to do that I haven't done?

Jay Adams
Senior Programmer Analyst
____________________________________________________________________
QUALICAPS, INC.
6505 Franz Warner Parkway
Whitsett, NC 27377
T: +1-336-449-3997
C: +1-336-213-3903
@: Jay.Adams@xxxxxxxxxxxx<mailto:Jay.Adams@xxxxxxxxxxxx>

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.