1.\" $NetBSD: mkalias.8,v 1.13 2014/03/18 18:20:48 riastradh Exp $ 2.\" 3.\" Copyright (c) 1997 Mats O Jansson <moj@stacken.kth.se> 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: 9.\" 1. Redistributions of source code must retain the above copyright 10.\" notice, this list of conditions and the following disclaimer. 11.\" 2. Redistributions in binary form must reproduce the above copyright 12.\" notice, this list of conditions and the following disclaimer in the 13.\" documentation and/or other materials provided with the distribution. 14.\" 15.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS 16.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 17.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 19.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25.\" SUCH DAMAGE. 26.\" 27.Dd February 26, 2005 28.Dt MKALIAS 8 29.Os 30.Sh NAME 31.Nm mkalias 32.Nd a NIS map conversion program 33.Sh SYNOPSIS 34.Nm 35.Op Fl deEnsuv 36.Ar input 37.Op Ar output 38.Sh DESCRIPTION 39.Nm 40is used to convert a 41.Pa mail.aliases 42map to a 43.Pa mail.byaddr 44map. This is a inverse map of user@host (or user!host) back to alias. 45.Pp 46.Nm 47uses 48.Ar input 49as the input map, and if 50.Ar output 51is given, use that as the output map. 52If the output map isn't given don't create database. 53This can be useful when 54.Fl e 55or 56.Fl E 57is given. 58.Pp 59The options are as follows: 60.Bl -tag -width indent 61.It Fl d 62Assume domain names are OK. 63Only useful together with 64.Fl e 65or 66.Fl E . 67.It Fl e 68Check host to verify that it exists. 69.It Fl E 70Same as 71.Fl e , 72but also check for any MX-record. 73.It Fl n 74Capitalize name. 75E.g., mats.o.jansson becomes Mats.O.Jansson. 76.It Fl u 77Assume UUCP names are OK. 78Only useful together with 79.Fl e 80or 81.Fl E . 82.It Fl s 83Ignored (only provided for compatibility with SunOS 4.1.x). 84.It Fl v 85Verbose mode. 86.El 87.Sh SEE ALSO 88.Xr nis 8 , 89.Xr ypserv 8 90.Sh AUTHORS 91.An Mats O Jansson Aq Mt moj@stacken.kth.se 92