MKALIAS(8) System Manager's Manual MKALIAS(8)

mkaliasa YP map conversion program

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

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:

Assume domain names are OK. Only useful together with -E or -e.
Same as -e, but also check for any MX-record.
Check host to verify that it exists.
Capitalize name. e.g., mats.o.jansson becomes Mats.O.Jansson.
Assume UUCP names are OK. Only useful together with -E or -e.
Verbose mode.
Use this map as input.
Use this map as output. If the output map isn't given, don't create database. Can be useful together with -E or -e.

yp(8), ypserv(8)

Mats O Jansson <>

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.

March 31, 2022 OpenBSD 7.5