[Since (a) It doesn't appear that Oracle support is monitoring this Community any more and (b) Email forwarding of community posts breaks on a regular basis, making it impossible to deal with from the email side of things, I recommend that future questions be posted to the info-ims mailing list run by Rolf Sonneveld at email@example.com. The info-ims list is actively monitored, and moreover has been in continuous operation for 15+ years.]
First, whenever you want someone to look at one of these it's vital that you provide as much of the DSN you're getting as possible. I understand the need for anonymity, but there can be important clues in the overall structure and text these things contain.
In any case, the fact that there appear to be lines of the form:
X-Email-Security-Appliance-Sender: rfc822; <sender_emailaddress>
In the DSN you are getting - something Messaging Server never generates in its DSNs - and assuming the
Reporting-MTA: dns; <postmaster_hostname>
information does not point to one of your hosts, it appears you're getting an error report from a remote system after the message has left your administrative domain. If this is the case, this really has nothing to do with Messaging Server at all; it just general SMTP debugging.
FWIW, I believe the "X-Email" fields in a DSN are something associated with Microsoft Exchange, or perhaps with some sort of security gizmo you hang off of Exchange.
Unfortunately "542 Rejected' isn't exactly informative, especially since "542" isn't a defined status response in SMTP. As such, it could mean pretty much anything. So I'm afraid your only recourse here is to contact the postmaster of the destination domain, provide them with the DSN, and ask them what is going on.
Thank you for your post.
The problem it was indeed from the destination domain. We contacted their administrator and they fix it.
Thank you very much.
I will have in mind also what you suggested about the community posts.
Have a nice day!