source: trunk/third/nmh/man/ali.man @ 12455

Revision 12455, 1.9 KB checked in by danw, 26 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r12454, which included commits to RCS files with non-trunk default branches.
Line 
1.\"
2.\" %nmhwarning%
3.\" $Id: ali.man,v 1.1.1.1 1999-02-07 18:14:19 danw Exp $
4.\"
5.\" include the -mh macro file
6.so %etcdir%/tmac.h
7.\"
8.TH ALI %manext1% MH.6.8 [%nmhversion%]
9.SH NAME
10ali \- list mail aliases
11.SH SYNOPSIS
12.in +.5i
13.ti -.5i
14ali
15\%[\-alias\ aliasfile]
16\%[\-list] \%[\-nolist]
17\%[\-normalize]
18.br
19\%[\-nonormalize]
20\%[\-user] \%[\-nouser]
21\%[aliases\ ...]
22.br
23\%[\-version]
24\%[\-help]
25.in -.5i
26.SH DESCRIPTION
27\fIAli\fR searches the named mail alias files for each of the given
28\fIaliases\fR.  It creates a list of addresses for those \fIaliases\fR,
29and writes that list on standard output.  If no arguments are given,
30\fIali\fR outputs all alias entries.
31
32By default, when an aliases expands to multiple addresses, the addresses
33are separated by commas and printed on as few lines as possible.  If the
34`\-list' option is specified, then when an address expands to multiple
35addresses, each address will appear on a separate line.
36
37The switch `\-user' directs \fIali\fR to perform its processing in
38an inverted fashion: instead of listing the addresses that each given
39alias expands to, \fIali\fR will list the aliases that expand to each
40given address.  If the `\-normalize' switch is given, \fIali\fR will
41try to track down the official hostname of the address.
42
43The files specified by the profile entry \*(lqAliasfile:\*(rq and any
44additional alias files given by the `\-alias aliasfile' switch will be
45read.  Each \fIalias\fR is processed as described in \fImh\-alias\fR\0(5).
46.Fi
47^$HOME/\&.mh\(ruprofile~^The user profile
48^/etc/passwd~^List of users
49^/etc/group~^List of groups
50.Pr
51^Path:~^To determine the user's nmh directory
52.Ps
53^Aliasfile:~^For a default alias file
54.Sa
55mh\-alias(5)
56.De
57`\-alias %etcdir%/MailAliases'
58.Ds
59`\-nolist'
60.Ds
61`\-nonormalize'
62.Ds
63`\-nouser'
64.Co
65None
66.Bu
67The `\-user' option with `\-nonormalize' is not entirely accurate, as it
68does not replace local nicknames for hosts with their official site names.
69.En
Note: See TracBrowser for help on using the repository browser.