FEATURE(stickyhost)
Differ user from user@local.host V8.7 and later
Beginning with V8.7 sendmail,
addresses with and without a host part that resolve
to local delivery are handled in the same way. For
example, user and
user@local.host are both
looked up with the User Database (userdb on page 942) and processed
by the localaddr
rule set 5 (The localaddr Rule Set 5 on page 700). This processing can result in those
addresses being forwarded to other machines.
With FEATURE(stickyhost)
, you can change
this behavior:
FEATURE(`stickyhost')
By defining stickyhost
, you are telling
sendmail to mark addresses
that have a local host part as “sticky”:
user ← not sticky user@local.host ← sticky
Sticky hosts tend to be delivered on the local
machine. That is, they are not looked up with the
User Database and are not processed by the localaddr
rule set
5.
One use for this feature is to create a domain-wide namespace. In it, all addresses without a host part will be forwarded to a central mail server. Those with a local host part will remain on the local machine and be delivered in the usual local way.
Note that this is opposite the behavior of the former
FEATURE(notsticky)
of V8.6.
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.