Peter,
the "all of a sudden" is an intriguing thing that is making my brain cells twitch.
(could be because of SNADS ( as Rohit mentioned before) , that someone tweaked some SNADS settings somewhere on the box? )
as for the undeliverable tracing, looking at logs with the following command might give some reason/clues:
Look in :
QHST
DSPDSTLOG,
the journal for SMTP using the DSPJRN command (that one is abit of IBM speak in terms of what you will find)
though trawling the google webs I found something that you can probably eval :
To configure MSF on IBM i : https://www.ibm.com/support/pages/configuring-msfsmtp-ibm-i
Similar QGATE errors: https://groups.google.com/g/ibm.software.iseries.connect/c/WS9Kf3jD5Hg
& https://www.experts-exchange.com/questions/25354161/AS400-email-problem-some-mail-bounces.html
and lastly *if the mail is routed to an external SMTP : https://community.spiceworks.com/t/as-400-and-gmail/222941/8
Last stab : (was there any latest upgrades happening / pfts applied?) : https://code400.com/forum/forum/iseries-programming-languages/any-thing-goes/148519-the-dreaded-qtmmsendmail-problem-with-sending-email-outside-of-local-domain
(note: though old, it something to consider if someone changed a setting without understanding the implications)
Lastly, without knowing the exact error that the system is generating its quite a stab in the dark , IBM i is normally quite detailed in errors it gives, just a trick or two to find exactly where that detail of the error lies is what makes the treasure hunt more exciting!.
------------------------------
Marius le Roux
Owner
MLR Consulting
------------------------------
Original Message:
Sent: Thu August 15, 2024 03:46 PM
From: Peter Larsen
Subject: Undeliverable email on Iseries
Marius,
The reason for my question is have one customer machine who was getting undeliverable emails from QGATE@FQDN but all of a sudden started getting them from NONDELIVERY@FQDN. Is there a method of setting up your Iseries for undeliverable mail to define either QGATE or NONDELIVERY?
Thanks
Peter
------------------------------
Peter Larsen
Original Message:
Sent: Thu August 15, 2024 02:56 PM
From: Marius le Roux
Subject: Undeliverable email on Iseries
Peter,
If it is QGATE@fullyqualifieddomainName.com that you would like to use (from my understanding and correct me if I am wrong in that understanding),
See what the user's configuration is on the following commands:
WRKNAMSMTP
and
WRKDIRE
HTH
------------------------------
Marius le Roux
Owner
MLR Consulting
Original Message:
Sent: Thu June 27, 2024 04:34 PM
From: Peter Larsen
Subject: Undeliverable email on Iseries
Can some explain why an undeliverable email from the Ibm I will use nondelivery@fullyqualifieddomainname.com versus QGATE@fullyqualifieddomainname.com
Thanks
Peter
------------------------------
Peter Larsen
------------------------------