home *** CD-ROM | disk | FTP | other *** search
-
-
-
- PATHS(8)
-
-
-
- NAME
- paths - smail routing database
-
- DESCRIPTION
- The _p_a_t_h_s file is the routing database for _s_m_a_i_l. Each line
- of the file provides routing information to either a host or
- to a domain. Each line should have either two or three tab
- (ascii 0x9) separated fields. The format of each line in
- the paths file is:
-
- _k_e_y _r_o_u_t_e [_c_o_s_t]
-
- The _k_e_y field is the key on which searches are performed.
- Typically this is either a UUCP host name or a domain name.
- _s_m_a_i_l uses a binary search algorithm when searching the
- database, so the keys must be sorted in ascending order.
- Case is ignored when searching, so the keys should be con-
- verted to lower case before sorting (see _l_c_a_s_e(8) and _p_a_t_h_-
- _p_r_o_c(8)). Warning: There is a bug in _s_o_r_t -_f, so don't use
- it. Convert the keys to lower case, and then sort.
-
- The _r_o_u_t_e field is a "printf" string that details the route
- that mail to the _k_e_y should take. See _p_a_t_h_a_l_i_a_s documenta-
- tion for details.
-
- The optional _c_o_s_t field is used by _s_m_a_i_l to determine
- whether to simply queue outbound UUCP mail, or to attempt
- immediate delivery (usually by invoking _u_u_c_i_c_o). If the
- cost field is present, and the value is at or below _s_m_a_i_l's
- _q_u_e_u_e_i_n_g _t_h_r_e_s_h_o_l_d then the mail will be queued and an
- attempt at immediate delivery will be made. This will speed
- mail delivery between hosts who enjoy a cheap uucp link,
- like a hardwired line or some other low cost transport
- medium, while allowing mail sent over more expensive media
- to accumulate before transmission. If the field is absent,
- the cost defaults to a value above the _q_u_e_u_e_i_n_g _t_h_r_e_s_h_o_l_d.
- The default value for the queueing threshold is equal to the
- pathalias cost DEDICATED+LOW. Thus, direct links with cost
- DEDICATED+LOW or less will see immediate delivery, while the
- others are queued for later delivery.
-
- EXAMPLE
- Here's a sample paths file for a small host, like a pc, that
- doesn't want to maintain complete routing information. It
- illustrates most of the aspect of the _p_a_t_h_s file. Assme
- that the pc's name is _m_y_p_c, and that it's in domain
- ._m_y_d_o_m_a_i_n. Also, assume that it has a dedicated link to a
- smart host named _b_i_g_h_u_b, and that _b_i_g_h_u_b's administrator has
- given _m_y_p_c permission to use _b_i_g_h_u_b as a mail relay.
- Lastly, assume that _m_y_p_c has a dialed on demand link to
- another computer named _f_r_i_e_n_d.
-
-
-
-
- 1
-
-
-
-
-
-
- PATHS(8)
-
-
-
- _p_a_t_h_a_l_i_a_s input
-
- mypc = .mypc.mydomain
- mypc friend(DEMAND), bighub(DEDICATED)
- smart-host = bighub
-
- _p_a_t_h_s file produced by _p_a_t_h_a_l_i_a_s -_f _i_n_p_u_t_f_i_l_e|_p_a_t_h_p_r_o_c
-
- .mypc.mydomain %s 0
- bighub bighub!%s 95
- friend friend!%s 300
- mypc %s 0
- smart-host bighub!%s 95
-
-
- SEE ALSO
- pathalias - by Peter Honeyman
- smail(8), lcasep(8), pathproc(8)
-
- VERSION
- @(#)paths.8 2.5 (smail) 9/15/87
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 2
-
-
-