xref: /openbsd/usr.sbin/ypserv/mkalias/mkalias.8 (revision d485f761)
1.\"	$OpenBSD: mkalias.8,v 1.6 2001/08/02 18:37:35 mpech 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.\" 3. All advertising materials mentioning features or use of this software
15.\"    must display the following acknowledgement:
16.\"      This product includes software developed by Mats O Jansson
17.\" 4. The name of the author may not be used to endorse or promote products
18.\"    derived from this software without specific prior written permission.
19.\"
20.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
21.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
22.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
24.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.Dd July 21, 1997
33.Dt MKALIAS 8
34.Os
35.Sh NAME
36.Nm mkalias
37.Nd a YP map conversion program
38.Sh SYNOPSIS
39.Nm mkalias
40.Op Fl v
41.Op Fl e
42.Op Fl E
43.Op Fl d
44.Op Fl u
45.Op Fl n
46.Ar input
47.Op Ar output
48.Sh DESCRIPTION
49.Nm
50is used to convert a mail.aliases map to a mail.byaddr map.
51This is an inverse map of user@host (or user!host) back to alias.
52.Pp
53.Pp
54The options are as follows:
55.Bl -tag -width Ds
56.It Fl v
57Verbose mode.
58.It Fl e
59Check host to verify that it exists.
60.It Fl E
61Same as
62.Fl e ,
63but also check for any MX-record.
64.It Fl d
65Assume Domain names are OK.
66Only useful together with
67.Fl e
68or
69.Fl E .
70.It Fl u
71Assume UUCP names are OK.
72Only useful together with
73.Fl e
74or
75.Fl E .
76.It Fl n
77Capitalize name. e.g., mats.o.jansson becomes Mats.O.Jansson.
78.It Ar input
79Use this map as input.
80.It Ar output
81Use this map as output.
82If the output map isn't given don't create database.
83Can be useful together with
84.Fl e
85or
86.Fl E .
87.El
88.Sh BUGS
89.Nm
90on SunOS 4.1.x seems to have a
91.Fl s .
92Since I don't know what it is supposed to do I haven't implemented it.
93But it is accepted by the program.
94.Sh SEE ALSO
95.Xr yp 8 ,
96.Xr ypserv 8
97.Sh AUTHORS
98Mats O Jansson <moj@stacken.kth.se>
99