aliases

The aliases map is the abbreviated name for the mail.aliases map. The derived maps are mail.aliases and mail.byaddr. In most cases, the NIS map is created from the /etc/aliases or /etc/mail/aliases file. A typical line looks like this:

alias: address1 [address2 addressn...] # comment

For example:

centrify: amy.adams@centrify.com bill.byrnes@cntrify.com
widgetco: aaron@widgetco.com,...,zuza@widgetco.com

For the mail.alias map, the entries are defined like this:

  • Key is the alias name: centrify
  • Value is the list of addresses for the alias: amy.adams@centrify.com bill.byrnes@centrify.com

For the mail.byaddr map, the entries are defined like this:

  • Key is an address: amy.adams@centrify.com
  • Value is the corresponding alias: centrify

If you create an aliases map in Active Directory, you must include the key as part of the value. For example:

  • Key: centrify
  • Value: centrify: someone@centrify.com
  • Comment: someone@centrify.com is the address