Why doesn't the /etc/mail/relay-domains restrict hosts from using the mail relay server?

(Doc ID 1934146.1)

Last updated on JULY 11, 2017

Applies to:

Solaris Operating System - Version 10 1/13 U11 to 11.2 [Release 10.0 to 11.0]
Information in this document applies to any platform.


The /etc/mail/relay-domains file for restricting hosts from being able to send mail via our relay host, is not actually restricting anything.  Hosts that are not in it/not in the allowed domains as well are able to send mail through the relay host regardless. Host restriction only works via the /etc/hosts.allow file and TCP Wrappers.  How does the local-host-names file work, and does it relate to relay-domains?


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms