$R

The relay for unqualified names mc configuration, deprecated

Using the mc configuration technique, the $R macro stores the hostname defined by LOCAL_RELAY (LOCAL_RELAY mc Macro on page 604). If $H has a value and if $R does not, all local email is forwarded to the hub defined for $H. If $R is defined, it takes precedence over $H for some mail. See MAIL_HUB mc Macro on page 605 for a description of MAIL_HUB and how it interacts with LOCAL_RELAY.

Note that you should not define this $R macro directly, because later versions of sendmail might use a different macro. Instead, use the LOCAL_RELAY mc macro for this purpose.

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.