H,
This may not be an IBM i problem.
As Satid pointed out in his post, if the configuration is correct then it could be a DNS problem. Checked the smtp configuration on the IBM i side, there's quite a bit of configuration to do to use the office 365 servers as smtp relay (connector, microsoft SSL certificate registration in DCM).
You'll also need to check the SPF records on the DNS side.
If there are other authorized smtp servers on the local network, the easiest thing to do is to authorize one of these servers to relay IBM i mail and configure the IBM i to send mail to this relay.
------------------------------
Virgile VATIN
Head of IT Infrastructure
DRP SOFTWARE
Avelin
------------------------------
Original Message:
Sent: Wed July 09, 2025 04:45 PM
From: Terri Dickison
Subject: SMTP local delivery - I do not want local delivery
We are suing a mail relay service. for our domain.com
In order for the mail relay to accept the mail the from address must be MyName@domain.com , which works to send emails to outside domains well.
the issue is the SMTP on the IBM i is marking any email to : MyCoworker@domain.com Delivered to /QTCPTMM
This never makes it to the Microsoft 365 server for distribution which is our mail provider.
I have not found what setting I need to adjust to make this email be considered Outbound not internal email server
thanks,
------------------------------
Dean Dickison
Deand@resoftware.net
Terre Haute, IN
------------------------------