Accepting domain literals on a mail server

Accepting domain literals on a mail server

Q I have a Red Hat 8.0 server with one primary domain. A friend of mine recommended I check out, which performs a variety of useful tests on the DNS records as well as the server itself. Everything went through fairly well but my domain failed on one test. The following is from

ERROR: One or more of your mailservers does not accept mail in the domain literal format
(user@[]). Mailservers are required RFC1123 5.2.17 to accept mail to domain literals for any of its IP addresses.

I’m not sure how to go about fixing this problem – or even if it’s worth fixing.

A RFC1 123 requires the ability to use domain literals (ie using [s and ]s) tospecify the IP address of a mail server, and thus bypass normal DNS mechanisms. For security and for spam prevention reasons, not all mail servers are configured with it enabled by default. If you would like to have your Sendmail daemon server accept mail sent to it in this way, you can add a line containing only [] to /etc/mail/local-host-names where is the IP address you would like sendmail to listen to.


I am a g33k, Linux blogger, developer, student and Tech Writer for My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.