× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



<vendor>
MAILTOOL and MAILTOOL Plus or the email Addon for GMail.

With MAILTOOL and MAILTOOL Plus you can use app passwords generated by
Google.

If you have an application that already creates a MIME file you can choose
the G4G send email addon which uses OAuth 2.0 you already have everything
else you need (G4G base, GETURI) and you can write the email sending in
your program using the ILE functions (see
https://www.fieldexit.com/forum/display?threadid=551 for info). If you
want a nice interface, you could add MAILTOOL for the front end.
</vendor>

Halfway through writing this I realized that this is probably the situation
where you wanted to keep using the same commands you had before

Either way... the above are solutions. :)

On Wed, Aug 7, 2024 at 11:38 AM Jeff Crosby <jlcrosby@xxxxxxxxxxxxxxxx>
wrote:

Good Afternoon,

V7R5 pretty up to date on PTFs.

In preparation for no longer using gmail for email relay we're working with
a vendor to use a different relay. It so happens that the password is 69
characters long.

We have a couple Brother all-in-one devices that we (not often) email
documents to employees. They cannot handle passwords over 32 characters.
Also, our Tripplite UPS cannot handle passwords over 64 characters. No
problem, I thought. We'll just point them to the IBM i (in the cloud) and
the IBM i can relay.

I found this article from some fly by night author (haha):

https://www.kisco.com/ibm-i-security-tips/ibm-i-smtp-relay-controls-2.html

I used ADDSMTPLE to add 3 *ACCEPT entries:

IP Address Subnet Mask
192.168.0.0 255.255.0.0
10.100.0.167 255.255.0.0
10.46.0.2 255.255.255.255

I point the Brother email settings to our IBM i internal IP address and try
a test email.

Using port 25 gives this error at the Brother device

"Communication with the specified send e-mail server failed. It is possible
that the network is busy or there is some problem. Please try again later."

Using port 587 gives this error:

"The specified send e-mail server cannot be found. The Send E-mail Server
doesn't exist or the specified host doesn't support the service. Check the
Send E-mail Server name and port number."

Which leads me to believe that I am reaching the IBM i when using port 25
because the error is different.

I also tried it with the IBM i email relay to the not recommended
ALWRLY(*ALL) in case I fubared the ADDSMTPLE stuff. Same errors.

A support person had me install Putty and connect to the IBM i on port 25.
Got a blank screen with no welcome message. We did the same thing with the
service we're going to be using and got a welcome screen that said the
service was ready. The support person felt that the IBM i was not
listening on port 25.

However, the Work with IPv4 Connection Status screen shows that it is.

Remote Remote Local
Opt Address Port Port Idle Time State
* * 21 020:47:45 Listen
* * 23 001:36:23 Listen
* * 25 000:04:35 Listen

I then tried with port 26 and got a "connection refused" message. So I
think I am connecting on port 25.

I'm guessing the issue is on our IBM i, but don't know what else to look
at.

Suggestions?

Thanks.

--


*Jeff Crosby*
Senior Vice President
UniPro FoodService/Dilgard
P.O. Box 13369
Ft. Wayne, IN 46868-3369
260-422-7531
direct.dilgardfoods.com

The opinions expressed are my own and not necessarily the opinion of my
company. Unless I say so.
--
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-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.