mkalias(8)

mkalias8

A yp map conversion program

Usage

mkalias [-nv] [{-E | -e [-du]}] input [output]

Overview

mkalias is used to convert a mail.aliases map to a mail.byaddr map. This is an inverse map of user@host (or user!host) back to alias.

The options are as follows:

-d

Assume domain names are OK. Only useful together with -E or -e.

-E

Same as -e, but also check for any MX-record.

-e

Check host to verify that it exists.

-n

Capitalize name. e.g., mats.o.jansson becomes Mats.O.Jansson.

-u

Assume UUCP names are OK. Only useful together with -E or -e.

-v

Verbose mode.

input

Use this map as input.

output

Use this map as output. If the output map isn't given, don't create database. Can be useful together with -E or -e.

Releases

60 releases since OpenBSD 2.2; the text changed 11 times.

  1. 2.2–2.4
  2. 2.5
  3. 2.6
  4. 2.7–2.8
  5. 2.9
  6. 3.0–3.3
  7. 3.4–4.1
  8. 4.2–4.6
  9. 4.7–5.3
  10. 5.4–6.8
  11. 6.9–7.0
  12. 7.1–8.0

Authors

Mats O Jansson ⟨[email protected]⟩

Bugs

mkalias on SunOS 4.1.x seems to have a -s. Since I don't know what it is supposed to do, I haven't implemented it. But it is accepted by the program.

From man 8.0-current-20261101 in OpenBSD 8.0-current (2026-11-01). Parsed by carta from the page's mdoc source.