My Oracle Support Banner

Mail Getting Rejected When Having a Mix of Good and Bad MX Records (Doc ID 1900345.1)

Last updated on MARCH 24, 2020

Applies to:

Oracle Communications Messaging Server - Version 7.0.0 and later
Information in this document applies to any platform.


A messaging server needs to send mail to another messaging server, serving another separate mail domain.

This external domain has 4 MX records in DNS, but was badly configured :    IN      A       <valid ip address>    IN      MX      100    IN      MX      100    IN      MX      200    IN      MX      200

The hosts invalid1 and invalid2 were as the name suggests invalid entries, invalid as in : not resolvable,
the hosts behind the valid1 and valid2 names were resolvable but for other reasons the hosts were rejecting connections.

At the moment the issue happened, we were unaware there was an error with the MX records.

In the mail.log file we noticed mail was being rejected, with an R action code :

where <IP of> contained the IP address of the host

Why was mail being rejected and not simply queued as at least two of the MX names were resolvable ?

Also, the rejection reason seems to be 'Illegal host/domain name found', but further down the line there is a contradiction to this by showing the IP address of one of the valid MX servers.
Is this string maybe a left-over from a previous attempt, or overwritten by something else ?



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.