X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/cbce5e434f84af560946e16709d3c2ad10eb8942..91baa2e0868d9d2e5cf664d63f4fbba25c4470cf:/man/mh-alias.man?ds=sidebyside diff --git a/man/mh-alias.man b/man/mh-alias.man index 0221d399..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. @@ -222,38 +217,31 @@ message transport system. In contrast, once the message transport system is given a message to deliver to a list of addresses, for each address that appears to be local, a system\-wide alias file is consulted. These aliases are -.B NOT +.B not expanded into the headers of messages delivered. .SH "HELPFUL HINTS" 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,20 +254,21 @@ 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" -ali(1), send(1), whom(1), group(5), passwd(5), conflict(8), post(8) +.IR ali (1), +.IR send (1), +.IR whom (1), +.IR group (5), +.IR passwd (5), +.IR conflict (8), +.IR post (8) .SH CONTEXT None .SH BUGS