X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/b78be76b63889ea7973369a8fddc42ec5389726a..07661005b9a36338ab158bcbe7762788a1df4030:/man/ali.man diff --git a/man/ali.man b/man/ali.man index 1b54e0f1..1b9d670a 100644 --- a/man/ali.man +++ b/man/ali.man @@ -1,4 +1,4 @@ -.TH ALI %manext1% "January 1, 2001" "%nmhversion%" +.TH ALI %manext1% "December 4, 2013" "%nmhversion%" .\" .\" %nmhwarning% .\" @@ -11,7 +11,6 @@ ali \- list mail aliases .RB [ \-alias .IR aliasfile ] .RB [ \-list " | " \-nolist ] -.RB [ \-normalize " | " \-nonormalize ] .RB [ \-user " | " \-nouser ] .RB [ \-version ] .RB [ \-help ] @@ -42,12 +41,7 @@ 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 .RI \*(lq Aliasfile \*(rq @@ -59,6 +53,18 @@ switch will be read. Each is processed as described in .IR mh\-alias (5). .SH FILES +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. @@ -82,8 +88,6 @@ aliasfile .TP \-nolist .TP -\-nonormalize -.TP \-nouser .PD .SH CONTEXT