NISPLUS

Support for nisplus database maps Tune with confMAPDEF

If you intend to have sendmail support nisplus maps, you need to define NISPLUS in your Build m4 file (the use of nisplus aliases and other maps is determined by the /etc/nsswitch.conf file):

APPENDDEF(`confMAPDEF', `-DNISPLUS')

If NISPLUS is defined, the AliasFile option can be used to override the setting of the /etc/nsswitch.conf file:

O AliasFile=nisplus:mail.aliases      ← V8.7 and above

Here, nisplus aliases will be used even if the /etc/nsswitch.conf file excludes them.

See Alphabetized Options on page 970 for details about the AliasFile option. Note that NISPLUS is new beginning with V8.7 and is not supported under earlier versions of sendmail.

With NISPLUS defined, support is also included to declare and use nisplus-type maps (The type on page 882) with the K configuration command.

If you are running a precompiled sendmail binary, you can use the -d0.1 debugging command-line switch (-d0.1 on page 542) to determine whether NISPLUS support is included (if it appears in the list, support is included).

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.