X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c59d387888272695ccf163a8057275dbdc77afd0..91baa2e0868d9d2e5cf664d63f4fbba25c4470cf:/man/mh-alias.man diff --git a/man/mh-alias.man b/man/mh-alias.man index a28c48ea..ca9e0a2c 100644 --- a/man/mh-alias.man +++ b/man/mh-alias.man @@ -1,4 +1,4 @@ -.TH MH-ALIAS %manext5% "%nmhdate%" MH.6.8 [%nmhversion%] +.TH MH-ALIAS %manext5% "Oct 14, 2012" "%nmhversion%" .\" .\" %nmhwarning% .\" @@ -128,17 +128,13 @@ appropriate. (See example below.) .PP An approximation of the way aliases are resolved at posting time is (it's not really done this way): -.PP -.RS 2 -.IP 1) 3 +.IP 1) Build a list of all addresses from the message to be delivered, eliminating duplicate addresses. -.PP -.IP 2) 3 +.IP 2) If this draft originated on the local host, then for those addresses in the message that have no host specified, perform alias resolution. -.PP -.IP 3) 3 +.IP 3) For each line in the alias file, compare \*(lqalias\*(rq against all of the existing addresses. If a match, remove the matched \*(lqalias\*(rq from the address list, and add each new address in the address\-group to @@ -153,7 +149,6 @@ This makes replies possible since .B nmh aliases and personal aliases are unknown to the mail transport system. -.RE .PP Since the alias file is read line by line, forward references work, but backward references are not recognized, thus, there is no recursion. @@ -228,32 +223,25 @@ expanded into the headers of messages delivered. To use aliasing in .B nmh quickly, do the following: -.PP -.RS 2 -.IP 1) 3 +.IP 1) In your .IR \&.mh\(ruprofile , choose a name for your alias file, say .RI \*(lq aliases \*(rq, and add the line: -.PP -.RS 5 -.nf +.sp Aliasfile: aliases .\" ali: \-alias aliases .\" send: \-alias aliases .\" whom: \-alias aliases -.fi .RE -.PP -.IP 2) 3 +.IP 2) Create the file .RI \*(lq aliases \*(rq in your .B nmh directory. -.PP -.IP 3) 3 +.IP 3) Start adding aliases to your .RI \*(lq aliases \*(rq file as appropriate. @@ -266,25 +254,20 @@ address group of a blind list. .B post will append the semicolon to the blind list name. .SH FILES -.fc ^ ~ -.nf -.ta \w'%etcdir%/ExtraBigFileName 'u -^%etcdir%/MailAliases~^global nmh alias file -.fi +.TP 20 +%etcdir%/MailAliases +global nmh alias file .SH "PROFILE COMPONENTS" -.fc ^ ~ -.nf -.ta 2.4i -.ta \w'ExtraBigProfileName 'u -^Aliasfile:~^For a default alias file -.fi +.TP 20 +Aliasfile: +Default alias file .SH "SEE ALSO" .IR ali (1), .IR send (1), .IR whom (1), .IR group (5), .IR passwd (5), -.IR conflict(8), +.IR conflict (8), .IR post (8) .SH CONTEXT None