Command's -d switch

Old Sun configuration files could transfer all locally deliverable mail to a central mail hub. The assumption was that the mail hub possessed a superset of all aliases and so would be authoritative about final delivery. Unfortunately, this assumption tended to cause unnecessary traffic to be sent to the mail hub and could cause congestion at the mail hub.

In an NIS or NIS+ environment the assumption that the mail hub is authoritative may not be valid, because (in theory) every client machine can have equal access to authoritative aliasing information. With "domainwide" alias support, local addresses can be resolved at the sending client. The mail hub is then free to just handle Internet traffic.

The -d switch to the K configuration command (see ) declares a map to be domainwide. Such a map is presumed to be available through out an NIS or NIS+ domain. The -d switch is useful only with alias maps and affects sendmail's behavior in two ways: