xref: /netbsd/usr.sbin/ypserv/mkalias/mkalias.8 (revision bf9ec67e)
1.\"	$NetBSD: mkalias.8,v 1.8 2002/02/02 02:34:16 wiz 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
40.Op Fl deEnsuv
41.Ar input
42.Op Ar output
43.Sh DESCRIPTION
44.Nm
45is used to convert a
46.Pa mail.aliases
47map to a
48.Pa mail.byaddr
49map. This is a inverse map of user@host (or user!host) back to alias.
50.Pp
51.Nm
52uses
53.Ar input
54as the input map, and if
55.Ar output
56is given, use that as the output map.
57If the output map isn't given don't create database.
58This can be useful when
59.Fl e
60or
61.Fl E
62is given.
63.Pp
64The options are as follows:
65.Bl -tag -width indent
66.It Fl d
67Assume domain names are OK.
68Only useful together with
69.Fl e
70or
71.Fl E .
72.It Fl e
73Check host to verify that it exists.
74.It Fl E
75Same as
76.Fl e ,
77but also check for any MX-record.
78.It Fl n
79Capitalize name. eg mats.o.jansson becomes Mats.O.Jansson.
80.It Fl u
81Assume UUCP names are OK.
82Only useful together with
83.Fl e
84or
85.Fl E .
86.It Fl s
87Ignored (only provided for compatibility with SunOS 4.1.x).
88.It Fl v
89Verbose mode.
90.El
91.Sh SEE ALSO
92.Xr yp 8 ,
93.Xr ypserv 8
94.Sh AUTHORS
95.An Mats O Jansson Aq moj@stacken.kth.se
96