FEATURE(relay_hosts_only)

Relay individual hosts, not domains V8.9 and later

Ordinarily, the names listed with RELAY_DOMAIN (those allowed to relay through the local machine, The RELAY_DOMAIN mc macro on page 269) are names of domains. By declaring this FEATURE(relay_hosts_only), you cause the names in that list to be interpreted as the names of hosts, not domains. This feature, how it is used, and how it fits into relaying and spam handling are explained in FEATURE(relay_hosts_only) on page 273.

Get sendmail, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.