]> diplodocus.org Git - nmh/blobdiff - man/ali.man
Added note that suffixes were removed from filenames of temporary files.
[nmh] / man / ali.man
index 1d2203421366b9cc60a73c77a4095445c53d98fb..1b9d670a3aa69e246eb508b76e920309ccb26483 100644 (file)
@@ -1,21 +1,21 @@
+.TH ALI %manext1% "December 4, 2013" "%nmhversion%"
 .\"
 .\" %nmhwarning%
-.\" $Id$
 .\"
-.TH ALI %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
 .SH NAME
 ali \- list mail aliases
 .SH SYNOPSIS
 .HP 5
+.na
 .B ali
 .RB [ \-alias
 .IR aliasfile ]
 .RB [ \-list " | " \-nolist ]
-.RB [ \-normalize " | " \-nonormalize ]
 .RB [ \-user " | " \-nouser ]
 .RB [ \-version ]
 .RB [ \-help ] 
 .RI [ aliases " ...]"
+.ad
 .SH DESCRIPTION
 .B Ali
 searches the named mail alias files for each of the given
@@ -41,51 +41,57 @@ an inverted fashion: instead of listing the addresses that each given
 alias expands to,
 .B ali
 will list the aliases that expand to each
-given address.  If the
-.B \-normalize
-switch is given,
-.B ali
-will
-try to track down the official hostname of the address.
+given address.
 .PP
-The files specified by the profile entry \*(lqAliasfile:\*(rq and any
-additional alias files given by the
-.RB ` \-alias
-.IR aliasfile '
+The files specified by the profile entry
+.RI \*(lq Aliasfile \*(rq
+and any additional alias files given by the
+.B \-alias
+.I aliasfile
 switch will be read.  Each
 .I alias
 is processed as described in
-.BR mh\-alias (5).
-
+.IR mh\-alias (5).
 .SH FILES
-.fc ^ ~
-.nf
-.ta \w'/usr/local/nmh/etc/ExtraBigFileName  'u
-^$HOME/\&.mh\(ruprofile~^The user profile
-^/etc/passwd~^List of users
-^/etc/group~^List of groups
-
+Alias files are looked up in multiple locations: if the pathname is
+absolute or starts with
+.RI \*(lq . \*(rq
+or
+.RI \*(lq .. \*(rq
+then it's accessed directly; otherwise tilde expansion is done on
+usernames, then files are searched for in the user's
+.I Mail
+directory as specified in their profile.  If not found there, the directory
+.RI \*(lq %etcdir% \*(rq
+is checked.
+.PP
+.TP 20
+$HOME/.mh\-profile
+The user's profile.
 .SH "PROFILE COMPONENTS"
-.fc ^ ~
-.nf
-.ta 2.4i
-.ta \w'ExtraBigProfileName  'u
-^Path:~^To determine the user's nmh directory
-^Aliasfile:~^For a default alias file
-
+.PP
+.PD 0
+.TP 20
+Path:
+To determine the user's nmh directory
+.TP
+Aliasfile:
+For a default alias file
+.PD
 .SH "SEE ALSO"
-mh\-alias(5)
-
-.SH "DEFAULTS"
-.nf
-.RB ` \-alias " %etcdir%/MailAliases'"
-.RB ` \-nolist '
-.RB ` \-nonormalize '
-.RB ` \-nouser '
-
+.IR mh\-alias (5)
+.SH DEFAULTS
+.PD 0
+.TP 20
+aliasfile
+%etcdir%/MailAliases
+.TP
+\-nolist
+.TP
+\-nouser
+.PD
 .SH CONTEXT
 None
-
 .SH BUGS
 The
 .B \-user