X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/ae9b723f054219598687babf6ae16b5177604460..3dee7d930cb47c5aa4c8cb0d4707debd213fefb1:/man/ali.man diff --git a/man/ali.man b/man/ali.man index 1b54e0f1..791adc8d 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,8 +53,20 @@ 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 %nmhetcdir% \*(rq +is checked. +.PP .TP 20 -$HOME/.mh\-profile +$HOME/.mh_profile The user's profile. .SH "PROFILE COMPONENTS" .PP @@ -78,20 +84,11 @@ For a default alias file .PD 0 .TP 20 aliasfile -%etcdir%/MailAliases +%nmhetcdir%/MailAliases .TP \-nolist .TP -\-nonormalize -.TP \-nouser .PD .SH CONTEXT None -.SH BUGS -The -.B \-user -option with -.B \-nonormalize -is not entirely accurate, as it -does not replace local nicknames for hosts with their official site names.