255
|
1 .PS
|
|
2 # masqmail-typical-usage
|
|
3 scale = 1.2
|
|
4
|
|
5 [
|
|
6 moveht = 0.3
|
|
7 lineht = 0.3
|
|
8
|
|
9
|
|
10 down
|
258
|
11 line <->
|
255
|
12 ISP: ellipse "ISP"
|
|
13 line <-
|
|
14 R: box invis "router" ht .2
|
|
15 S1: box dashed wid 3.6 ht 1.95
|
|
16 " Internet" at S1.nw above ljust
|
|
17 " Local network" at S1.nw below ljust
|
|
18 move to S1.n
|
|
19 move 2*moveht+boxht
|
|
20
|
|
21 [
|
|
22 right
|
|
23 W1: box "workstation" "(masqmail)"
|
|
24 line <-> 0.3
|
|
25 W2: box "workstation" "(masqmail)"
|
|
26 line <-> 0.3
|
|
27 W3: box "workstation" "(masqmail)"
|
|
28 ]
|
|
29
|
|
30 line from last [].W1.n to R.s-(0.05,lineht) then to R.s-(0.05,0)
|
|
31 line from last [].W2.n to R.s-(0,lineht) then to R.s
|
|
32 line from last [].W3.n to R.s+(0.05,-lineht) then to R.s+(0.05,0)
|
|
33
|
|
34 arrow from R.n-(0.05,0) to ISP.s-(0.05,0)
|
|
35 arrow from R.n+(0.05,0) to ISP.s+(0.05,0)
|
|
36
|
|
37 #spline -> from last [].W1.n to R.s-(0.05,0) then to ISP.s-(0.05,0)
|
|
38 #spline -> from last [].W2.n to R.s then to ISP.s
|
|
39 #spline -> from last [].W3.n to R.s+(0.05,0) then to ISP.s+(0.05,0)
|
|
40
|
|
41 #circle "mail" "box" with .w at ISP.e
|
|
42
|
|
43 ]
|
258
|
44 "Scenario 1" with .nw at last [].nw +(0.4,-0.1)
|
255
|
45
|
258
|
46 move to last [].e
|
255
|
47
|
|
48 move
|
|
49
|
|
50
|
|
51 [
|
|
52
|
|
53 moveht = 0.3
|
|
54 lineht = 0.3
|
|
55
|
|
56 down
|
258
|
57 line <->
|
255
|
58 ISP: ellipse "ISP"
|
|
59 line <-
|
|
60 R: box invis "router" ht .2
|
|
61 S1: box dashed wid 3.6 ht 1.95
|
|
62 " Internet" at S1.nw above ljust
|
|
63 " Local network" at S1.nw below ljust
|
|
64 move to S1.n
|
|
65 line
|
|
66 S: box "server" "(masqmail)"
|
|
67 move
|
|
68
|
|
69 [
|
|
70 right
|
|
71 W1: box "workstation" "(forwarder)"
|
|
72 move 0.3
|
|
73 W2: box "workstation" "(forwarder)"
|
|
74 move 0.3
|
|
75 W3: box "workstation" "(forwarder)"
|
|
76 ]
|
|
77
|
|
78 arrow from last [].W1.n to S.s-(0.05,0)
|
|
79 arrow from last [].W2.n to S.s
|
|
80 arrow from last [].W3.n to S.s+(0.05,0)
|
|
81
|
|
82 #circle "mail" "box" with .w at ISP.e
|
|
83 #circle "mail" "box" with .w at S.e
|
|
84
|
|
85 ]
|
258
|
86 "Scenario 2" with .nw at last [].nw +(0.4,-0.1)
|
255
|
87
|
|
88 .PE
|