home *** CD-ROM | disk | FTP | other *** search
- # *--------------------------------------------------------------------*
- # * HOSTPATH *
- # * *
- # * Sample host path file for UUPC/extended; this file defines *
- # * routing for connected hosts which are not defined in the *
- # * systems file, aliases for remote and local hosts, and *
- # * information for routing mail through external programs *
- # * (gateways). *
- # * *
- # * If used, this file must be named HOSTPATH and MUST be placed *
- # * in the directory defined by the ConfDif variable in in your *
- # * UUPC.RC Use of this file is optional; if omitted, mail to *
- # * directly connected hosts is routed queued for it, mail for *
- # * other hosts is routed via the default mailserver defined in *
- # * the UUPC.RC file. *
- # * *
- # * Do NOT use this file if you have installed UUPC/extended and *
- # * customized this file. *
- # *--------------------------------------------------------------------*
-
- # *--------------------------------------------------------------------*
- # * As one might guess, empty lines and lines beginning with a *
- # * pound sign (#) are ignored; on all other lines, tokens are *
- # * separated by one or whitespace characters. *
- # *--------------------------------------------------------------------*
-
- # *--------------------------------------------------------------------*
- # * Special note: To avoid loops, the most number of hops in a *
- # * defined path is 100 hops. After that, UUPC/extended gives *
- # * up and uses the last system. *
- # *--------------------------------------------------------------------*
-
- # *--------------------------------------------------------------------*
- # * Here's a routing entry for the remote system "foo"; it *
- # * defines all mail for foo (or routed through foo via an *
- # * address such as foo!fie!jack to be delivered via the system *
- # * beanstalk. If beanstalk is not defined in either this file *
- # * or in the SYSTEMS file, mail for beanstalk (and by *
- # * extension, foo) will routed via the default mail server. *
- # *--------------------------------------------------------------------*
- foo beanstalk
-
- # *--------------------------------------------------------------------*
- # * Another routing entry, this time using an asterisk to denote *
- # * wildcards for an entire sub-domain. The asterisk, if it *
- # * appears, must be the first character in the entry be *
- # * immediately be followed by a period. This example defines *
- # * that all mail for the domain kew.com is routed via the *
- # * system kewgate.kew.com. *
- # *--------------------------------------------------------------------*
- *.kew.com kewgate.kew.com
-
- # *--------------------------------------------------------------------*
- # * This file is also used to define aliases for a local or *
- # * remote system. For example, if the local system name is *
- # * "bar" and mail for "fubar" should be delivered locally, then *
- # * the following entry will suffice. *
- # *--------------------------------------------------------------------*
- fubar = bar
-
- # *--------------------------------------------------------------------*
- # * A more complex use of aliases is site hiding, where your *
- # * mail server handles multiple hosts but presents a single *
- # * system name for all of the systems to the world. This is *
- # * ill-advised in the general case, but useful where defining *
- # * each hidden host is impractical or costly. To use site *
- # * hiding, define the system name you specified in the UUPC.RC *
- # * variable domain as the alias of the system you are hiding *
- # * behind; this overrides the default definition of the domain *
- # * name being an alias of your nodename. For example, if your *
- # * your mail server is mainframe, and your (and your mail *
- # * server's) domain name is mainframe.xxx.yyy, then the *
- # * following hides you behind mainframe. *
- # * *
- # * Note: You can use the domain/fdomain variables in UUPC.RC *
- # * to perform site hiding as well. *
- # *--------------------------------------------------------------------*
- mainframe.xxx.yyy = mainframe
-
- # *--------------------------------------------------------------------*
- # * Finally, this file can also direct mail for a host or domain *
- # * to an external program for final delivery. For example, *
- # * mail can be fed to a batch file which invokes a LAN mail *
- # * delivery program. The invoked program will be passed three *
- # * parameters; they are, in order: the name of the gateway as *
- # * defined in this file, the name of the host the mail is to be *
- # * delivered to, and the user on the host the mail is to be *
- # * delivered to. To deliver all mail for *.lan.xxx.yyy to the *
- # * program "forward", the following example will suffice. *
- # *--------------------------------------------------------------------*
- *.lan.xxx.yyy | forward
-