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:
acme: amy.adams@acme.com bill.byrnes@acme.com widgetco: aaron@widgetco.com,...,zuza@widgetco.com
For the mail.alias map, the entries are defined like this:
- Key is the alias name: acme
- Value is the list of addresses for the alias: amy.adams@acme.com bill.byrnes@acme.com
For the mail.byaddr map, the entries are defined like this:
- Key is an address: amy.adams@acme.com
- Value is the corresponding alias: acme
If you create an aliases map in Active Directory, you must include the key as part of the value. For example:
- Key: acme
- Value: acme: someone@acme.com
- Comment: someone@acme.com is the address