mail.aliases and mail.byaddr maps

These two maps together are referred to by the nickname aliases. To enable use of the NIS aliases mapping:

  1. Uncomment O AliasFile in the sendmail.cf file and specify the map name for NIS aliases.
  2. Recompile the sendmail.cf file with the command sendmail -bz.
  3. Recompile the alias database with the command sendmail -bi.