$=m

List of local domains V8.7 and later

When sendmail first begins to run, it figures out what your DNS domain is and assigns the result to the $m macro ($m on page 833). The sendmail program then processes the configuration file. This gives you the opportunity to redefine $m. After that, sendmail assigns the final value in $m to the class $=m.

Unfortunately, prior to V8.10 sendmail, the class macro $=m was not used by sendmail, or by any of the configuration files produced by the m4 technique. Beginning with V8.10, $=m is used as part of screening to allow relaying. Note that $=m should not be used to have mail accepted as local under a variety of domains. Instead, use FEATURE(domaintable) (FEATURE(domaintable) on page 621).

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.