added extra doignore argument to send() calls
[unix-history] / usr / src / usr.bin / mail / config.c
CommitLineData
ebc9f528
KS
1#
2
cb9c9660 3static char *SccsID[] = "@(#)config.c 1.5 %G%";
ebc9f528
KS
4
5/*
6 * This file contains definitions of network data used by Mail
7 * when replying. See also: configdefs.h and optim.c
8 */
9
10/*
11 * The subterfuge with CONFIGFILE is to keep cc from seeing the
12 * external defintions in configdefs.h.
13 */
14#define CONFIGFILE
15#include "configdefs.h"
16
17/*
18 * Set of network separator characters.
19 */
20char *metanet = "!^:%@.";
21
22/*
23 * Host table of "known" hosts. See the comment in configdefs.h;
24 * not all accessible hosts need be here (fortunately).
25 */
26struct netmach netmach[] = {
4d5d6c37
KS
27 "c70", '7', AN|SN,
28 "berkeley", '7', AN|SN,
29 "berk-c70", '7', AN|SN,
30 "ucb-c70", '7', AN|SN,
ebc9f528
KS
31 "a", 'a', SN,
32 "b", 'b', SN,
33 "c", 'c', SN,
34 "d", 'd', SN,
35 "e", 'e', SN,
36 "f", 'f', SN,
37 "g", 'g', SN,
4d5d6c37
KS
38 "ingres", 'i', SN,
39 "ing70", 'i', SN,
ebc9f528
KS
40 "ingvax", 'j', SN|BN,
41 "virus", 'k', SN,
42 "vlsi", 'l', SN,
43 "image", 'm', SN,
44 "esvax", 'o', SN,
45 "sesm", 'o', SN,
c57de9d9 46 "ucbcad", 'p', SN|BN,
ebc9f528 47 "q", 'q', SN,
0a44ff1f 48 "kim", 'n', SN,
ebc9f528
KS
49 "research", 'R', BN,
50 "arpavax", 'r', SN|BN,
51 "src", 's', SN,
52 "mathstat", 't', SN,
53 "csvax", 'v', BN|SN,
54 "vax", 'v', BN|SN,
55 "ucb", 'v', BN|SN,
56 "ucbvax", 'v', BN|SN,
57 "onyx", 'x', SN,
ebc9f528
KS
58 "cory", 'y', SN,
59 "eecs40", 'z', SN,
60 0, 0, 0
61};
62
63/*
64 * Table of ordered of preferred networks. You probably won't need
65 * to fuss with this unless you add a new network character (foolishly).
66 */
67struct netorder netorder[] = {
68 AN, '@',
69 AN, '%',
70 SN, ':',
71 BN, '!',
72 -1, 0
73};
74
75/*
76 * Table to convert from network separator code in address to network
77 * bit map kind. With this transformation, we can deal with more than
78 * one character having the same meaning easily.
79 */
cb9c9660 80struct ntypetab ntypetab[] = {
ebc9f528
KS
81 '%', AN,
82 '@', AN,
83 ':', SN,
84 '!', BN,
85 '^', BN,
86 0, 0
87};
88
cb9c9660 89struct nkindtab nkindtab[] = {
ebc9f528
KS
90 AN, IMPLICIT,
91 BN, EXPLICIT,
92 SN, IMPLICIT,
93 0, 0
94};