home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news or mail, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/rfc822
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 53 75 62 6a 65 63 74 3a | 20 20 76 32 34 69 30 35 |Subject:| v24i05|
|00000010| 31 3a 20 20 4e 65 77 73 | 2f 6d 61 69 6c 20 67 61 |1: News|/mail ga|
|00000020| 74 65 77 61 79 20 70 61 | 63 6b 61 67 65 2c 20 50 |teway pa|ckage, P|
|00000030| 61 72 74 30 31 2f 30 34 | 0a 4e 65 77 73 67 72 6f |art01/04|.Newsgro|
|00000040| 75 70 73 3a 20 63 6f 6d | 70 2e 73 6f 75 72 63 65 |ups: com|p.source|
|00000050| 73 2e 75 6e 69 78 0a 41 | 70 70 72 6f 76 65 64 3a |s.unix.A|pproved:|
|00000060| 20 72 73 61 6c 7a 40 75 | 75 6e 65 74 2e 55 55 2e | rsalz@u|unet.UU.|
|00000070| 4e 45 54 0a 58 2d 43 68 | 65 63 6b 73 75 6d 2d 53 |NET.X-Ch|ecksum-S|
|00000080| 6e 65 66 72 75 3a 20 61 | 30 33 33 37 63 62 64 20 |nefru: a|0337cbd |
|00000090| 63 38 36 62 66 65 36 36 | 20 66 35 37 31 63 34 33 |c86bfe66| f571c43|
|000000a0| 36 20 64 65 38 38 31 65 | 37 38 0a 0a 53 75 62 6d |6 de881e|78..Subm|
|000000b0| 69 74 74 65 64 2d 62 79 | 3a 20 52 69 63 68 20 24 |itted-by|: Rich $|
|000000c0| 61 6c 7a 20 3c 72 73 61 | 6c 7a 40 62 62 6e 2e 63 |alz <rsa|lz@bbn.c|
|000000d0| 6f 6d 3e 0a 50 6f 73 74 | 69 6e 67 2d 6e 75 6d 62 |om>.Post|ing-numb|
|000000e0| 65 72 3a 20 56 6f 6c 75 | 6d 65 20 32 34 2c 20 49 |er: Volu|me 24, I|
|000000f0| 73 73 75 65 20 35 31 0a | 41 72 63 68 69 76 65 2d |ssue 51.|Archive-|
|00000100| 6e 61 6d 65 3a 20 6e 65 | 77 73 67 61 74 65 2f 70 |name: ne|wsgate/p|
|00000110| 61 72 74 30 31 0a 0a 54 | 68 69 73 20 6b 69 74 20 |art01..T|his kit |
|00000120| 70 72 6f 76 69 64 65 73 | 20 74 77 6f 20 70 72 6f |provides| two pro|
|00000130| 67 72 61 6d 73 20 66 6f | 72 20 22 6c 69 6e 6b 69 |grams fo|r "linki|
|00000140| 6e 67 22 20 52 46 43 38 | 32 32 20 4d 61 69 6c 20 |ng" RFC8|22 Mail |
|00000150| 6d 65 73 73 61 67 65 73 | 20 61 6e 64 0a 52 46 43 |messages| and.RFC|
|00000160| 31 30 37 36 20 55 73 65 | 6e 65 74 20 4e 65 77 73 |1076 Use|net News|
|00000170| 20 61 72 74 69 63 6c 65 | 73 2e 20 20 45 61 63 68 | article|s. Each|
|00000180| 20 68 61 6c 66 20 6f 66 | 20 74 68 65 20 63 6f 6e | half of| the con|
|00000190| 76 65 72 73 69 6f 6e 20 | 69 73 20 68 61 6e 64 6c |version |is handl|
|000001a0| 65 64 20 62 79 20 61 0a | 64 69 66 66 65 72 65 6e |ed by a.|differen|
|000001b0| 74 20 70 72 6f 67 72 61 | 6d 2c 20 6d 61 69 6c 32 |t progra|m, mail2|
|000001c0| 6e 65 77 73 20 6f 72 20 | 6e 65 77 73 32 6d 61 69 |news or |news2mai|
|000001d0| 6c 2e 20 20 41 20 66 65 | 77 20 75 74 69 6c 69 74 |l. A fe|w utilit|
|000001e0| 79 20 70 72 6f 67 72 61 | 6d 73 20 61 72 65 0a 61 |y progra|ms are.a|
|000001f0| 6c 73 6f 20 69 6e 63 6c | 75 64 65 64 2e 0a 0a 57 |lso incl|uded...W|
|00000200| 69 74 68 20 74 68 65 73 | 65 20 70 72 6f 67 72 61 |ith thes|e progra|
|00000210| 6d 73 20 61 6e 64 20 74 | 68 65 20 72 69 67 68 74 |ms and t|he right|
|00000220| 20 73 65 74 20 6f 66 20 | 6d 61 69 6c 20 61 6c 69 | set of |mail ali|
|00000230| 61 73 65 73 20 61 6e 64 | 20 6e 65 77 73 20 73 79 |ases and| news sy|
|00000240| 73 20 61 6e 64 0a 61 63 | 74 69 76 65 20 66 69 6c |s and.ac|tive fil|
|00000250| 65 20 65 6e 74 72 69 65 | 73 2c 20 69 74 20 69 73 |e entrie|s, it is|
|00000260| 20 70 6f 73 73 69 62 6c | 65 20 74 6f 20 62 75 69 | possibl|e to bui|
|00000270| 6c 64 20 61 6e 79 20 73 | 65 74 20 6f 66 20 6d 6f |ld any s|et of mo|
|00000280| 64 65 72 61 74 65 64 2c | 0a 75 6e 6d 6f 64 65 72 |derated,|.unmoder|
|00000290| 61 74 65 64 2c 20 6f 6e | 65 2d 77 61 79 2c 20 6f |ated, on|e-way, o|
|000002a0| 72 20 62 69 2d 64 69 72 | 65 63 74 69 6f 6e 61 6c |r bi-dir|ectional|
|000002b0| 20 67 61 74 65 77 61 79 | 73 20 62 65 74 77 65 65 | gateway|s betwee|
|000002c0| 6e 20 61 6e 79 20 73 65 | 74 20 6f 66 20 6e 65 77 |n any se|t of new|
|000002d0| 73 0a 61 6e 64 20 6d 61 | 69 6c 20 67 72 6f 75 70 |s.and ma|il group|
|000002e0| 73 20 61 6e 64 20 6c 69 | 73 74 73 20 74 68 61 74 |s and li|sts that|
|000002f0| 20 79 6f 75 72 20 6c 69 | 74 74 6c 65 20 68 65 61 | your li|ttle hea|
|00000300| 72 74 20 64 65 73 69 72 | 65 73 2e 0a 0a 23 21 20 |rt desir|es...#! |
|00000310| 2f 62 69 6e 2f 73 68 0a | 23 20 54 68 69 73 20 69 |/bin/sh.|# This i|
|00000320| 73 20 61 20 73 68 65 6c | 6c 20 61 72 63 68 69 76 |s a shel|l archiv|
|00000330| 65 2e 20 20 52 65 6d 6f | 76 65 20 61 6e 79 74 68 |e. Remo|ve anyth|
|00000340| 69 6e 67 20 62 65 66 6f | 72 65 20 74 68 69 73 20 |ing befo|re this |
|00000350| 6c 69 6e 65 2c 20 74 68 | 65 6e 20 66 65 65 64 20 |line, th|en feed |
|00000360| 69 74 0a 23 20 69 6e 74 | 6f 20 61 20 73 68 65 6c |it.# int|o a shel|
|00000370| 6c 20 76 69 61 20 22 73 | 68 20 66 69 6c 65 22 20 |l via "s|h file" |
|00000380| 6f 72 20 73 69 6d 69 6c | 61 72 2e 20 20 54 6f 20 |or simil|ar. To |
|00000390| 6f 76 65 72 77 72 69 74 | 65 20 65 78 69 73 74 69 |overwrit|e existi|
|000003a0| 6e 67 20 66 69 6c 65 73 | 2c 0a 23 20 74 79 70 65 |ng files|,.# type|
|000003b0| 20 22 73 68 20 66 69 6c | 65 20 2d 63 22 2e 0a 23 | "sh fil|e -c"..#|
|000003c0| 20 54 68 65 20 74 6f 6f | 6c 20 74 68 61 74 20 67 | The too|l that g|
|000003d0| 65 6e 65 72 61 74 65 64 | 20 74 68 69 73 20 61 70 |enerated| this ap|
|000003e0| 70 65 61 72 65 64 20 69 | 6e 20 74 68 65 20 63 6f |peared i|n the co|
|000003f0| 6d 70 2e 73 6f 75 72 63 | 65 73 2e 75 6e 69 78 20 |mp.sourc|es.unix |
|00000400| 6e 65 77 73 67 72 6f 75 | 70 3b 0a 23 20 73 65 6e |newsgrou|p;.# sen|
|00000410| 64 20 6d 61 69 6c 20 74 | 6f 20 63 6f 6d 70 2d 73 |d mail t|o comp-s|
|00000420| 6f 75 72 63 65 73 2d 75 | 6e 69 78 40 75 75 6e 65 |ources-u|nix@uune|
|00000430| 74 2e 75 75 2e 6e 65 74 | 20 69 66 20 79 6f 75 20 |t.uu.net| if you |
|00000440| 77 61 6e 74 20 74 68 61 | 74 20 74 6f 6f 6c 2e 0a |want tha|t tool..|
|00000450| 23 20 43 6f 6e 74 65 6e | 74 73 3a 20 20 52 45 41 |# Conten|ts: REA|
|00000460| 44 4d 45 20 4d 41 4e 49 | 46 45 53 54 20 67 61 67 |DME MANI|FEST gag|
|00000470| 2e 31 20 67 61 67 2e 79 | 20 72 65 67 65 78 2e 63 |.1 gag.y| regex.c|
|00000480| 0a 23 20 57 72 61 70 70 | 65 64 20 62 79 20 72 73 |.# Wrapp|ed by rs|
|00000490| 61 6c 7a 40 6c 69 74 63 | 68 69 2e 62 62 6e 2e 63 |alz@litc|hi.bbn.c|
|000004a0| 6f 6d 20 6f 6e 20 46 72 | 69 20 4d 61 72 20 31 35 |om on Fr|i Mar 15|
|000004b0| 20 31 36 3a 34 32 3a 32 | 35 20 31 39 39 31 0a 50 | 16:42:2|5 1991.P|
|000004c0| 41 54 48 3d 2f 62 69 6e | 3a 2f 75 73 72 2f 62 69 |ATH=/bin|:/usr/bi|
|000004d0| 6e 3a 2f 75 73 72 2f 75 | 63 62 20 3b 20 65 78 70 |n:/usr/u|cb ; exp|
|000004e0| 6f 72 74 20 50 41 54 48 | 0a 65 63 68 6f 20 49 66 |ort PATH|.echo If|
|000004f0| 20 74 68 69 73 20 61 72 | 63 68 69 76 65 20 69 73 | this ar|chive is|
|00000500| 20 63 6f 6d 70 6c 65 74 | 65 2c 20 79 6f 75 20 77 | complet|e, you w|
|00000510| 69 6c 6c 20 73 65 65 20 | 74 68 65 20 66 6f 6c 6c |ill see |the foll|
|00000520| 6f 77 69 6e 67 20 6d 65 | 73 73 61 67 65 3a 0a 65 |owing me|ssage:.e|
|00000530| 63 68 6f 20 27 20 20 20 | 20 20 20 20 20 20 20 22 |cho ' | "|
|00000540| 73 68 61 72 3a 20 45 6e | 64 20 6f 66 20 61 72 63 |shar: En|d of arc|
|00000550| 68 69 76 65 20 31 20 28 | 6f 66 20 34 29 2e 22 27 |hive 1 (|of 4)."'|
|00000560| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 52 45 41 |.if test| -f 'REA|
|00000570| 44 4d 45 27 20 2d 61 20 | 22 24 7b 31 7d 22 20 21 |DME' -a |"${1}" !|
|00000580| 3d 20 22 2d 63 22 20 3b | 20 74 68 65 6e 20 0a 20 |= "-c" ;| then . |
|00000590| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 57 69 6c 6c | echo sh|ar: Will|
|000005a0| 20 6e 6f 74 20 63 6c 6f | 62 62 65 72 20 65 78 69 | not clo|bber exi|
|000005b0| 73 74 69 6e 67 20 66 69 | 6c 65 20 5c 22 27 52 45 |sting fi|le \"'RE|
|000005c0| 41 44 4d 45 27 5c 22 0a | 65 6c 73 65 0a 20 20 65 |ADME'\".|else. e|
|000005d0| 63 68 6f 20 73 68 61 72 | 3a 20 45 78 74 72 61 63 |cho shar|: Extrac|
|000005e0| 74 69 6e 67 20 5c 22 27 | 52 45 41 44 4d 45 27 5c |ting \"'|README'\|
|000005f0| 22 20 5c 28 33 38 33 33 | 20 63 68 61 72 61 63 74 |" \(3833| charact|
|00000600| 65 72 73 5c 29 0a 20 20 | 73 65 64 20 22 73 2f 5e |ers\). |sed "s/^|
|00000610| 58 2f 2f 22 20 3e 27 52 | 45 41 44 4d 45 27 20 3c |X//" >'R|EADME' <|
|00000620| 3c 27 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 27 0a 58 |<'END_OF|_FILE'.X|
|00000630| 49 6e 74 72 6f 64 75 63 | 74 69 6f 6e 0a 58 2d 2d |Introduc|tion.X--|
|00000640| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0a 58 54 68 69 73 |--------|--.XThis|
|00000650| 20 6b 69 74 20 70 72 6f | 76 69 64 65 73 20 74 77 | kit pro|vides tw|
|00000660| 6f 20 70 72 6f 67 72 61 | 6d 73 20 66 6f 72 20 22 |o progra|ms for "|
|00000670| 6c 69 6e 6b 69 6e 67 22 | 20 52 46 43 38 32 32 20 |linking"| RFC822 |
|00000680| 4d 61 69 6c 20 6d 65 73 | 73 61 67 65 73 20 61 6e |Mail mes|sages an|
|00000690| 64 0a 58 52 46 43 31 30 | 37 36 20 55 73 65 6e 65 |d.XRFC10|76 Usene|
|000006a0| 74 20 4e 65 77 73 20 61 | 72 74 69 63 6c 65 73 2e |t News a|rticles.|
|000006b0| 20 20 45 61 63 68 20 68 | 61 6c 66 20 6f 66 20 74 | Each h|alf of t|
|000006c0| 68 65 20 63 6f 6e 76 65 | 72 73 69 6f 6e 20 69 73 |he conve|rsion is|
|000006d0| 20 68 61 6e 64 6c 65 64 | 20 62 79 20 61 0a 58 64 | handled| by a.Xd|
|000006e0| 69 66 66 65 72 65 6e 74 | 20 70 72 6f 67 72 61 6d |ifferent| program|
|000006f0| 2c 20 6d 61 69 6c 32 6e | 65 77 73 20 6f 72 20 6e |, mail2n|ews or n|
|00000700| 65 77 73 32 6d 61 69 6c | 2e 20 20 41 20 66 65 77 |ews2mail|. A few|
|00000710| 20 75 74 69 6c 69 74 79 | 20 70 72 6f 67 72 61 6d | utility| program|
|00000720| 73 20 61 72 65 0a 58 61 | 6c 73 6f 20 69 6e 63 6c |s are.Xa|lso incl|
|00000730| 75 64 65 64 2e 0a 58 0a | 58 57 69 74 68 20 74 68 |uded..X.|XWith th|
|00000740| 65 73 65 20 70 72 6f 67 | 72 61 6d 73 20 61 6e 64 |ese prog|rams and|
|00000750| 20 74 68 65 20 72 69 67 | 68 74 20 73 65 74 20 6f | the rig|ht set o|
|00000760| 66 20 6d 61 69 6c 20 61 | 6c 69 61 73 65 73 20 61 |f mail a|liases a|
|00000770| 6e 64 20 6e 65 77 73 20 | 73 79 73 20 61 6e 64 0a |nd news |sys and.|
|00000780| 58 61 63 74 69 76 65 20 | 66 69 6c 65 20 65 6e 74 |Xactive |file ent|
|00000790| 72 69 65 73 2c 20 69 74 | 20 69 73 20 70 6f 73 73 |ries, it| is poss|
|000007a0| 69 62 6c 65 20 74 6f 20 | 62 75 69 6c 64 20 61 6e |ible to |build an|
|000007b0| 79 20 73 65 74 20 6f 66 | 20 6d 6f 64 65 72 61 74 |y set of| moderat|
|000007c0| 65 64 2c 0a 58 75 6e 6d | 6f 64 65 72 61 74 65 64 |ed,.Xunm|oderated|
|000007d0| 2c 20 6f 6e 65 2d 77 61 | 79 2c 20 6f 72 20 62 69 |, one-wa|y, or bi|
|000007e0| 2d 64 69 72 65 63 74 69 | 6f 6e 61 6c 20 67 61 74 |-directi|onal gat|
|000007f0| 65 77 61 79 73 20 62 65 | 74 77 65 65 6e 20 61 6e |eways be|tween an|
|00000800| 79 20 73 65 74 20 6f 66 | 20 6e 65 77 73 0a 58 61 |y set of| news.Xa|
|00000810| 6e 64 20 6d 61 69 6c 20 | 67 72 6f 75 70 73 20 61 |nd mail |groups a|
|00000820| 6e 64 20 6c 69 73 74 73 | 20 74 68 61 74 20 79 6f |nd lists| that yo|
|00000830| 75 72 20 6c 69 74 74 6c | 65 20 68 65 61 72 74 20 |ur littl|e heart |
|00000840| 64 65 73 69 72 65 73 2e | 0a 58 0a 58 49 66 20 79 |desires.|.X.XIf y|
|00000850| 6f 75 20 72 75 6e 20 61 | 20 73 6d 61 6c 6c 20 73 |ou run a| small s|
|00000860| 69 74 65 20 77 69 74 68 | 20 61 20 63 6f 75 70 6c |ite with| a coupl|
|00000870| 65 20 6f 66 20 6d 6f 73 | 74 6c 79 2d 6c 6f 63 61 |e of mos|tly-loca|
|00000880| 6c 20 6d 61 69 6c 69 6e | 67 20 6c 69 73 74 73 2c |l mailin|g lists,|
|00000890| 20 79 6f 75 0a 58 70 72 | 6f 62 61 62 6c 79 20 64 | you.Xpr|obably d|
|000008a0| 6f 6e 27 74 20 77 61 6e | 74 20 74 6f 20 62 6f 74 |on't wan|t to bot|
|000008b0| 68 65 72 20 73 65 74 74 | 69 6e 67 20 74 68 69 73 |her sett|ing this|
|000008c0| 20 73 74 75 66 66 20 75 | 70 2e 20 20 49 6e 73 74 | stuff u|p. Inst|
|000008d0| 65 61 64 2c 20 65 69 74 | 68 65 72 0a 58 63 6f 6e |ead, eit|her.Xcon|
|000008e0| 76 65 72 74 20 65 76 65 | 72 79 74 68 69 6e 67 20 |vert eve|rything |
|000008f0| 64 69 72 65 63 74 6c 79 | 20 74 6f 20 4e 65 77 73 |directly| to News|
|00000900| 2c 20 6f 72 20 73 65 74 | 20 75 70 20 6c 6f 63 61 |, or set| up loca|
|00000910| 6c 20 6d 6f 64 65 72 61 | 74 65 64 20 67 72 6f 75 |l modera|ted grou|
|00000920| 70 73 2e 20 20 4f 6e 0a | 58 74 68 65 20 6f 74 68 |ps. On.|Xthe oth|
|00000930| 65 72 20 68 61 6e 64 2c | 20 69 66 20 79 6f 75 20 |er hand,| if you |
|00000940| 70 72 6f 76 69 64 65 20 | 67 61 74 65 77 61 79 20 |provide |gateway |
|00000950| 73 65 72 76 69 63 65 20 | 74 6f 20 74 68 65 20 49 |service |to the I|
|00000960| 6e 74 65 72 6e 65 74 20 | 28 65 2e 67 2e 2c 20 55 |nternet |(e.g., U|
|00000970| 43 42 29 0a 58 6f 72 20 | 6c 61 72 67 65 20 6f 72 |CB).Xor |large or|
|00000980| 67 61 6e 69 7a 61 74 69 | 6f 6e 2c 20 74 68 65 6e |ganizati|on, then|
|00000990| 20 74 68 69 73 20 73 74 | 75 66 66 20 69 73 20 66 | this st|uff is f|
|000009a0| 6f 72 20 79 6f 75 2e 20 | 20 4e 65 77 73 2c 20 65 |or you. | News, e|
|000009b0| 73 70 65 63 69 61 6c 6c | 79 20 77 69 74 68 0a 58 |speciall|y with.X|
|000009c0| 74 68 65 20 70 72 6f 6c | 69 66 65 72 61 74 69 6f |the prol|iferatio|
|000009d0| 6e 20 6f 66 20 4e 4e 54 | 50 20 28 52 46 43 39 37 |n of NNT|P (RFC97|
|000009e0| 37 29 20 61 6e 64 20 72 | 65 6c 61 74 65 64 20 63 |7) and r|elated c|
|000009f0| 6c 69 65 6e 74 73 2c 20 | 69 73 20 67 65 6e 65 72 |lients, |is gener|
|00000a00| 61 6c 6c 79 20 6d 6f 72 | 65 0a 58 65 66 66 69 63 |ally mor|e.Xeffic|
|00000a10| 69 65 6e 74 20 74 68 61 | 6e 20 6d 61 69 6c 20 66 |ient tha|n mail f|
|00000a20| 6f 72 20 64 69 73 6b 20 | 73 70 61 63 65 2c 20 43 |or disk |space, C|
|00000a30| 50 55 20 63 79 63 6c 65 | 73 2c 20 61 6e 64 20 6e |PU cycle|s, and n|
|00000a40| 65 74 77 6f 72 6b 20 75 | 73 61 67 65 2e 0a 58 0a |etwork u|sage..X.|
|00000a50| 58 54 68 65 20 70 72 6f | 67 72 61 6d 73 20 77 6f |XThe pro|grams wo|
|00000a60| 72 6b 20 77 69 74 68 20 | 53 65 6e 64 6d 61 69 6c |rk with |Sendmail|
|00000a70| 20 6f 72 20 4d 4d 44 46 | 20 61 6e 64 20 4e 65 77 | or MMDF| and New|
|00000a80| 73 20 32 2e 31 31 2e 38 | 20 6f 72 20 6c 61 74 65 |s 2.11.8| or late|
|00000a90| 72 2e 20 20 49 20 64 6f | 6e 27 74 0a 58 6b 6e 6f |r. I do|n't.Xkno|
|00000aa0| 77 20 6f 66 20 61 6e 79 | 74 68 69 6e 67 20 6f 66 |w of any|thing of|
|00000ab0| 66 2d 68 61 6e 64 20 74 | 68 61 74 20 77 6f 75 6c |f-hand t|hat woul|
|00000ac0| 64 20 70 72 65 76 65 6e | 74 20 74 68 69 73 20 66 |d preven|t this f|
|00000ad0| 72 6f 6d 20 77 6f 72 6b | 69 6e 67 20 77 69 74 68 |rom work|ing with|
|00000ae0| 20 43 20 6e 65 77 73 0a | 58 28 64 69 64 20 45 72 | C news.|X(did Er|
|00000af0| 69 6b 20 65 76 65 72 20 | 73 61 79 20 74 68 61 6e |ik ever |say than|
|00000b00| 6b 20 79 6f 75 2c 20 48 | 65 6e 72 79 3f 29 2e 20 |k you, H|enry?). |
|00000b10| 20 57 65 27 76 65 20 6f | 6e 6c 79 20 72 75 6e 20 | We've o|nly run |
|00000b20| 74 68 65 20 70 72 6f 67 | 72 61 6d 73 20 6f 6e 20 |the prog|rams on |
|00000b30| 42 53 44 0a 58 68 6f 73 | 74 73 2c 20 62 75 74 20 |BSD.Xhos|ts, but |
|00000b40| 61 20 73 74 61 72 74 20 | 74 6f 77 61 72 64 20 61 |a start |toward a|
|00000b50| 20 53 79 73 74 65 6d 20 | 56 20 70 6f 72 74 20 68 | System |V port h|
|00000b60| 61 73 20 62 65 65 6e 20 | 6d 61 64 65 2e 20 20 57 |as been |made. W|
|00000b70| 68 6f 20 6b 6e 6f 77 73 | 2c 20 69 74 0a 58 6d 69 |ho knows|, it.Xmi|
|00000b80| 67 68 74 20 65 76 65 6e | 20 77 6f 72 6b 20 72 69 |ght even| work ri|
|00000b90| 67 68 74 20 6e 6f 77 2e | 0a 58 0a 58 45 72 69 6b |ght now.|.X.XErik|
|00000ba0| 20 46 61 69 72 20 3c 66 | 61 69 72 40 61 70 70 6c | Fair <f|air@appl|
|00000bb0| 65 2e 63 6f 6d 3e 20 77 | 72 6f 74 65 20 74 68 65 |e.com> w|rote the|
|00000bc0| 20 6f 72 69 67 69 6e 61 | 6c 20 76 65 72 73 69 6f | origina|l versio|
|00000bd0| 6e 20 6f 66 20 74 68 69 | 73 20 70 61 63 6b 61 67 |n of thi|s packag|
|00000be0| 65 20 61 0a 58 63 6f 75 | 70 6c 65 20 6f 66 20 79 |e a.Xcou|ple of y|
|00000bf0| 65 61 72 73 20 61 67 6f | 20 61 73 20 22 6e 72 65 |ears ago| as "nre|
|00000c00| 63 6e 65 77 73 22 20 64 | 69 73 74 72 69 62 75 74 |cnews" d|istribut|
|00000c10| 65 64 20 77 69 74 68 20 | 32 2e 31 31 20 61 6e 64 |ed with |2.11 and|
|00000c20| 20 61 73 20 22 67 61 74 | 65 77 61 79 22 2c 20 61 | as "gat|eway", a|
|00000c30| 0a 58 76 65 72 79 20 74 | 72 69 63 6b 79 20 61 77 |.Xvery t|ricky aw|
|00000c40| 6b 2f 73 68 65 6c 6c 2f | 73 65 64 20 73 63 72 69 |k/shell/|sed scri|
|00000c50| 70 74 2e 20 20 49 20 67 | 6f 74 20 63 6f 70 69 65 |pt. I g|ot copie|
|00000c60| 73 2c 20 61 6e 64 20 72 | 65 63 6f 64 65 64 20 69 |s, and r|ecoded i|
|00000c70| 74 20 61 6c 6c 20 69 6e | 20 43 2e 0a 58 49 20 61 |t all in| C..XI a|
|00000c80| 6c 73 6f 20 63 6f 6d 70 | 6c 65 74 65 6c 79 20 6f |lso comp|letely o|
|00000c90| 76 65 72 68 61 75 6c 65 | 64 20 6e 72 65 63 6e 65 |verhaule|d nrecne|
|00000ca0| 77 73 2c 20 63 68 61 6e | 67 65 64 20 74 68 65 20 |ws, chan|ged the |
|00000cb0| 6e 61 6d 65 73 2c 20 61 | 64 64 65 64 20 73 6f 6d |names, a|dded som|
|00000cc0| 65 0a 58 75 74 69 6c 69 | 74 79 20 70 72 6f 67 72 |e.Xutili|ty progr|
|00000cd0| 61 6d 73 2c 20 61 6e 64 | 20 77 72 6f 74 65 20 74 |ams, and| wrote t|
|00000ce0| 68 65 20 64 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e |he docum|entation|
|00000cf0| 2e 20 20 49 74 20 73 65 | 65 6d 73 20 70 72 65 74 |. It se|ems pret|
|00000d00| 74 79 20 73 6f 6c 69 64 | 20 6e 6f 77 2c 0a 58 61 |ty solid| now,.Xa|
|00000d10| 6e 64 20 69 73 20 70 72 | 6f 63 65 73 73 69 6e 67 |nd is pr|ocessing|
|00000d20| 20 61 20 66 65 77 20 68 | 75 6e 64 72 65 64 20 6d | a few h|undred m|
|00000d30| 65 73 73 61 67 65 73 20 | 61 20 77 65 65 6b 20 61 |essages |a week a|
|00000d40| 74 20 42 42 4e 20 61 6e | 64 20 65 6c 73 65 77 68 |t BBN an|d elsewh|
|00000d50| 65 72 65 2e 0a 58 0a 58 | 49 6e 73 74 61 6c 6c 61 |ere..X.X|Installa|
|00000d60| 74 69 6f 6e 0a 58 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |tion.X--|--------|
|00000d70| 2d 2d 0a 58 4d 61 69 6c | 32 6e 65 77 73 20 75 73 |--.XMail|2news us|
|00000d80| 65 73 20 74 68 65 20 64 | 61 74 65 20 70 61 72 73 |es the d|ate pars|
|00000d90| 65 72 20 66 72 6f 6d 20 | 74 68 65 20 32 2e 31 31 |er from |the 2.11|
|00000da0| 20 6e 65 74 6e 65 77 73 | 20 64 69 73 74 72 69 62 | netnews| distrib|
|00000db0| 75 74 69 6f 6e 3b 20 65 | 64 69 74 0a 58 74 68 65 |ution; e|dit.Xthe|
|00000dc0| 20 4d 61 6b 65 66 69 6c | 65 20 74 6f 20 70 6f 69 | Makefil|e to poi|
|00000dd0| 6e 74 20 74 6f 20 77 68 | 65 72 65 20 79 6f 75 20 |nt to wh|ere you |
|00000de0| 6b 65 65 70 20 79 6f 75 | 72 20 73 6f 75 72 63 65 |keep you|r source|
|00000df0| 2e 20 20 4e 65 78 74 2c | 20 65 64 69 74 20 67 61 |. Next,| edit ga|
|00000e00| 74 65 2e 68 20 61 73 0a | 58 61 70 70 72 6f 70 72 |te.h as.|Xappropr|
|00000e10| 69 61 74 65 20 66 6f 72 | 20 79 6f 75 72 20 73 79 |iate for| your sy|
|00000e20| 73 74 65 6d 2e 20 20 54 | 68 65 72 65 20 61 72 65 |stem. T|here are|
|00000e30| 20 73 6f 6d 65 20 66 61 | 69 72 6c 79 20 64 65 74 | some fa|irly det|
|00000e40| 61 69 6c 65 64 20 63 6f | 6d 6d 65 6e 74 73 0a 58 |ailed co|mments.X|
|00000e50| 65 78 70 6c 61 69 6e 69 | 6e 67 20 74 68 65 20 6d |explaini|ng the m|
|00000e60| 65 61 6e 69 6e 67 20 6f | 66 20 74 68 65 20 23 64 |eaning o|f the #d|
|00000e70| 65 66 69 6e 65 27 73 2c | 20 62 75 74 20 67 6f 6f |efine's,| but goo|
|00000e80| 64 20 6c 75 63 6b 2e 20 | 20 55 6e 66 6f 72 74 75 |d luck. | Unfortu|
|00000e90| 6e 61 74 65 6c 79 2c 0a | 58 74 68 69 73 20 69 73 |nately,.|Xthis is|
|00000ea0| 20 6f 6e 65 20 6f 66 20 | 74 68 6f 73 65 20 74 68 | one of |those th|
|00000eb0| 69 6e 67 73 20 74 68 61 | 74 20 79 6f 75 20 68 61 |ings tha|t you ha|
|00000ec0| 76 65 20 74 6f 20 61 6c | 72 65 61 64 79 20 6b 6e |ve to al|ready kn|
|00000ed0| 6f 77 20 61 20 66 61 69 | 72 20 62 69 74 20 61 62 |ow a fai|r bit ab|
|00000ee0| 6f 75 74 0a 58 62 65 66 | 6f 72 65 20 79 6f 75 20 |out.Xbef|ore you |
|00000ef0| 63 61 6e 20 75 73 65 20 | 69 74 2e 20 20 41 73 20 |can use |it. As |
|00000f00| 6f 6e 65 20 77 61 79 20 | 75 70 20 74 68 65 20 6c |one way |up the l|
|00000f10| 65 61 72 6e 69 6e 67 20 | 63 75 72 76 65 2c 20 70 |earning |curve, p|
|00000f20| 6c 61 79 20 77 69 74 68 | 20 74 68 65 0a 58 67 61 |lay with| the.Xga|
|00000f30| 67 20 2d 2d 20 74 68 65 | 20 68 61 72 64 65 73 74 |g -- the| hardest|
|00000f40| 20 70 61 72 74 20 69 73 | 20 61 6c 6d 6f 73 74 20 | part is| almost |
|00000f50| 61 6c 77 61 79 73 20 67 | 65 74 74 69 6e 67 20 74 |always g|etting t|
|00000f60| 68 65 20 72 69 67 68 74 | 20 61 6c 69 61 73 65 73 |he right| aliases|
|00000f70| 20 61 6e 64 20 6e 65 77 | 73 0a 58 65 6e 74 72 69 | and new|s.Xentri|
|00000f80| 65 73 20 73 65 74 20 75 | 70 2e 0a 58 0a 58 54 68 |es set u|p..X.XTh|
|00000f90| 65 20 22 73 69 67 6e 6f | 66 66 22 20 63 6f 64 65 |e "signo|ff" code|
|00000fa0| 20 69 73 20 70 75 6c 6c | 65 64 20 6f 75 74 20 69 | is pull|ed out i|
|00000fb0| 6e 74 6f 20 61 20 73 65 | 70 61 72 61 74 65 20 70 |nto a se|parate p|
|00000fc0| 72 6f 67 72 61 6d 20 61 | 6e 64 20 69 73 20 61 6c |rogram a|nd is al|
|00000fd0| 73 6f 20 70 61 72 74 0a | 58 6f 66 20 6d 61 69 6c |so part.|Xof mail|
|00000fe0| 32 6e 65 77 73 2e 20 20 | 54 68 69 73 20 69 73 20 |2news. |This is |
|00000ff0| 73 6f 20 74 68 61 74 20 | 61 20 70 72 6f 70 65 72 |so that |a proper|
|00001000| 6c 79 20 70 61 72 61 6e | 6f 69 64 20 61 64 6d 69 |ly paran|oid admi|
|00001010| 6e 69 73 74 72 61 74 6f | 72 20 63 61 6e 20 74 72 |nistrato|r can tr|
|00001020| 61 70 0a 58 74 68 65 20 | 65 78 69 74 20 63 6f 64 |ap.Xthe |exit cod|
|00001030| 65 2c 20 61 6e 64 20 66 | 6f 72 77 61 72 64 20 72 |e, and f|orward r|
|00001040| 65 6a 65 63 74 65 64 20 | 70 6f 73 74 69 6e 67 73 |ejected |postings|
|00001050| 20 74 6f 20 61 20 68 75 | 6d 61 6e 20 74 6f 20 76 | to a hu|man to v|
|00001060| 65 72 69 66 79 2e 20 20 | 49 66 0a 58 79 6f 75 20 |erify. |If.Xyou |
|00001070| 74 72 75 73 74 20 74 68 | 65 20 68 65 75 72 69 73 |trust th|e heuris|
|00001080| 74 69 63 73 20 69 6e 20 | 74 68 61 74 20 70 72 6f |tics in |that pro|
|00001090| 67 72 61 6d 2c 20 6a 75 | 73 74 20 74 75 72 6e 20 |gram, ju|st turn |
|000010a0| 6f 6e 20 74 68 65 20 2d | 46 20 66 6c 61 67 2e 0a |on the -|F flag..|
|000010b0| 58 0a 58 41 74 20 74 68 | 69 73 20 70 6f 69 6e 74 |X.XAt th|is point|
|000010c0| 20 49 20 73 68 6f 75 6c | 64 20 62 65 20 74 65 6c | I shoul|d be tel|
|000010d0| 6c 69 6e 67 20 79 6f 75 | 20 68 6f 77 20 74 6f 20 |ling you| how to |
|000010e0| 73 65 74 20 75 70 20 74 | 68 65 20 64 69 66 66 65 |set up t|he diffe|
|000010f0| 72 65 6e 74 20 74 79 70 | 65 73 20 6f 66 0a 58 67 |rent typ|es of.Xg|
|00001100| 72 6f 75 70 73 2c 20 62 | 75 74 20 49 27 6d 20 74 |roups, b|ut I'm t|
|00001110| 6f 6f 20 62 75 72 6e 74 | 20 6f 75 74 20 6f 6e 20 |oo burnt| out on |
|00001120| 74 68 69 73 20 74 6f 20 | 62 6f 74 68 65 72 2e 20 |this to |bother. |
|00001130| 20 49 66 20 73 6f 6d 65 | 6f 6e 65 20 68 61 73 20 | If some|one has |
|00001140| 73 6f 6d 65 0a 58 77 6f | 72 64 73 20 68 65 72 65 |some.Xwo|rds here|
|00001150| 20 74 6f 20 67 65 74 20 | 6d 65 20 73 74 61 72 74 | to get |me start|
|00001160| 65 64 2c 20 49 27 64 20 | 61 70 70 72 65 63 69 61 |ed, I'd |apprecia|
|00001170| 74 65 20 69 74 2e 0a 58 | 0a 58 46 6c 61 77 73 0a |te it..X|.XFlaws.|
|00001180| 58 2d 2d 2d 2d 2d 0a 58 | 43 72 6f 73 73 2d 70 6f |X-----.X|Cross-po|
|00001190| 73 74 69 6e 67 20 61 6e | 64 20 6d 75 6c 74 69 70 |sting an|d multip|
|000011a0| 6c 65 20 6d 61 69 6c 20 | 72 65 63 69 70 69 65 6e |le mail |recipien|
|000011b0| 74 73 20 61 72 65 20 6e | 6f 74 20 68 61 6e 64 6c |ts are n|ot handl|
|000011c0| 65 64 20 76 65 72 79 20 | 77 65 6c 6c 2e 0a 58 43 |ed very |well..XC|
|000011d0| 72 6f 73 73 2d 70 6f 73 | 74 20 6d 65 61 6e 73 20 |ross-pos|t means |
|000011e0| 65 61 63 68 20 6d 61 69 | 6c 69 6e 67 20 6c 69 73 |each mai|ling lis|
|000011f0| 74 20 67 65 74 73 20 61 | 20 73 65 70 61 72 61 74 |t gets a| separat|
|00001200| 65 20 6d 65 73 73 61 67 | 65 2e 20 20 44 6f 65 73 |e messag|e. Does|
|00001210| 0a 58 42 20 6e 65 77 73 | 27 73 20 6d 75 6c 74 69 |.XB news|'s multi|
|00001220| 2d 63 61 73 74 20 66 69 | 78 20 74 68 69 73 2c 20 |-cast fi|x this, |
|00001230| 70 65 72 68 61 70 73 3f | 0a 58 0a 58 53 6f 6d 65 |perhaps?|.X.XSome|
|00001240| 6f 6e 65 20 73 65 6e 64 | 69 6e 67 20 6d 61 69 6c |one send|ing mail|
|00001250| 20 74 6f 20 6c 69 73 74 | 61 20 61 6e 64 20 6c 69 | to list|a and li|
|00001260| 73 74 62 20 6d 65 61 6e | 73 20 74 68 65 20 6d 65 |stb mean|s the me|
|00001270| 73 73 61 67 65 20 6f 6e | 6c 79 20 67 6f 65 73 20 |ssage on|ly goes |
|00001280| 69 6e 74 6f 0a 58 6e 65 | 77 73 2e 6c 69 73 74 2e |into.Xne|ws.list.|
|00001290| 61 2c 20 6f 72 20 6e 65 | 77 73 2e 6c 69 73 74 2e |a, or ne|ws.list.|
|000012a0| 62 2c 20 64 65 70 65 6e | 64 69 6e 67 20 6f 6e 20 |b, depen|ding on |
|000012b0| 77 68 69 63 68 20 67 61 | 74 65 77 61 79 20 61 6c |which ga|teway al|
|000012c0| 69 61 73 20 67 65 74 73 | 20 69 74 0a 58 66 69 72 |ias gets| it.Xfir|
|000012d0| 73 74 2c 20 77 68 69 63 | 68 20 69 73 6e 27 74 20 |st, whic|h isn't |
|000012e0| 67 72 65 61 74 2e 20 20 | 4f 6e 65 20 68 61 63 6b |great. |One hack|
|000012f0| 2c 20 74 6f 20 61 76 6f | 69 64 20 6c 6f 73 69 6e |, to avo|id losin|
|00001300| 67 20 6d 65 73 73 61 67 | 65 73 2c 20 69 73 20 74 |g messag|es, is t|
|00001310| 6f 20 6d 75 6e 67 65 0a | 58 74 68 65 20 6d 65 73 |o munge.|Xthe mes|
|00001320| 73 61 67 65 2d 69 64 20 | 74 6f 20 70 75 74 20 74 |sage-id |to put t|
|00001330| 68 65 20 6e 65 77 73 67 | 72 6f 75 70 20 6e 61 6d |he newsg|roup nam|
|00001340| 65 20 69 6e 20 74 68 65 | 72 65 2e 0a 58 0a 58 48 |e in the|re..X.XH|
|00001350| 6f 77 20 64 6f 20 79 6f | 75 20 62 79 70 61 73 73 |ow do yo|u bypass|
|00001360| 20 74 68 65 20 22 6d 6f | 72 65 20 69 6e 63 6c 75 | the "mo|re inclu|
|00001370| 64 65 64 20 74 68 61 6e | 20 6e 65 77 20 74 65 78 |ded than| new tex|
|00001380| 74 22 20 63 68 65 63 6b | 20 69 6e 20 69 6e 65 77 |t" check| in inew|
|00001390| 73 3f 0a 58 0a 58 46 69 | 6e 61 6c 6c 79 0a 58 2d |s?.X.XFi|nally.X-|
|000013a0| 2d 2d 2d 2d 2d 2d 0a 58 | 49 20 61 6d 20 6d 61 69 |------.X|I am mai|
|000013b0| 6e 74 61 69 6e 69 6e 67 | 20 74 68 69 73 20 72 65 |ntaining| this re|
|000013c0| 6c 65 61 73 65 2c 20 62 | 75 74 20 45 72 69 6b 20 |lease, b|ut Erik |
|000013d0| 69 73 20 73 74 69 6c 6c | 20 69 6e 76 6f 6c 76 65 |is still| involve|
|000013e0| 64 20 69 6e 20 74 68 65 | 20 69 73 73 75 65 73 0a |d in the| issues.|
|000013f0| 58 61 6e 64 20 6d 69 67 | 68 74 20 62 65 20 69 6e |Xand mig|ht be in|
|00001400| 74 65 72 65 73 74 65 64 | 20 69 6e 20 77 68 61 74 |terested| in what|
|00001410| 20 79 6f 75 20 68 61 76 | 65 20 74 6f 20 73 61 79 | you hav|e to say|
|00001420| 2e 20 20 54 68 65 72 65 | 20 69 73 20 61 20 6d 61 |. There| is a ma|
|00001430| 69 6c 69 6e 67 20 6c 69 | 73 74 0a 58 66 6f 72 20 |iling li|st.Xfor |
|00001440| 73 69 74 65 73 20 64 6f | 69 6e 67 20 74 68 69 73 |sites do|ing this|
|00001450| 20 69 6e 20 61 20 62 69 | 67 20 77 61 79 2c 20 70 | in a bi|g way, p|
|00001460| 72 69 6d 61 72 69 6c 79 | 20 6f 6e 20 74 68 65 20 |rimarily| on the |
|00001470| 49 6e 74 65 72 6e 65 74 | 2e 20 20 57 72 69 74 65 |Internet|. Write|
|00001480| 0a 58 74 6f 20 6e 65 77 | 73 2d 6e 2d 6d 61 69 6c |.Xto new|s-n-mail|
|00001490| 2d 72 65 71 75 65 73 74 | 40 62 62 6e 2e 63 6f 6d |-request|@bbn.com|
|000014a0| 20 74 6f 20 62 65 20 61 | 64 64 65 64 2e 20 20 50 | to be a|dded. P|
|000014b0| 6c 65 61 73 65 20 64 6f | 6e 27 74 20 61 73 6b 20 |lease do|n't ask |
|000014c0| 74 6f 20 6a 6f 69 6e 0a | 58 69 66 20 79 6f 75 27 |to join.|Xif you'|
|000014d0| 72 65 20 6f 6e 6c 79 20 | 64 6f 69 6e 67 20 6c 6f |re only |doing lo|
|000014e0| 63 61 6c 20 67 61 74 65 | 77 61 79 73 20 6f 66 20 |cal gate|ways of |
|000014f0| 61 20 63 6f 75 70 6c 65 | 20 6f 66 20 67 72 6f 75 |a couple| of grou|
|00001500| 70 73 2e 0a 58 0a 58 49 | 66 20 79 6f 75 20 64 6f |ps..X.XI|f you do|
|00001510| 6e 27 74 20 73 65 6e 64 | 20 65 2d 6d 61 69 6c 2c |n't send| e-mail,|
|00001520| 20 74 68 65 6e 20 75 73 | 65 20 63 6f 6d 70 2e 6d | then us|e comp.m|
|00001530| 61 69 6c 2e 6d 69 73 63 | 20 61 6e 64 20 6e 65 77 |ail.misc| and new|
|00001540| 73 2e 73 6f 66 74 77 61 | 72 65 2e 62 3b 0a 58 63 |s.softwa|re.b;.Xc|
|00001550| 72 6f 73 73 2d 70 6f 73 | 74 2e 0a 58 0a 58 52 69 |ross-pos|t..X.XRi|
|00001560| 63 68 20 24 61 6c 7a 0a | 58 72 73 61 6c 7a 40 62 |ch $alz.|Xrsalz@b|
|00001570| 62 6e 2e 63 6f 6d 0a 45 | 4e 44 5f 4f 46 5f 46 49 |bn.com.E|ND_OF_FI|
|00001580| 4c 45 0a 20 20 69 66 20 | 74 65 73 74 20 33 38 33 |LE. if |test 383|
|00001590| 33 20 2d 6e 65 20 60 77 | 63 20 2d 63 20 3c 27 52 |3 -ne `w|c -c <'R|
|000015a0| 45 41 44 4d 45 27 60 3b | 20 74 68 65 6e 0a 20 20 |EADME'`;| then. |
|000015b0| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 5c 22 27 | echo s|har: \"'|
|000015c0| 52 45 41 44 4d 45 27 5c | 22 20 75 6e 70 61 63 6b |README'\|" unpack|
|000015d0| 65 64 20 77 69 74 68 20 | 77 72 6f 6e 67 20 73 69 |ed with |wrong si|
|000015e0| 7a 65 21 0a 20 20 66 69 | 0a 20 20 23 20 65 6e 64 |ze!. fi|. # end|
|000015f0| 20 6f 66 20 27 52 45 41 | 44 4d 45 27 0a 66 69 0a | of 'REA|DME'.fi.|
|00001600| 69 66 20 74 65 73 74 20 | 2d 66 20 27 4d 41 4e 49 |if test |-f 'MANI|
|00001610| 46 45 53 54 27 20 2d 61 | 20 22 24 7b 31 7d 22 20 |FEST' -a| "${1}" |
|00001620| 21 3d 20 22 2d 63 22 20 | 3b 20 74 68 65 6e 20 0a |!= "-c" |; then .|
|00001630| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 57 69 6c | echo s|har: Wil|
|00001640| 6c 20 6e 6f 74 20 63 6c | 6f 62 62 65 72 20 65 78 |l not cl|obber ex|
|00001650| 69 73 74 69 6e 67 20 66 | 69 6c 65 20 5c 22 27 4d |isting f|ile \"'M|
|00001660| 41 4e 49 46 45 53 54 27 | 5c 22 0a 65 6c 73 65 0a |ANIFEST'|\".else.|
|00001670| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 45 78 74 | echo s|har: Ext|
|00001680| 72 61 63 74 69 6e 67 20 | 5c 22 27 4d 41 4e 49 46 |racting |\"'MANIF|
|00001690| 45 53 54 27 5c 22 20 5c | 28 31 38 31 31 20 63 68 |EST'\" \|(1811 ch|
|000016a0| 61 72 61 63 74 65 72 73 | 5c 29 0a 20 20 73 65 64 |aracters|\). sed|
|000016b0| 20 22 73 2f 5e 58 2f 2f | 22 20 3e 27 4d 41 4e 49 | "s/^X//|" >'MANI|
|000016c0| 46 45 53 54 27 20 3c 3c | 27 45 4e 44 5f 4f 46 5f |FEST' <<|'END_OF_|
|000016d0| 46 49 4c 45 27 0a 58 20 | 20 20 46 69 6c 65 20 4e |FILE'.X | File N|
|000016e0| 61 6d 65 09 09 41 72 63 | 68 69 76 65 20 23 09 44 |ame..Arc|hive #.D|
|000016f0| 65 73 63 72 69 70 74 69 | 6f 6e 0a 58 2d 2d 2d 2d |escripti|on.X----|
|00001700| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001710| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001720| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001730| 2d 2d 2d 2d 2d 2d 0a 58 | 52 45 41 44 4d 45 20 20 |------.X|README |
|00001740| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001750| 20 20 20 31 09 49 6e 73 | 74 61 6c 6c 61 74 69 6f | 1.Ins|tallatio|
|00001760| 6e 20 6e 6f 74 65 73 0a | 58 4d 41 4e 49 46 45 53 |n notes.|XMANIFES|
|00001770| 54 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |T | |
|00001780| 20 20 20 20 31 09 54 68 | 69 73 20 73 68 69 70 70 | 1.Th|is shipp|
|00001790| 69 6e 67 20 6c 69 73 74 | 0a 58 4d 61 6b 65 66 69 |ing list|.XMakefi|
|000017a0| 6c 65 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |le | |
|000017b0| 20 20 20 20 20 34 09 47 | 75 65 73 73 2e 2e 2e 0a | 4.G|uess....|
|000017c0| 58 54 4f 44 4f 20 20 20 | 20 20 20 20 20 20 20 20 |XTODO | |
|000017d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 34 09 53 74 | | 4.St|
|000017e0| 75 66 66 20 49 20 68 61 | 76 65 6e 27 74 20 67 6f |uff I ha|ven't go|
|000017f0| 74 74 65 6e 20 61 72 6f | 75 6e 64 20 74 6f 20 79 |tten aro|und to y|
|00001800| 65 74 0a 58 67 61 67 2e | 31 20 20 20 20 20 20 20 |et.Xgag.|1 |
|00001810| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 31 | | 1|
|00001820| 09 4d 61 6e 75 61 6c 20 | 70 61 67 65 20 66 6f 72 |.Manual |page for|
|00001830| 20 67 61 67 0a 58 67 61 | 67 2e 79 20 20 20 20 20 | gag.Xga|g.y |
|00001840| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001850| 20 31 09 47 61 74 65 77 | 61 79 20 61 6c 69 61 73 | 1.Gatew|ay alias|
|00001860| 20 67 65 6e 65 72 61 74 | 6f 72 20 70 72 6f 67 72 | generat|or progr|
|00001870| 61 6d 0a 58 67 61 74 65 | 2e 68 20 20 20 20 20 20 |am.Xgate|.h |
|00001880| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 33 | | 3|
|00001890| 09 48 65 61 64 65 72 20 | 66 69 6c 65 2c 20 23 69 |.Header |file, #i|
|000018a0| 6e 63 6c 75 64 65 27 64 | 20 62 79 20 65 76 65 72 |nclude'd| by ever|
|000018b0| 79 6f 6e 65 0a 58 68 64 | 72 2e 63 20 20 20 20 20 |yone.Xhd|r.c |
|000018c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000018d0| 20 33 09 48 65 61 64 65 | 72 2d 63 72 61 63 6b 69 | 3.Heade|r-cracki|
|000018e0| 6e 67 20 61 6e 64 20 61 | 64 64 72 65 73 73 20 72 |ng and a|ddress r|
|000018f0| 65 2d 77 72 69 74 69 6e | 67 20 72 6f 75 74 69 6e |e-writin|g routin|
|00001900| 65 73 0a 58 6c 65 78 2e | 6c 20 20 20 20 20 20 20 |es.Xlex.|l |
|00001910| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 33 | | 3|
|00001920| 09 54 6f 6b 65 6e 69 7a | 65 72 20 66 6f 72 20 67 |.Tokeniz|er for g|
|00001930| 61 67 0a 58 6d 61 69 6c | 2d 69 6e 74 65 72 66 61 |ag.Xmail|-interfa|
|00001940| 63 65 20 20 20 20 20 20 | 20 20 20 20 20 20 20 33 |ce | 3|
|00001950| 09 46 72 6f 6e 74 2d 65 | 6e 64 20 74 6f 20 4d 4d |.Front-e|nd to MM|
|00001960| 44 46 20 6f 72 20 73 65 | 6e 64 6d 61 69 6c 0a 58 |DF or se|ndmail.X|
|00001970| 6d 61 69 6c 32 6e 65 77 | 73 2e 31 20 20 20 20 20 |mail2new|s.1 |
|00001980| 20 20 20 20 20 20 20 20 | 20 20 20 33 09 4d 61 6e | | 3.Man|
|00001990| 75 61 6c 20 70 61 67 65 | 20 66 6f 72 20 6d 61 69 |ual page| for mai|
|000019a0| 6c 32 6e 65 77 73 0a 58 | 6d 61 69 6c 32 6e 65 77 |l2news.X|mail2new|
|000019b0| 73 2e 63 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |s.c | |
|000019c0| 20 20 20 32 09 4d 61 69 | 6e 20 70 72 6f 67 72 61 | 2.Mai|n progra|
|000019d0| 6d 20 66 6f 72 20 6d 61 | 69 6c 2d 3e 6e 65 77 73 |m for ma|il->news|
|000019e0| 20 67 61 74 65 77 61 79 | 0a 58 6d 69 73 63 2e 63 | gateway|.Xmisc.c|
|000019f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001a00| 20 20 20 20 20 33 09 53 | 75 70 70 6f 72 74 20 72 | 3.S|upport r|
|00001a10| 6f 75 74 69 6e 65 73 20 | 66 6f 72 20 62 6f 74 68 |outines |for both|
|00001a20| 20 70 72 6f 67 72 61 6d | 73 0a 58 6d 6b 6d 61 69 | program|s.Xmkmai|
|00001a30| 6c 70 6f 73 74 2e 31 20 | 20 20 20 20 20 20 20 20 |lpost.1 | |
|00001a40| 20 20 20 20 20 20 34 09 | 4d 61 6e 75 61 6c 20 70 | 4.|Manual p|
|00001a50| 61 67 65 20 66 6f 72 20 | 6d 6b 6d 61 69 6c 70 6f |age for |mkmailpo|
|00001a60| 73 74 0a 58 6d 6b 6d 61 | 69 6c 70 6f 73 74 2e 73 |st.Xmkma|ilpost.s|
|00001a70| 68 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 32 |h | 2|
|00001a80| 09 54 75 72 6e 20 61 63 | 74 69 76 65 20 66 69 6c |.Turn ac|tive fil|
|00001a90| 65 20 69 6e 74 6f 20 22 | 6d 61 69 6c 70 6f 73 74 |e into "|mailpost|
|00001aa0| 22 20 63 6f 6d 6d 61 6e | 64 73 0a 58 6e 65 77 73 |" comman|ds.Xnews|
|00001ab0| 32 6d 61 69 6c 2e 31 20 | 20 20 20 20 20 20 20 20 |2mail.1 | |
|00001ac0| 20 20 20 20 20 20 20 33 | 09 4d 61 6e 75 61 6c 20 | 3|.Manual |
|00001ad0| 70 61 67 65 20 66 6f 72 | 20 6e 65 77 73 32 6d 61 |page for| news2ma|
|00001ae0| 69 6c 0a 58 6e 65 77 73 | 32 6d 61 69 6c 2e 63 20 |il.Xnews|2mail.c |
|00001af0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 32 | | 2|
|00001b00| 09 4d 61 69 6e 20 70 72 | 6f 67 72 61 6d 20 66 6f |.Main pr|ogram fo|
|00001b10| 72 20 6e 65 77 73 2d 3e | 6d 61 69 6c 20 67 61 74 |r news->|mail gat|
|00001b20| 65 77 61 79 0a 58 6e 65 | 77 73 32 6d 61 69 6c 2e |eway.Xne|ws2mail.|
|00001b30| 73 68 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |sh | |
|00001b40| 20 34 09 41 20 73 63 72 | 69 70 74 20 76 65 72 73 | 4.A scr|ipt vers|
|00001b50| 69 6f 6e 20 6f 66 20 6e | 65 77 73 32 6d 61 69 6c |ion of n|ews2mail|
|00001b60| 0a 58 70 61 74 63 68 6c | 65 76 65 6c 2e 68 20 20 |.Xpatchl|evel.h |
|00001b70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 34 09 4d | | 4.M|
|00001b80| 69 73 74 65 61 6b 20 72 | 65 63 6f 72 64 65 72 0a |isteak r|ecorder.|
|00001b90| 58 72 65 67 65 78 2e 33 | 20 20 20 20 20 20 20 20 |Xregex.3| |
|00001ba0| 20 20 20 20 20 20 20 20 | 20 20 20 20 32 09 4d 61 | | 2.Ma|
|00001bb0| 6e 75 61 6c 20 70 61 67 | 65 20 66 6f 72 20 72 65 |nual pag|e for re|
|00001bc0| 67 65 78 0a 58 72 65 67 | 65 78 2e 63 20 20 20 20 |gex.Xreg|ex.c |
|00001bd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001be0| 31 09 52 65 67 75 6c 61 | 72 2d 65 78 70 72 65 73 |1.Regula|r-expres|
|00001bf0| 73 69 6f 6e 20 6d 61 74 | 63 68 69 6e 67 20 72 6f |sion mat|ching ro|
|00001c00| 75 74 69 6e 65 73 0a 58 | 72 66 63 38 32 32 2e 63 |utines.X|rfc822.c|
|00001c10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c20| 20 20 20 32 09 52 65 61 | 64 69 6e 67 20 61 6e 64 | 2.Rea|ding and|
|00001c30| 20 77 72 69 74 69 6e 67 | 20 6d 61 69 6c 20 61 6e | writing| mail an|
|00001c40| 64 20 6e 65 77 73 20 68 | 65 61 64 65 72 73 0a 58 |d news h|eaders.X|
|00001c50| 73 69 67 6e 6f 66 66 2e | 31 20 20 20 20 20 20 20 |signoff.|1 |
|00001c60| 20 20 20 20 20 20 20 20 | 20 20 20 34 09 4d 61 6e | | 4.Man|
|00001c70| 75 61 6c 20 70 61 67 65 | 20 66 6f 72 20 73 69 67 |ual page| for sig|
|00001c80| 6e 6f 66 66 0a 58 73 69 | 67 6e 6f 66 66 2e 63 20 |noff.Xsi|gnoff.c |
|00001c90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ca0| 20 33 09 50 72 6f 67 72 | 61 6d 20 74 6f 20 66 69 | 3.Progr|am to fi|
|00001cb0| 6c 74 65 72 20 6f 75 74 | 20 22 61 64 64 20 6d 65 |lter out| "add me|
|00001cc0| 22 20 72 65 71 75 65 73 | 74 73 0a 58 73 74 72 2e |" reques|ts.Xstr.|
|00001cd0| 63 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |c | |
|00001ce0| 20 20 20 20 20 20 20 34 | 09 53 74 72 69 6e 67 20 | 4|.String |
|00001cf0| 61 6e 64 20 73 75 70 70 | 6f 72 74 20 72 6f 75 74 |and supp|ort rout|
|00001d00| 69 6e 65 73 20 66 6f 72 | 20 6d 61 69 6c 32 6e 65 |ines for| mail2ne|
|00001d10| 77 73 0a 58 73 79 73 65 | 78 69 74 73 2e 68 20 20 |ws.Xsyse|xits.h |
|00001d20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 33 | | 3|
|00001d30| 09 53 79 73 74 65 6d 20 | 65 78 69 74 20 63 6f 64 |.System |exit cod|
|00001d40| 65 73 0a 58 74 65 73 74 | 2d 61 64 64 72 20 20 20 |es.Xtest|-addr |
|00001d50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 34 | | 4|
|00001d60| 09 54 65 73 74 20 63 61 | 73 65 73 20 66 6f 72 20 |.Test ca|ses for |
|00001d70| 61 64 64 72 65 73 73 2d | 72 65 77 72 69 74 69 6e |address-|rewritin|
|00001d80| 67 20 72 6f 75 74 69 6e | 65 73 0a 58 74 65 73 74 |g routin|es.Xtest|
|00001d90| 2d 67 61 67 20 20 20 20 | 20 20 20 20 20 20 20 20 |-gag | |
|00001da0| 20 20 20 20 20 20 20 34 | 09 54 65 73 74 20 63 61 | 4|.Test ca|
|00001db0| 73 65 73 20 66 6f 72 20 | 67 61 67 20 70 72 6f 67 |ses for |gag prog|
|00001dc0| 72 61 6d 0a 58 75 75 63 | 70 2d 32 2d 69 6e 65 74 |ram.Xuuc|p-2-inet|
|00001dd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001de0| 33 09 4d 61 70 70 69 6e | 67 20 6f 66 20 55 55 43 |3.Mappin|g of UUC|
|00001df0| 50 20 74 6f 20 49 6e 74 | 65 72 6e 65 74 20 68 6f |P to Int|ernet ho|
|00001e00| 73 74 6e 61 6d 65 73 0a | 45 4e 44 5f 4f 46 5f 46 |stnames.|END_OF_F|
|00001e10| 49 4c 45 0a 20 20 69 66 | 20 74 65 73 74 20 31 38 |ILE. if| test 18|
|00001e20| 31 31 20 2d 6e 65 20 60 | 77 63 20 2d 63 20 3c 27 |11 -ne `|wc -c <'|
|00001e30| 4d 41 4e 49 46 45 53 54 | 27 60 3b 20 74 68 65 6e |MANIFEST|'`; then|
|00001e40| 0a 20 20 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |. ech|o shar: |
|00001e50| 5c 22 27 4d 41 4e 49 46 | 45 53 54 27 5c 22 20 75 |\"'MANIF|EST'\" u|
|00001e60| 6e 70 61 63 6b 65 64 20 | 77 69 74 68 20 77 72 6f |npacked |with wro|
|00001e70| 6e 67 20 73 69 7a 65 21 | 0a 20 20 66 69 0a 20 20 |ng size!|. fi. |
|00001e80| 23 20 65 6e 64 20 6f 66 | 20 27 4d 41 4e 49 46 45 |# end of| 'MANIFE|
|00001e90| 53 54 27 0a 66 69 0a 69 | 66 20 74 65 73 74 20 2d |ST'.fi.i|f test -|
|00001ea0| 66 20 27 67 61 67 2e 31 | 27 20 2d 61 20 22 24 7b |f 'gag.1|' -a "${|
|00001eb0| 31 7d 22 20 21 3d 20 22 | 2d 63 22 20 3b 20 74 68 |1}" != "|-c" ; th|
|00001ec0| 65 6e 20 0a 20 20 65 63 | 68 6f 20 73 68 61 72 3a |en . ec|ho shar:|
|00001ed0| 20 57 69 6c 6c 20 6e 6f | 74 20 63 6c 6f 62 62 65 | Will no|t clobbe|
|00001ee0| 72 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |r existi|ng file |
|00001ef0| 5c 22 27 67 61 67 2e 31 | 27 5c 22 0a 65 6c 73 65 |\"'gag.1|'\".else|
|00001f00| 0a 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 45 78 |. echo |shar: Ex|
|00001f10| 74 72 61 63 74 69 6e 67 | 20 5c 22 27 67 61 67 2e |tracting| \"'gag.|
|00001f20| 31 27 5c 22 20 5c 28 38 | 34 36 37 20 63 68 61 72 |1'\" \(8|467 char|
|00001f30| 61 63 74 65 72 73 5c 29 | 0a 20 20 73 65 64 20 22 |acters\)|. sed "|
|00001f40| 73 2f 5e 58 2f 2f 22 20 | 3e 27 67 61 67 2e 31 27 |s/^X//" |>'gag.1'|
|00001f50| 20 3c 3c 27 45 4e 44 5f | 4f 46 5f 46 49 4c 45 27 | <<'END_|OF_FILE'|
|00001f60| 0a 58 2e 5c 22 20 24 48 | 65 61 64 65 72 3a 20 2f |.X.\" $H|eader: /|
|00001f70| 6e 66 73 2f 70 61 70 61 | 79 61 2f 75 32 2f 72 73 |nfs/papa|ya/u2/rs|
|00001f80| 61 6c 7a 2f 73 72 63 2f | 6e 65 77 73 67 61 74 65 |alz/src/|newsgate|
|00001f90| 2f 73 72 63 2f 52 43 53 | 2f 67 61 67 2e 31 2c 76 |/src/RCS|/gag.1,v|
|00001fa0| 20 31 2e 35 20 39 31 2f | 30 32 2f 31 32 20 31 34 | 1.5 91/|02/12 14|
|00001fb0| 3a 34 33 3a 33 31 20 72 | 73 61 6c 7a 20 45 78 70 |:43:31 r|salz Exp|
|00001fc0| 20 24 0a 58 2e 54 48 20 | 47 41 47 20 31 20 4c 4f | $.X.TH |GAG 1 LO|
|00001fd0| 43 41 4c 0a 58 2e 53 48 | 20 4e 41 4d 45 0a 58 67 |CAL.X.SH| NAME.Xg|
|00001fe0| 61 67 20 5c 2d 20 47 61 | 74 65 77 61 79 20 61 6c |ag \- Ga|teway al|
|00001ff0| 69 61 73 20 67 65 6e 65 | 72 61 74 6f 72 0a 58 2e |ias gene|rator.X.|
|00002000| 53 48 20 53 59 4e 4f 50 | 53 49 53 0a 58 2e 69 6e |SH SYNOP|SIS.X.in|
|00002010| 20 2b 2e 35 69 0a 58 2e | 6e 61 0a 58 2e 74 69 20 | +.5i.X.|na.X.ti |
|00002020| 2d 2e 35 69 0a 58 2e 42 | 20 67 61 67 0a 58 5b 0a |-.5i.X.B| gag.X[.|
|00002030| 58 2e 42 20 5c 2d 20 61 | 0a 58 5d 20 5b 0a 58 2e |X.B \- a|.X] [.X.|
|00002040| 42 49 20 5c 2d 62 20 62 | 62 6e 5f 66 69 6c 65 0a |BI \-b b|bn_file.|
|00002050| 58 5d 20 5b 0a 58 2e 42 | 49 20 5c 2d 64 20 6d 6d |X] [.X.B|I \-d mm|
|00002060| 64 66 5f 64 69 72 0a 58 | 5d 20 5b 0a 58 2e 42 49 |df_dir.X|] [.X.BI|
|00002070| 20 5c 2d 73 20 73 65 6e | 64 6d 61 69 6c 5f 66 69 | \-s sen|dmail_fi|
|00002080| 6c 65 0a 58 5d 20 5b 0a | 58 2e 42 49 20 5c 2d 6e |le.X] [.|X.BI \-n|
|00002090| 20 6e 65 77 73 5f 66 69 | 6c 65 0a 58 5d 20 5b 0a | news_fi|le.X] [.|
|000020a0| 58 2e 42 49 20 5c 2d 74 | 20 50 50 5f 73 68 65 6c |X.BI \-t| PP_shel|
|000020b0| 6c 0a 58 5d 20 5b 0a 58 | 2e 42 49 20 5c 2d 75 20 |l.X] [.X|.BI \-u |
|000020c0| 50 50 5f 75 73 65 72 0a | 58 5d 20 5b 0a 58 2e 42 |PP_user.|X] [.X.B|
|000020d0| 20 5c 2d 62 0a 58 5d 20 | 5b 0a 58 2e 42 20 5c 2d | \-b.X] |[.X.B \-|
|000020e0| 70 0a 58 5d 20 5b 0a 58 | 2e 49 20 66 69 6c 65 0a |p.X] [.X|.I file.|
|000020f0| 58 5d 0a 58 2e 61 64 0a | 58 2e 69 6e 20 2d 2e 35 |X].X.ad.|X.in -.5|
|00002100| 69 0a 58 2e 53 48 20 44 | 45 53 43 52 49 50 54 49 |i.X.SH D|ESCRIPTI|
|00002110| 4f 4e 0a 58 2e 49 20 47 | 61 67 0a 58 72 65 61 64 |ON.X.I G|ag.Xread|
|00002120| 73 20 61 20 63 6f 6e 74 | 72 6f 6c 20 66 69 6c 65 |s a cont|rol file|
|00002130| 20 61 6e 64 20 62 75 69 | 6c 64 73 20 65 6e 74 72 | and bui|lds entr|
|00002140| 69 65 73 20 66 6f 72 0a | 58 2e 49 52 20 73 65 6e |ies for.|X.IR sen|
|00002150| 64 6d 61 69 6c 20 28 38 | 29 2c 0a 58 2e 49 52 20 |dmail (8|),.X.IR |
|00002160| 42 42 4e 20 2c 0a 58 2e | 49 52 20 4d 4d 44 46 20 |BBN ,.X.|IR MMDF |
|00002170| 28 38 29 2c 0a 58 61 6e | 64 0a 58 2e 49 52 20 50 |(8),.Xan|d.X.IR P|
|00002180| 50 20 28 38 29 0a 58 61 | 6c 69 61 73 20 66 69 6c |P (8).Xa|lias fil|
|00002190| 65 73 2c 20 61 73 20 77 | 65 6c 6c 20 61 73 0a 58 |es, as w|ell as.X|
|000021a0| 2e 49 52 20 4e 65 74 6e | 65 77 73 20 28 31 29 0a |.IR Netn|ews (1).|
|000021b0| 58 73 79 73 20 66 69 6c | 65 20 65 6e 74 72 69 65 |Xsys fil|e entrie|
|000021c0| 73 2e 0a 58 49 74 20 69 | 73 20 61 6e 20 61 75 78 |s..XIt i|s an aux|
|000021d0| 69 6c 69 61 72 79 20 70 | 72 6f 67 72 61 6d 20 66 |iliary p|rogram f|
|000021e0| 6f 72 20 68 65 6c 70 69 | 6e 67 20 74 6f 20 6d 61 |or helpi|ng to ma|
|000021f0| 69 6e 74 61 69 6e 20 61 | 20 6d 61 69 6c 2f 6e 65 |intain a| mail/ne|
|00002200| 77 73 0a 58 67 61 74 65 | 77 61 79 20 6f 70 65 72 |ws.Xgate|way oper|
|00002210| 61 74 69 6f 6e 2e 0a 58 | 41 20 74 79 70 69 63 61 |ation..X|A typica|
|00002220| 6c 0a 58 2e 49 20 67 61 | 67 0a 58 66 69 6c 65 20 |l.X.I ga|g.Xfile |
|00002230| 73 65 74 73 20 75 70 20 | 64 65 66 61 75 6c 74 20 |sets up |default |
|00002240| 76 61 6c 75 65 73 20 66 | 6f 72 20 61 6c 6c 20 74 |values f|or all t|
|00002250| 68 65 20 70 61 72 61 6d | 65 74 65 72 73 2c 20 74 |he param|eters, t|
|00002260| 68 65 6e 20 63 6f 6e 74 | 61 69 6e 73 20 61 20 6c |hen cont|ains a l|
|00002270| 69 73 74 0a 58 6f 66 20 | 6e 65 77 73 67 72 6f 75 |ist.Xof |newsgrou|
|00002280| 70 5c 2d 6d 61 69 6c 69 | 6e 67 20 6c 69 73 74 20 |p\-maili|ng list |
|00002290| 70 61 69 72 73 2e 0a 58 | 47 72 6f 75 70 2d 73 70 |pairs..X|Group-sp|
|000022a0| 65 63 69 66 69 63 20 76 | 61 6c 75 65 73 20 63 61 |ecific v|alues ca|
|000022b0| 6e 20 6f 76 65 72 72 69 | 64 65 20 74 68 65 20 64 |n overri|de the d|
|000022c0| 65 66 61 75 6c 74 73 2e | 0a 58 2e 50 50 0a 58 2e |efaults.|.X.PP.X.|
|000022d0| 49 20 47 61 67 0a 58 69 | 6e 70 75 74 20 69 73 20 |I Gag.Xi|nput is |
|000022e0| 66 61 69 72 6c 79 20 66 | 72 65 65 2d 66 6f 72 6d |fairly f|ree-form|
|000022f0| 2e 0a 58 49 74 20 69 67 | 6e 6f 72 65 73 20 43 2d |..XIt ig|nores C-|
|00002300| 73 74 79 6c 65 20 63 6f | 6d 6d 65 6e 74 73 2c 20 |style co|mments, |
|00002310| 61 6e 64 20 77 68 69 74 | 65 73 70 61 63 65 20 69 |and whit|espace i|
|00002320| 73 20 61 6c 6c 6f 77 65 | 64 20 61 6e 79 77 68 65 |s allowe|d anywhe|
|00002330| 72 65 2e 0a 58 54 68 65 | 72 65 20 61 72 65 20 61 |re..XThe|re are a|
|00002340| 20 63 6f 75 70 6c 65 20 | 6f 66 20 64 6f 7a 65 6e | couple |of dozen|
|00002350| 20 6b 65 79 77 6f 72 64 | 73 2c 20 61 6e 64 20 63 | keyword|s, and c|
|00002360| 61 73 65 20 69 73 20 73 | 69 67 6e 69 66 69 63 61 |ase is s|ignifica|
|00002370| 6e 74 3b 20 6d 6f 73 74 | 0a 58 6f 66 20 74 68 65 |nt; most|.Xof the|
|00002380| 20 6b 65 79 77 6f 72 64 | 73 20 61 72 65 20 70 61 | keyword|s are pa|
|00002390| 72 61 6d 65 74 65 72 73 | 20 75 73 65 64 20 74 6f |rameters| used to|
|000023a0| 20 63 6f 6e 74 72 6f 6c | 20 74 68 65 20 67 61 74 | control| the gat|
|000023b0| 65 77 61 79 69 6e 67 2e | 0a 58 51 75 6f 74 65 64 |ewaying.|.XQuoted|
|000023c0| 20 73 74 72 69 6e 67 73 | 20 61 72 65 20 77 72 69 | strings| are wri|
|000023d0| 74 74 65 6e 20 61 73 20 | 74 68 65 79 20 61 72 65 |tten as |they are|
|000023e0| 20 69 6e 20 43 2c 20 65 | 78 63 65 70 74 20 74 68 | in C, e|xcept th|
|000023f0| 65 79 20 6d 61 79 20 6e | 6f 74 0a 58 73 70 61 6e |ey may n|ot.Xspan|
|00002400| 20 6c 69 6e 65 73 2e 0a | 58 2e 50 50 0a 58 55 73 | lines..|X.PP.XUs|
|00002410| 69 6e 67 20 74 68 65 20 | 70 61 72 61 6d 65 74 65 |ing the |paramete|
|00002420| 72 73 20 65 6e 75 6d 65 | 72 61 74 65 64 20 62 65 |rs enume|rated be|
|00002430| 6c 6f 77 2c 0a 58 2e 49 | 20 67 61 67 0a 58 63 61 |low,.X.I| gag.Xca|
|00002440| 6e 20 77 72 69 74 65 20 | 73 69 78 20 64 69 66 66 |n write |six diff|
|00002450| 65 72 65 6e 74 20 73 65 | 74 73 20 6f 66 20 61 6c |erent se|ts of al|
|00002460| 69 61 73 20 66 69 6c 65 | 73 3a 0a 58 2e 52 53 0a |ias file|s:.X.RS.|
|00002470| 58 2e 74 61 20 5c 77 27 | 53 65 6e 64 6d 61 69 6c |X.ta \w'|Sendmail|
|00002480| 20 20 27 75 0a 58 2e 6e | 66 0a 58 42 42 4e 09 69 | 'u.X.n|f.XBBN.i|
|00002490| 66 20 74 68 65 20 60 60 | 5c 2d 62 27 27 20 66 6c |f the ``|\-b'' fl|
|000024a0| 61 67 20 69 73 20 75 73 | 65 64 0a 58 4d 4d 44 46 |ag is us|ed.XMMDF|
|000024b0| 09 69 66 20 74 68 65 20 | 60 60 5c 2d 6d 27 27 20 |.if the |``\-m'' |
|000024c0| 66 6c 61 67 20 69 73 20 | 75 73 65 64 0a 58 6e 65 |flag is |used.Xne|
|000024d0| 77 73 09 69 66 20 74 68 | 65 20 60 60 5c 2d 6e 27 |ws.if th|e ``\-n'|
|000024e0| 27 20 66 6c 61 67 20 69 | 73 20 75 73 65 64 0a 58 |' flag i|s used.X|
|000024f0| 53 65 6e 64 6d 61 69 6c | 09 69 66 20 74 68 65 20 |Sendmail|.if the |
|00002500| 60 60 5c 2d 73 27 27 20 | 66 6c 61 67 20 69 73 20 |``\-s'' |flag is |
|00002510| 75 73 65 64 0a 58 50 50 | 20 73 68 65 6c 6c 09 49 |used.XPP| shell.I|
|00002520| 66 20 74 68 65 20 60 60 | 5c 2d 74 27 27 20 66 6c |f the ``|\-t'' fl|
|00002530| 61 67 20 69 73 20 75 73 | 65 64 0a 58 50 50 20 75 |ag is us|ed.XPP u|
|00002540| 73 65 72 09 69 66 20 74 | 68 65 20 60 60 5c 2d 75 |ser.if t|he ``\-u|
|00002550| 27 27 20 66 6c 61 67 20 | 69 73 20 75 73 65 64 0a |'' flag |is used.|
|00002560| 58 2e 66 69 0a 58 2e 52 | 45 0a 58 41 6e 79 20 63 |X.fi.X.R|E.XAny c|
|00002570| 6f 6d 62 69 6e 61 74 69 | 6f 6e 20 6f 66 20 74 68 |ombinati|on of th|
|00002580| 65 73 65 20 66 6c 61 67 | 73 20 69 73 20 61 6c 6c |ese flag|s is all|
|00002590| 6f 77 65 64 2e 0a 58 2e | 50 50 0a 58 2e 49 20 47 |owed..X.|PP.X.I G|
|000025a0| 61 67 0a 58 6e 6f 72 6d | 61 6c 6c 79 20 63 6f 6d |ag.Xnorm|ally com|
|000025b0| 70 6c 61 69 6e 73 20 61 | 62 6f 75 74 20 61 74 74 |plains a|bout att|
|000025c0| 65 6d 70 74 73 20 74 6f | 20 67 61 74 65 77 61 79 |empts to| gateway|
|000025d0| 20 67 72 6f 75 70 73 20 | 74 68 61 74 20 61 72 65 | groups |that are|
|000025e0| 20 6e 6f 74 20 69 6e 0a | 58 74 68 65 20 6e 65 77 | not in.|Xthe new|
|000025f0| 73 20 61 63 74 69 76 65 | 20 66 69 6c 65 3b 20 75 |s active| file; u|
|00002600| 73 65 20 74 68 65 20 60 | 60 5c 2d 61 27 27 20 73 |se the `|`\-a'' s|
|00002610| 75 70 70 72 65 73 73 65 | 73 20 74 68 69 73 20 63 |uppresse|s this c|
|00002620| 68 65 63 6b 2c 20 61 73 | 73 75 6d 69 6e 67 0a 58 |heck, as|suming.X|
|00002630| 74 68 61 74 20 61 6c 6c | 20 6e 61 6d 65 64 20 67 |that all| named g|
|00002640| 72 6f 75 70 73 20 61 72 | 65 20 76 61 6c 69 64 2e |roups ar|e valid.|
|00002650| 0a 58 2e 50 50 0a 58 42 | 42 4e 2d 73 74 79 6c 65 |.X.PP.XB|BN-style|
|00002660| 0a 58 61 6c 69 61 73 65 | 73 20 63 61 6e 27 74 20 |.Xaliase|s can't |
|00002670| 70 69 70 65 20 69 6e 74 | 6f 20 61 20 63 6f 6d 6d |pipe int|o a comm|
|00002680| 61 6e 64 20 77 69 74 68 | 20 70 61 72 61 6d 65 74 |and with| paramet|
|00002690| 65 72 73 2e 0a 58 46 6f | 72 20 65 78 61 6d 70 6c |ers..XFo|r exampl|
|000026a0| 65 2c 0a 58 2e 49 20 73 | 65 6e 64 6d 61 69 6c 0a |e,.X.I s|endmail.|
|000026b0| 58 63 61 6e 20 68 61 76 | 65 20 61 6e 20 65 6e 74 |Xcan hav|e an ent|
|000026c0| 72 79 20 6c 69 6b 65 20 | 74 68 69 73 20 69 6e 0a |ry like |this in.|
|000026d0| 58 2e 49 52 20 2f 75 73 | 72 2f 6c 69 62 2f 61 6c |X.IR /us|r/lib/al|
|000026e0| 69 61 73 65 73 20 28 35 | 29 3a 0a 58 2e 52 53 0a |iases (5|):.X.RS.|
|000026f0| 58 2e 74 61 20 5c 77 27 | 70 6f 73 74 2d 62 62 6f |X.ta \w'|post-bbo|
|00002700| 61 72 64 3a 20 20 27 75 | 0a 58 2e 6e 66 0a 58 70 |ard: 'u|.X.nf.Xp|
|00002710| 6f 73 74 2d 62 62 6f 61 | 72 64 3a 09 22 7c 2f 75 |ost-bboa|rd:."|/u|
|00002720| 73 72 2f 6c 69 62 2f 6e | 65 77 73 2f 6d 61 69 6c |sr/lib/n|ews/mail|
|00002730| 32 6e 65 77 73 20 2d 6e | 20 62 62 6e 2e 62 62 6f |2news -n| bbn.bbo|
|00002740| 61 72 64 20 5c 65 0a 58 | 09 2d 6f 20 27 42 42 4e |ard \e.X|.-o 'BBN|
|00002750| 20 4e 65 77 73 2f 4d 61 | 69 6c 20 47 61 74 65 77 | News/Ma|il Gatew|
|00002760| 61 79 27 20 5c 65 0a 58 | 09 2d 64 20 62 62 6e 22 |ay' \e.X|.-d bbn"|
|00002770| 0a 58 2e 66 69 0a 58 2e | 52 45 0a 58 57 69 74 68 |.X.fi.X.|RE.XWith|
|00002780| 20 42 42 4e 2c 20 69 74 | 20 69 73 20 6e 65 63 65 | BBN, it| is nece|
|00002790| 73 73 61 72 79 20 74 6f | 20 63 72 65 61 74 65 20 |ssary to| create |
|000027a0| 61 6e 20 61 6c 69 61 73 | 20 74 68 61 74 20 66 65 |an alias| that fe|
|000027b0| 65 64 73 20 69 6e 74 6f | 20 61 20 63 75 73 74 6f |eds into| a custo|
|000027c0| 6d 20 73 63 72 69 70 74 | 3a 0a 58 2e 52 53 0a 58 |m script|:.X.RS.X|
|000027d0| 2e 74 61 20 5c 77 27 62 | 62 6f 61 72 64 2d 67 61 |.ta \w'b|board-ga|
|000027e0| 74 65 3a 20 20 27 75 0a | 58 2e 6e 66 0a 58 62 62 |te: 'u.|X.nf.Xbb|
|000027f0| 6f 61 72 64 2d 67 61 74 | 65 3a 09 40 6d 61 69 6c |oard-gat|e:.@mail|
|00002800| 65 72 2e 62 62 6e 2e 63 | 6f 6d 20 7b 20 22 6e 65 |er.bbn.c|om { "ne|
|00002810| 77 73 7c 2f 75 73 72 2f | 6c 69 62 2f 6e 65 77 73 |ws|/usr/|lib/news|
|00002820| 2f 2e 61 64 6d 69 6e 2f | 67 61 74 65 2d 62 62 6f |/.admin/|gate-bbo|
|00002830| 61 72 64 22 20 7d 0a 58 | 09 62 62 6f 61 72 64 2d |ard" }.X|.bboard-|
|00002840| 67 61 74 65 40 6d 61 69 | 6c 65 72 2e 62 62 6e 2e |gate@mai|ler.bbn.|
|00002850| 63 6f 6d 0a 58 2e 66 69 | 0a 58 2e 52 45 0a 58 2e |com.X.fi|.X.RE.X.|
|00002860| 49 20 47 61 67 0a 58 77 | 69 6c 6c 20 61 6c 73 6f |I Gag.Xw|ill also|
|00002870| 20 63 72 65 61 74 65 20 | 74 68 65 20 75 74 69 6c | create |the util|
|00002880| 69 74 79 20 73 63 72 69 | 70 74 20 69 6e 76 6f 6b |ity scri|pt invok|
|00002890| 65 64 20 62 79 20 74 68 | 65 20 61 62 6f 76 65 20 |ed by th|e above |
|000028a0| 61 6c 69 61 73 3a 0a 58 | 2e 52 53 0a 58 2e 74 61 |alias:.X|.RS.X.ta|
|000028b0| 20 5c 77 27 65 78 65 63 | 20 27 75 0a 58 2e 6e 66 | \w'exec| 'u.X.nf|
|000028c0| 0a 58 23 21 20 2f 62 69 | 6e 2f 73 68 0a 58 23 23 |.X#! /bi|n/sh.X##|
|000028d0| 20 20 54 68 69 73 20 73 | 63 72 69 70 74 20 69 73 | This s|cript is|
|000028e0| 20 6f 6e 20 74 68 65 20 | 22 62 62 6f 61 72 64 22 | on the |"bboard"|
|000028f0| 20 6d 61 69 6c 69 6e 67 | 20 6c 69 73 74 2e 0a 58 | mailing| list..X|
|00002900| 65 78 65 63 20 2f 75 73 | 72 2f 6c 69 62 2f 6e 65 |exec /us|r/lib/ne|
|00002910| 77 73 2f 6d 61 69 6c 32 | 6e 65 77 73 20 2d 6e 20 |ws/mail2|news -n |
|00002920| 62 62 6e 2e 62 62 6f 61 | 72 64 20 5c 65 0a 58 09 |bbn.bboa|rd \e.X.|
|00002930| 2d 6f 20 22 42 42 4e 20 | 4e 65 77 73 2f 4d 61 69 |-o "BBN |News/Mai|
|00002940| 6c 20 47 61 74 65 77 61 | 79 22 20 5c 65 0a 58 09 |l Gatewa|y" \e.X.|
|00002950| 2d 64 20 62 62 6e 0a 58 | 2e 66 69 0a 58 2e 52 45 |-d bbn.X|.fi.X.RE|
|00002960| 0a 58 54 6f 20 63 72 65 | 61 74 65 20 74 68 65 73 |.XTo cre|ate thes|
|00002970| 65 20 73 63 72 69 70 74 | 73 2c 20 75 73 65 20 74 |e script|s, use t|
|00002980| 68 65 20 60 60 5c 2d 64 | 27 27 20 66 6c 61 67 20 |he ``\-d|'' flag |
|00002990| 74 6f 20 6e 61 6d 65 20 | 74 68 65 20 64 69 72 65 |to name |the dire|
|000029a0| 63 74 6f 72 79 20 77 68 | 65 72 65 0a 58 74 68 65 |ctory wh|ere.Xthe|
|000029b0| 79 20 73 68 6f 75 6c 64 | 20 62 65 20 63 72 65 61 |y should| be crea|
|000029c0| 74 65 64 3b 20 60 60 5c | 2d 64 20 2e 27 27 20 77 |ted; ``\|-d .'' w|
|000029d0| 69 6c 6c 20 63 72 65 61 | 74 65 20 74 68 65 6d 20 |ill crea|te them |
|000029e0| 69 6e 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 64 |in the c|urrent d|
|000029f0| 69 72 65 63 74 6f 72 79 | 2e 0a 58 2e 50 50 0a 58 |irectory|..X.PP.X|
|00002a00| 2e 49 20 4d 4d 44 46 0a | 58 61 6c 69 61 73 65 73 |.I MMDF.|Xaliases|
|00002a10| 20 61 72 65 20 73 69 6d | 69 6c 61 72 20 74 6f 0a | are sim|ilar to.|
|00002a20| 58 2e 49 52 20 73 65 6e | 64 6d 61 69 6c 20 27 73 |X.IR sen|dmail 's|
|00002a30| 2c 0a 58 65 78 63 65 70 | 74 20 74 68 61 74 20 74 |,.Xexcep|t that t|
|00002a40| 68 65 20 74 68 65 20 73 | 63 72 69 70 74 73 20 61 |he the s|cripts a|
|00002a50| 72 65 20 72 75 6e 20 75 | 6e 64 65 72 20 61 20 73 |re run u|nder a s|
|00002a60| 70 65 63 69 66 69 65 64 | 20 75 73 65 72 20 69 64 |pecified| user id|
|00002a70| 0a 58 28 73 65 65 20 62 | 65 6c 6f 77 29 2e 0a 58 |.X(see b|elow)..X|
|00002a80| 2e 50 50 0a 58 2e 49 20 | 50 50 0a 58 75 73 65 73 |.PP.X.I |PP.Xuses|
|00002a90| 20 74 77 6f 20 66 69 6c | 65 73 2c 20 61 20 73 68 | two fil|es, a sh|
|00002aa0| 65 6c 6c 20 61 6e 64 20 | 75 73 65 72 20 66 69 6c |ell and |user fil|
|00002ab0| 65 2c 20 77 68 6f 73 65 | 20 66 6f 72 6d 61 74 20 |e, whose| format |
|00002ac0| 69 73 20 6e 6f 74 20 64 | 65 73 63 72 69 62 65 64 |is not d|escribed|
|00002ad0| 20 68 65 72 65 2e 0a 58 | 2e 50 50 0a 58 53 6f 6d | here..X|.PP.XSom|
|00002ae0| 65 20 73 69 74 65 73 20 | 77 61 6e 74 20 74 6f 20 |e sites |want to |
|00002af0| 63 72 65 61 74 65 20 6d | 61 69 6c 20 61 6c 69 61 |create m|ail alia|
|00002b00| 73 65 73 20 74 68 61 74 | 20 66 6f 72 77 61 72 64 |ses that| forward|
|00002b10| 20 69 6e 74 6f 20 65 61 | 63 68 20 6e 65 77 73 67 | into ea|ch newsg|
|00002b20| 72 6f 75 70 3b 0a 58 74 | 68 61 74 20 69 73 2c 20 |roup;.Xt|hat is, |
|00002b30| 6d 61 69 6c 20 73 65 6e | 74 20 74 6f 20 60 60 63 |mail sen|t to ``c|
|00002b40| 6f 6d 70 2d 66 6f 6f 2d | 62 61 72 27 27 20 73 68 |omp-foo-|bar'' sh|
|00002b50| 6f 75 6c 64 20 67 65 74 | 20 70 6f 73 74 65 64 20 |ould get| posted |
|00002b60| 74 6f 20 74 68 65 20 60 | 60 63 6f 6d 70 2e 66 6f |to the `|`comp.fo|
|00002b70| 6f 2e 62 61 72 27 27 0a | 58 6e 65 77 73 67 72 6f |o.bar''.|Xnewsgro|
|00002b80| 75 70 2e 0a 58 49 66 20 | 74 68 65 20 60 60 5c 2d |up..XIf |the ``\-|
|00002b90| 70 27 27 20 66 6c 61 67 | 20 69 73 20 75 73 65 64 |p'' flag| is used|
|00002ba0| 2c 20 74 68 65 6e 20 65 | 61 63 68 20 67 61 74 65 |, then e|ach gate|
|00002bb0| 77 61 79 65 64 20 67 72 | 6f 75 70 20 77 69 6c 6c |wayed gr|oup will|
|00002bc0| 20 67 65 74 20 73 75 63 | 68 20 61 6e 0a 58 61 6c | get suc|h an.Xal|
|00002bd0| 69 61 73 20 63 72 65 61 | 74 65 64 2e 0a 58 54 68 |ias crea|ted..XTh|
|00002be0| 65 0a 58 2e 49 52 20 6d | 6b 6d 61 69 6c 70 6f 73 |e.X.IR m|kmailpos|
|00002bf0| 74 20 28 31 4c 29 0a 58 | 63 6f 6d 6d 61 6e 64 20 |t (1L).X|command |
|00002c00| 63 61 6e 20 62 65 20 75 | 73 65 64 20 74 6f 20 63 |can be u|sed to c|
|00002c10| 72 65 61 74 65 0a 58 2e | 49 20 67 61 67 0a 58 60 |reate.X.|I gag.X`|
|00002c20| 60 6d 61 69 6c 70 6f 73 | 74 27 27 20 63 6f 6d 6d |`mailpos|t'' comm|
|00002c30| 61 6e 64 73 20 66 6f 72 | 20 61 6c 6c 20 65 6e 74 |ands for| all ent|
|00002c40| 72 69 65 73 20 69 6e 20 | 74 68 65 20 6e 65 77 73 |ries in |the news|
|00002c50| 20 61 63 74 69 76 65 20 | 66 69 6c 65 2e 0a 58 4e | active |file..XN|
|00002c60| 6f 74 65 20 74 68 61 74 | 20 75 73 69 6e 67 0a 58 |ote that| using.X|
|00002c70| 2e 49 20 6d 6b 6d 61 69 | 6c 70 6f 73 74 0a 58 61 |.I mkmai|lpost.Xa|
|00002c80| 6e 64 20 74 68 65 20 60 | 60 5c 2d 70 27 27 20 66 |nd the `|`\-p'' f|
|00002c90| 6c 61 67 20 77 69 6c 6c | 20 61 6c 6d 6f 73 74 20 |lag will| almost |
|00002ca0| 63 65 72 74 61 69 6e 6c | 79 20 72 65 73 75 6c 74 |certainl|y result|
|00002cb0| 20 69 6e 20 74 68 65 20 | 63 72 65 61 74 69 6f 6e | in the |creation|
|00002cc0| 20 6f 66 20 64 75 70 6c | 69 63 61 74 65 0a 58 61 | of dupl|icate.Xa|
|00002cd0| 6c 69 61 73 65 73 2e 0a | 58 2e 50 50 0a 58 54 68 |liases..|X.PP.XTh|
|00002ce0| 65 20 70 61 72 61 6d 65 | 74 65 72 73 20 74 68 61 |e parame|ters tha|
|00002cf0| 74 20 63 6f 6e 74 72 6f | 6c 20 74 68 65 20 67 61 |t contro|l the ga|
|00002d00| 74 65 77 61 79 69 6e 67 | 20 61 72 65 3a 0a 58 2e |tewaying| are:.X.|
|00002d10| 49 50 20 64 69 72 65 63 | 74 6f 72 79 0a 58 54 68 |IP direc|tory.XTh|
|00002d20| 65 20 64 69 72 65 63 74 | 6f 72 79 20 77 68 65 72 |e direct|ory wher|
|00002d30| 65 20 74 68 65 20 42 42 | 4e 20 61 6c 69 61 73 20 |e the BB|N alias |
|00002d40| 73 63 72 69 70 74 73 20 | 61 72 65 20 6b 65 70 74 |scripts |are kept|
|00002d50| 2e 0a 58 28 49 6e 20 74 | 68 65 20 61 62 6f 76 65 |..X(In t|he above|
|00002d60| 20 65 78 61 6d 70 6c 65 | 2c 20 74 68 65 20 64 69 | example|, the di|
|00002d70| 72 65 63 74 6f 72 79 20 | 69 73 0a 58 2e 49 52 20 |rectory |is.X.IR |
|00002d80| 2f 75 73 72 2f 6c 69 62 | 2f 6e 65 77 73 2f 2e 61 |/usr/lib|/news/.a|
|00002d90| 64 6d 69 6e 20 2e 29 0a | 58 2e 49 50 20 64 69 73 |dmin .).|X.IP dis|
|00002da0| 74 72 69 62 75 74 69 6f | 6e 73 0a 58 41 20 73 70 |tributio|ns.XA sp|
|00002db0| 61 63 65 2d 73 65 70 61 | 72 61 74 65 64 20 6c 69 |ace-sepa|rated li|
|00002dc0| 73 74 20 6f 66 20 64 69 | 73 74 72 69 62 75 74 69 |st of di|stributi|
|00002dd0| 6f 6e 73 20 74 6f 20 66 | 6f 72 77 61 72 64 20 66 |ons to f|orward f|
|00002de0| 72 6f 6d 20 6e 65 77 73 | 20 74 6f 20 6d 61 69 6c |rom news| to mail|
|00002df0| 2e 0a 58 49 6e 20 6d 6f | 73 74 20 63 61 73 65 73 |..XIn mo|st cases|
|00002e00| 2c 20 74 68 69 73 20 77 | 69 6c 6c 20 62 65 20 74 |, this w|ill be t|
|00002e10| 68 65 20 66 75 6c 6c 20 | 73 65 74 20 6f 66 20 64 |he full |set of d|
|00002e20| 69 73 74 72 69 62 75 74 | 69 6f 6e 73 20 72 65 63 |istribut|ions rec|
|00002e30| 65 69 76 65 64 2c 20 62 | 75 74 0a 58 69 74 20 63 |eived, b|ut.Xit c|
|00002e40| 61 6e 20 62 65 20 63 6f | 6e 76 65 6e 69 65 6e 74 |an be co|nvenient|
|00002e50| 2c 20 66 6f 72 20 65 78 | 61 6d 70 6c 65 2c 20 74 |, for ex|ample, t|
|00002e60| 6f 20 6e 6f 74 20 66 6f | 72 77 61 72 64 20 72 65 |o not fo|rward re|
|00002e70| 67 69 6f 6e 61 6c 20 61 | 72 74 69 63 6c 65 73 20 |gional a|rticles |
|00002e80| 6f 75 74 0a 58 74 6f 20 | 61 20 77 6f 72 6c 64 2d |out.Xto |a world-|
|00002e90| 77 69 64 65 20 6d 61 69 | 6c 69 6e 67 20 6c 69 73 |wide mai|ling lis|
|00002ea0| 74 2e 0a 58 57 69 74 68 | 20 64 69 73 74 72 69 62 |t..XWith| distrib|
|00002eb0| 75 74 69 6f 6e 73 20 73 | 65 74 20 74 6f 20 60 60 |utions s|et to ``|
|00002ec0| 77 6f 72 6c 64 20 75 73 | 61 20 6e 61 27 27 20 74 |world us|a na'' t|
|00002ed0| 68 65 6e 20 74 68 65 20 | 6e 65 77 73 20 73 79 73 |hen the |news sys|
|00002ee0| 20 65 6e 74 72 79 0a 58 | 66 6f 72 20 60 60 63 6f | entry.X|for ``co|
|00002ef0| 6d 70 2e 66 6f 6f 27 27 | 20 77 69 6c 6c 20 68 61 |mp.foo''| will ha|
|00002f00| 76 65 20 74 68 69 73 20 | 69 6e 20 74 68 65 20 73 |ve this |in the s|
|00002f10| 65 63 6f 6e 64 20 66 69 | 65 6c 64 3a 0a 58 2e 69 |econd fi|eld:.X.i|
|00002f20| 6e 20 2b 2e 35 69 0a 58 | 2e 6e 66 0a 58 3c 73 69 |n +.5i.X|.nf.X<si|
|00002f30| 74 65 3e 3a 5c 65 0a 58 | 20 20 77 6f 72 6c 64 2c |te>:\e.X| world,|
|00002f40| 21 77 6f 72 6c 64 2e 61 | 6c 6c 2c 75 73 61 2c 21 |!world.a|ll,usa,!|
|00002f50| 75 73 61 2e 61 6c 6c 2c | 6e 61 2c 21 6e 61 2e 61 |usa.all,|na,!na.a|
|00002f60| 6c 6c 2c 63 6f 6d 70 2e | 66 6f 6f 2c 21 63 6f 6d |ll,comp.|foo,!com|
|00002f70| 70 2e 66 6f 6f 2e 61 6c | 6c 5c 65 0a 58 20 20 3c |p.foo.al|l\e.X <|
|00002f80| 72 65 73 74 20 6f 66 20 | 65 6e 74 72 79 3e 0a 58 |rest of |entry>.X|
|00002f90| 2e 69 6e 20 2d 2e 35 69 | 0a 58 2e 66 69 0a 58 2e |.in -.5i|.X.fi.X.|
|00002fa0| 49 50 20 22 69 6e 65 77 | 73 20 66 6c 61 67 73 22 |IP "inew|s flags"|
|00002fb0| 0a 58 54 68 65 73 65 20 | 61 72 65 20 66 6c 61 67 |.XThese |are flag|
|00002fc0| 73 20 74 6f 20 70 61 73 | 73 20 6f 6e 20 74 6f 0a |s to pas|s on to.|
|00002fd0| 58 2e 49 52 20 69 6e 65 | 77 73 20 28 38 29 0a 58 |X.IR ine|ws (8).X|
|00002fe0| 77 68 65 6e 20 67 61 74 | 65 77 61 79 69 6e 67 20 |when gat|ewaying |
|00002ff0| 61 20 6d 61 69 6c 20 6d | 65 73 73 61 67 65 20 69 |a mail m|essage i|
|00003000| 6e 74 6f 20 6e 65 74 6e | 65 77 73 2e 0a 58 54 68 |nto netn|ews..XTh|
|00003010| 65 79 20 61 72 65 20 70 | 75 74 20 6f 6e 20 74 68 |ey are p|ut on th|
|00003020| 65 0a 58 2e 49 20 6e 65 | 77 73 32 6d 61 69 6c 0a |e.X.I ne|ws2mail.|
|00003030| 58 63 6f 6d 6d 61 6e 64 | 20 6c 69 6e 65 2c 20 77 |Xcommand| line, w|
|00003040| 68 69 63 68 20 77 69 6c | 6c 20 70 61 73 73 20 74 |hich wil|l pass t|
|00003050| 68 65 6d 20 61 6c 6f 6e | 67 2e 0a 58 41 20 63 6f |hem alon|g..XA co|
|00003060| 6d 6d 6f 6e 20 75 73 65 | 20 69 73 20 74 6f 20 73 |mmon use| is to s|
|00003070| 65 74 20 61 20 64 65 66 | 61 75 6c 74 20 64 69 73 |et a def|ault dis|
|00003080| 74 72 69 62 75 74 69 6f | 6e 20 6f 72 20 6f 72 67 |tributio|n or org|
|00003090| 61 6e 69 7a 61 74 69 6f | 6e 2e 0a 58 2e 49 50 20 |anizatio|n..X.IP |
|000030a0| 6d 61 69 6c 32 6e 65 77 | 73 0a 58 54 68 65 20 66 |mail2new|s.XThe f|
|000030b0| 75 6c 6c 20 70 61 74 68 | 6e 61 6d 65 20 6f 66 20 |ull path|name of |
|000030c0| 74 68 65 0a 58 2e 49 20 | 6d 61 69 6c 32 6e 65 77 |the.X.I |mail2new|
|000030d0| 73 0a 58 70 72 6f 67 72 | 61 6d 2e 0a 58 2e 49 50 |s.Xprogr|am..X.IP|
|000030e0| 20 6d 61 69 6c 63 6f 6e | 74 61 63 74 0a 58 54 68 | mailcon|tact.XTh|
|000030f0| 69 73 20 69 73 20 74 68 | 65 20 6e 61 6d 65 20 6f |is is th|e name o|
|00003100| 66 20 74 68 65 20 70 65 | 72 73 6f 6e 20 6c 69 73 |f the pe|rson lis|
|00003110| 74 65 64 20 69 6e 20 74 | 68 65 20 60 60 46 6f 72 |ted in t|he ``For|
|00003120| 20 6d 6f 72 65 20 69 6e | 66 6f 72 6d 61 74 69 6f | more in|formatio|
|00003130| 6e 2c 20 63 6f 6e 74 61 | 63 74 27 27 0a 58 70 61 |n, conta|ct''.Xpa|
|00003140| 72 74 20 6f 66 20 74 68 | 65 20 68 65 61 64 65 72 |rt of th|e header|
|00003150| 20 67 65 6e 65 72 61 74 | 65 64 20 62 79 0a 58 2e | generat|ed by.X.|
|00003160| 49 52 20 6e 65 77 73 32 | 6d 61 69 6c 2e 0a 58 3e |IR news2|mail..X>|
|00003170| 3e 57 48 41 54 20 44 4f | 45 53 20 47 41 54 45 57 |>WHAT DO|ES GATEW|
|00003180| 41 59 20 44 4f 3f 3f 3c | 3c 0a 58 2e 49 50 20 6d |AY DO??<|<.X.IP m|
|00003190| 61 69 6c 68 6f 73 74 0a | 58 57 68 65 6e 20 72 65 |ailhost.|XWhen re|
|000031a0| 6d 6f 74 65 20 6d 61 69 | 6c 69 6e 67 20 6c 69 73 |mote mai|ling lis|
|000031b0| 74 73 20 61 72 65 20 67 | 61 74 65 77 61 79 65 64 |ts are g|atewayed|
|000031c0| 20 69 6e 74 6f 20 6c 6f | 63 61 6c 20 6e 65 77 73 | into lo|cal news|
|000031d0| 67 72 6f 75 70 73 2c 20 | 69 74 20 63 61 6e 0a 58 |groups, |it can.X|
|000031e0| 6f 66 74 65 6e 20 62 65 | 20 63 6f 6e 76 65 6e 69 |often be| conveni|
|000031f0| 65 6e 74 20 74 6f 20 70 | 72 6f 76 69 64 65 20 61 |ent to p|rovide a|
|00003200| 20 6c 6f 63 61 6c 20 61 | 6c 69 61 73 20 74 68 61 | local a|lias tha|
|00003210| 74 20 66 6f 72 77 61 72 | 64 73 20 6f 6e 20 74 6f |t forwar|ds on to|
|00003220| 20 74 68 65 0a 58 72 65 | 6d 6f 74 65 20 68 6f 73 | the.Xre|mote hos|
|00003230| 74 2e 0a 58 46 6f 72 20 | 65 78 61 6d 70 6c 65 2c |t..XFor |example,|
|00003240| 20 69 66 20 74 68 65 20 | 6c 69 73 74 20 60 60 69 | if the |list ``i|
|00003250| 6e 66 6f 2d 66 6f 6f 27 | 27 20 69 73 20 6d 61 69 |nfo-foo'|' is mai|
|00003260| 6e 74 61 69 6e 65 64 20 | 61 74 20 60 60 76 61 78 |ntained |at ``vax|
|00003270| 2e 68 6f 73 74 2e 65 64 | 75 27 27 0a 58 74 68 65 |.host.ed|u''.Xthe|
|00003280| 6e 20 69 74 20 69 73 20 | 70 6f 73 73 69 62 6c 65 |n it is |possible|
|00003290| 20 74 6f 20 63 72 65 61 | 74 65 20 61 20 6c 6f 63 | to crea|te a loc|
|000032a0| 61 6c 20 61 6c 69 61 73 | 20 74 68 61 74 20 6a 75 |al alias| that ju|
|000032b0| 73 74 20 66 6f 72 77 61 | 72 64 73 20 74 6f 0a 58 |st forwa|rds to.X|
|000032c0| 60 60 69 6e 66 6f 2d 66 | 6f 6f 40 76 61 78 2e 68 |``info-f|oo@vax.h|
|000032d0| 6f 73 74 2e 65 64 75 2e | 27 27 0a 58 2e 49 50 20 |ost.edu.|''.X.IP |
|000032e0| 22 6d 61 69 6c 69 6e 67 | 6c 69 73 74 22 0a 58 49 |"mailing|list".XI|
|000032f0| 66 20 73 65 74 20 74 6f | 20 60 60 74 72 75 65 2c |f set to| ``true,|
|00003300| 27 27 20 74 68 65 6e 0a | 58 2e 49 20 67 61 67 0a |'' then.|X.I gag.|
|00003310| 58 77 69 6c 6c 20 77 72 | 69 74 65 20 61 6c 69 61 |Xwill wr|ite alia|
|00003320| 73 65 73 20 74 68 61 74 | 20 66 6f 72 77 61 72 64 |ses that| forward|
|00003330| 20 6f 6e 20 74 6f 20 74 | 68 65 20 6c 69 73 74 20 | on to t|he list |
|00003340| 61 74 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 6d |at the c|urrent m|
|00003350| 61 69 6c 68 6f 73 74 3b | 20 69 66 0a 58 73 65 74 |ailhost;| if.Xset|
|00003360| 20 74 6f 20 60 60 66 61 | 6c 73 65 27 27 20 74 68 | to ``fa|lse'' th|
|00003370| 61 6e 20 6e 6f 20 73 75 | 63 68 20 61 6c 69 61 73 |an no su|ch alias|
|00003380| 65 73 20 77 69 6c 6c 20 | 62 65 20 77 72 69 74 74 |es will |be writt|
|00003390| 65 6e 2e 0a 58 2e 49 50 | 20 6d 6f 64 65 72 61 74 |en..X.IP| moderat|
|000033a0| 6f 72 0a 58 49 66 20 73 | 65 74 2c 20 74 68 65 6e |or.XIf s|et, then|
|000033b0| 20 74 68 65 20 76 61 6c | 75 65 20 69 73 20 70 75 | the val|ue is pu|
|000033c0| 74 20 6f 6e 20 74 68 65 | 0a 58 2e 49 20 6d 61 69 |t on the|.X.I mai|
|000033d0| 6c 32 6e 65 77 73 0a 58 | 63 6f 6d 6d 61 6e 64 20 |l2news.X|command |
|000033e0| 6c 69 6e 65 20 77 69 74 | 68 20 74 68 65 20 60 60 |line wit|h the ``|
|000033f0| 5c 2d 61 27 27 20 66 6c | 61 67 2e 0a 58 54 68 69 |\-a'' fl|ag..XThi|
|00003400| 73 20 69 73 20 75 73 65 | 66 75 6c 20 66 6f 72 20 |s is use|ful for |
|00003410| 6d 61 6b 69 6e 67 20 61 | 20 73 65 6d 69 2d 6d 6f |making a| semi-mo|
|00003420| 64 65 72 61 74 65 64 20 | 6f 6e 65 2d 77 61 79 20 |derated |one-way |
|00003430| 67 61 74 65 77 61 79 2e | 0a 58 2e 49 50 20 6e 65 |gateway.|.X.IP ne|
|00003440| 77 73 32 6d 61 69 6c 0a | 58 54 68 65 20 66 75 6c |ws2mail.|XThe ful|
|00003450| 6c 20 70 61 74 68 6e 61 | 6d 65 20 6f 66 20 74 68 |l pathna|me of th|
|00003460| 65 0a 58 2e 49 20 6e 65 | 77 73 32 6d 61 69 6c 0a |e.X.I ne|ws2mail.|
|00003470| 58 70 72 6f 67 72 61 6d | 2e 0a 58 2e 49 50 20 6f |Xprogram|..X.IP o|
|00003480| 72 67 61 6e 69 7a 61 74 | 69 6f 6e 0a 58 49 66 20 |rganizat|ion.XIf |
|00003490| 73 65 74 2c 20 74 68 65 | 6e 20 74 68 65 20 76 61 |set, the|n the va|
|000034a0| 6c 75 65 20 69 73 20 70 | 75 74 20 6f 6e 20 74 68 |lue is p|ut on th|
|000034b0| 65 0a 58 2e 49 20 6d 61 | 69 6c 32 6e 65 77 73 0a |e.X.I ma|il2news.|
|000034c0| 58 63 6f 6d 6d 61 6e 64 | 20 6c 69 6e 65 20 77 69 |Xcommand| line wi|
|000034d0| 74 68 20 74 68 65 20 60 | 60 5c 2d 6f 27 27 20 66 |th the `|`\-o'' f|
|000034e0| 6c 61 67 2e 0a 58 2e 49 | 50 20 6f 77 6e 65 72 0a |lag..X.I|P owner.|
|000034f0| 58 49 66 20 73 65 74 2c | 20 74 68 65 6e 20 61 6c |XIf set,| then al|
|00003500| 6c 0a 58 2e 49 20 73 65 | 6e 64 6d 61 69 6c 0a 58 |l.X.I se|ndmail.X|
|00003510| 61 6c 69 61 73 65 73 20 | 61 6c 73 6f 20 68 61 76 |aliases |also hav|
|00003520| 65 20 61 6e 20 60 60 6f | 77 6e 65 72 5c 2d 27 27 |e an ``o|wner\-''|
|00003530| 20 76 65 72 73 69 6f 6e | 2c 20 77 69 74 68 20 74 | version|, with t|
|00003540| 68 69 73 20 76 61 6c 75 | 65 20 61 73 20 74 68 65 |his valu|e as the|
|00003550| 0a 58 72 65 63 69 70 69 | 65 6e 74 2c 20 74 6f 20 |.Xrecipi|ent, to |
|00003560| 72 65 63 65 69 76 65 20 | 74 72 6f 75 62 6c 65 20 |receive |trouble |
|00003570| 72 65 70 6f 72 74 73 2e | 0a 58 2e 49 50 20 72 65 |reports.|.X.IP re|
|00003580| 71 75 65 73 74 61 64 64 | 72 0a 58 4d 6f 73 74 20 |questadd|r.XMost |
|00003590| 6d 61 69 6c 69 6e 67 20 | 6c 69 73 74 73 20 68 61 |mailing |lists ha|
|000035a0| 76 65 20 61 20 60 60 5c | 2d 72 65 71 75 65 73 74 |ve a ``\|-request|
|000035b0| 27 27 20 61 64 64 72 65 | 73 73 20 74 6f 20 68 61 |'' addre|ss to ha|
|000035c0| 6e 64 6c 65 20 6c 69 73 | 74 20 61 64 6d 69 6e 69 |ndle lis|t admini|
|000035d0| 73 74 72 61 74 69 6f 6e | 2e 0a 58 57 68 65 6e 20 |stration|..XWhen |
|000035e0| 67 61 74 65 77 61 79 69 | 6e 67 20 74 68 65 20 6c |gatewayi|ng the l|
|000035f0| 69 73 74 20 60 60 69 6e | 66 6f 2d 66 6f 6f 27 27 |ist ``in|fo-foo''|
|00003600| 20 69 66 20 74 68 65 20 | 6d 61 69 6e 74 65 6e 61 | if the |maintena|
|00003610| 6e 63 65 20 61 64 64 72 | 65 73 73 20 69 73 6e 27 |nce addr|ess isn'|
|00003620| 74 0a 58 60 60 69 6e 66 | 6f 2d 66 6f 6f 2d 72 65 |t.X``inf|o-foo-re|
|00003630| 71 75 65 73 74 27 27 20 | 73 65 74 20 74 68 69 73 |quest'' |set this|
|00003640| 20 70 61 72 61 6d 65 74 | 65 72 20 74 6f 20 74 68 | paramet|er to th|
|00003650| 65 20 70 72 6f 70 65 72 | 20 61 64 64 72 65 73 73 |e proper| address|
|00003660| 2e 0a 58 2e 49 50 20 73 | 69 74 65 0a 58 54 68 69 |..X.IP s|ite.XThi|
|00003670| 73 20 69 73 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |s is the| name of|
|00003680| 20 74 68 65 20 73 69 74 | 65 20 74 6f 20 75 73 65 | the sit|e to use|
|00003690| 20 69 6e 20 74 68 65 20 | 6e 65 77 73 20 73 79 73 | in the |news sys|
|000036a0| 20 66 69 6c 65 3b 20 60 | 60 67 61 74 65 77 61 79 | file; `|`gateway|
|000036b0| 27 27 20 69 73 0a 58 61 | 20 63 6f 6d 6d 6f 6e 20 |'' is.Xa| common |
|000036c0| 63 68 6f 69 63 65 2e 0a | 58 2e 49 50 20 75 73 65 |choice..|X.IP use|
|000036d0| 72 0a 58 57 68 65 6e 20 | 72 75 6e 6e 69 6e 67 20 |r.XWhen |running |
|000036e0| 73 63 72 69 70 74 73 20 | 75 6e 64 65 72 0a 58 2e |scripts |under.X.|
|000036f0| 49 20 4d 4d 44 46 0a 58 | 28 65 69 74 68 65 72 20 |I MMDF.X|(either |
|00003700| 6e 6f 72 6d 61 6c 20 6f | 72 20 77 69 74 68 20 74 |normal o|r with t|
|00003710| 68 65 20 42 42 4e 20 73 | 74 79 6c 65 29 0a 58 61 |he BBN s|tyle).Xa|
|00003720| 20 75 73 65 72 69 64 20 | 74 6f 20 73 65 74 75 69 | userid |to setui|
|00003730| 64 20 74 6f 20 6d 75 73 | 74 20 62 65 20 67 69 76 |d to mus|t be giv|
|00003740| 65 6e 2e 0a 58 2e 50 50 | 0a 58 4e 6f 74 65 20 74 |en..X.PP|.XNote t|
|00003750| 68 61 74 20 74 68 65 72 | 65 20 69 73 20 73 6f 6d |hat ther|e is som|
|00003760| 65 20 6f 76 65 72 6c 61 | 70 20 69 6e 20 74 68 65 |e overla|p in the|
|00003770| 73 65 20 70 61 72 61 6d | 65 74 65 72 73 2e 0a 58 |se param|eters..X|
|00003780| 49 6e 20 70 61 72 74 69 | 63 75 6c 61 72 20 74 68 |In parti|cular th|
|00003790| 65 20 60 60 6d 6f 64 65 | 72 61 74 6f 72 27 27 20 |e ``mode|rator'' |
|000037a0| 61 6e 64 20 60 60 6f 72 | 67 61 6e 69 7a 61 74 69 |and ``or|ganizati|
|000037b0| 6f 6e 27 27 20 70 61 72 | 61 6d 65 74 65 72 73 20 |on'' par|ameters |
|000037c0| 63 61 6e 20 72 65 61 6c | 6c 79 0a 58 62 65 20 73 |can real|ly.Xbe s|
|000037d0| 75 62 73 75 6d 65 64 20 | 62 79 20 74 68 65 20 60 |ubsumed |by the `|
|000037e0| 60 69 6e 65 77 73 20 66 | 6c 61 67 73 27 27 20 70 |`inews f|lags'' p|
|000037f0| 61 72 61 6d 65 74 65 72 | 2e 0a 58 54 68 65 79 20 |arameter|..XThey |
|00003800| 61 72 65 20 65 78 70 6c | 69 63 69 74 6c 79 20 63 |are expl|icitly c|
|00003810| 61 6c 6c 65 64 20 6f 75 | 74 2c 20 68 6f 77 65 76 |alled ou|t, howev|
|00003820| 65 72 2c 20 66 6f 72 20 | 63 6f 6e 76 65 6e 69 65 |er, for |convenie|
|00003830| 6e 63 65 20 69 6e 20 73 | 70 65 63 69 66 79 69 6e |nce in s|pecifyin|
|00003840| 67 0a 58 74 68 65 20 74 | 79 70 65 73 20 6f 66 20 |g.Xthe t|ypes of |
|00003850| 67 61 74 65 77 61 79 69 | 6e 67 2e 0a 58 46 6f 72 |gatewayi|ng..XFor|
|00003860| 20 65 78 61 6d 70 6c 65 | 2c 20 77 68 69 6c 65 20 | example|, while |
|00003870| 61 6c 6c 20 67 61 74 65 | 77 61 79 65 64 20 67 72 |all gate|wayed gr|
|00003880| 6f 75 70 73 20 6d 69 67 | 68 74 20 67 6f 20 6f 75 |oups mig|ht go ou|
|00003890| 74 20 77 69 74 68 20 74 | 68 65 20 73 61 6d 65 0a |t with t|he same.|
|000038a0| 58 64 69 73 74 72 69 62 | 75 74 69 6f 6e 2c 20 6f |Xdistrib|ution, o|
|000038b0| 6e 6c 79 20 73 6f 6d 65 | 20 6d 69 67 68 74 20 6e |nly some| might n|
|000038c0| 65 65 64 20 61 6e 0a 58 | 2e 49 20 41 70 70 72 6f |eed an.X|.I Appro|
|000038d0| 76 65 64 3a 0a 58 68 65 | 61 64 65 72 20 6c 69 6e |ved:.Xhe|ader lin|
|000038e0| 65 2e 0a 58 2e 53 48 20 | 22 54 48 45 20 4c 41 4e |e..X.SH |"THE LAN|
|000038f0| 47 55 41 47 45 22 0a 58 | 41 0a 58 2e 49 20 67 61 |GUAGE".X|A.X.I ga|
|00003900| 67 0a 58 66 69 6c 65 20 | 69 73 20 63 6f 6d 70 6f |g.Xfile |is compo|
|00003910| 73 65 64 20 6f 66 20 69 | 6e 74 65 72 6d 69 78 65 |sed of i|ntermixe|
|00003920| 64 20 70 61 72 74 73 20 | 6f 66 20 74 68 72 65 65 |d parts |of three|
|00003930| 20 64 69 66 66 65 72 65 | 6e 74 20 63 6f 6e 73 74 | differe|nt const|
|00003940| 72 75 63 74 73 3a 0a 58 | 64 65 66 61 75 6c 74 73 |ructs:.X|defaults|
|00003950| 2c 20 6d 61 69 6c 2f 6e | 65 77 73 20 70 6f 73 74 |, mail/n|ews post|
|00003960| 69 6e 67 20 65 6e 74 72 | 69 65 73 2c 20 6d 61 69 |ing entr|ies, mai|
|00003970| 6c 2f 6e 65 77 73 20 67 | 61 74 65 77 61 79 20 65 |l/news g|ateway e|
|00003980| 6e 74 72 69 65 73 2e 0a | 58 2e 50 50 0a 58 49 6e |ntries..|X.PP.XIn|
|00003990| 64 69 76 69 64 75 61 6c | 20 67 72 6f 75 70 73 20 |dividual| groups |
|000039a0| 63 61 6e 20 6f 76 65 72 | 72 69 64 65 20 74 68 65 |can over|ride the|
|000039b0| 20 64 65 66 61 75 6c 74 | 20 70 61 72 61 6d 65 74 | default| paramet|
|000039c0| 65 72 73 2e 0a 58 54 68 | 65 20 64 65 66 61 75 6c |ers..XTh|e defaul|
|000039d0| 74 73 20 63 61 6e 20 62 | 65 20 63 68 61 6e 67 65 |ts can b|e change|
|000039e0| 64 20 61 74 20 61 6e 79 | 20 74 69 6d 65 2c 20 61 |d at any| time, a|
|000039f0| 6e 64 20 72 65 74 61 69 | 6e 20 74 68 65 20 6e 65 |nd retai|n the ne|
|00003a00| 77 20 76 61 6c 75 65 20 | 66 6f 72 0a 58 74 68 65 |w value |for.Xthe|
|00003a10| 20 72 65 73 74 20 6f 66 | 20 74 68 65 20 66 69 6c | rest of| the fil|
|00003a20| 65 20 6f 72 20 75 6e 74 | 69 6c 20 63 68 61 6e 67 |e or unt|il chang|
|00003a30| 65 64 20 61 67 61 69 6e | 2e 0a 58 46 6f 72 20 65 |ed again|..XFor e|
|00003a40| 78 61 6d 70 6c 65 2c 20 | 6d 6f 73 74 20 6d 61 69 |xample, |most mai|
|00003a50| 6c 20 61 6c 69 61 73 65 | 73 20 77 69 6c 6c 20 62 |l aliase|s will b|
|00003a60| 65 20 60 60 6f 77 6e 65 | 64 27 27 20 62 79 0a 58 |e ``owne|d'' by.X|
|00003a70| 2e 49 52 20 70 6f 73 74 | 6d 61 73 74 65 72 20 2c |.IR post|master ,|
|00003a80| 0a 58 62 75 74 20 69 74 | 20 6d 69 67 68 74 20 62 |.Xbut it| might b|
|00003a90| 65 20 63 6f 6e 76 65 6e | 69 65 6e 74 20 74 6f 20 |e conven|ient to |
|00003aa0| 73 65 74 20 74 68 65 20 | 66 6f 72 77 61 72 64 69 |set the |forwardi|
|00003ab0| 6e 67 20 61 64 64 72 65 | 73 73 20 6f 6e 20 73 70 |ng addre|ss on sp|
|00003ac0| 65 63 69 66 69 63 0a 58 | 61 6c 69 61 73 65 73 20 |ecific.X|aliases |
|00003ad0| 74 6f 20 73 6f 6d 65 6f | 6e 65 20 65 6c 73 65 2e |to someo|ne else.|
|00003ae0| 0a 58 46 6f 72 20 65 78 | 61 6d 70 6c 65 3a 0a 58 |.XFor ex|ample:.X|
|00003af0| 2e 52 53 0a 58 2e 44 54 | 0a 58 2e 6e 66 0a 58 2f |.RS.X.DT|.X.nf.X/|
|00003b00| 2a 20 53 65 6e 64 20 67 | 61 74 65 77 61 79 20 63 |* Send g|ateway c|
|00003b10| 6f 6d 70 6c 61 69 6e 74 | 73 20 74 6f 20 70 6f 73 |omplaint|s to pos|
|00003b20| 74 6d 61 73 74 65 72 20 | 2a 2f 0a 58 64 65 66 61 |tmaster |*/.Xdefa|
|00003b30| 75 6c 74 20 6f 77 6e 65 | 72 20 3d 20 22 70 6f 73 |ult owne|r = "pos|
|00003b40| 74 6d 61 73 74 65 72 22 | 3b 0a 58 0a 58 2f 2a 20 |tmaster"|;.X.X/* |
|00003b50| 54 68 65 20 22 61 6e 69 | 6d 61 6c 73 22 20 6c 69 |The "ani|mals" li|
|00003b60| 73 74 20 69 73 20 70 72 | 69 76 61 74 65 6c 79 20 |st is pr|ivately |
|00003b70| 6d 61 69 6e 74 61 69 6e | 65 64 2e 20 2a 2f 0a 58 |maintain|ed. */.X|
|00003b80| 67 61 74 65 77 61 79 20 | 62 62 6e 2e 61 6e 69 6d |gateway |bbn.anim|
|00003b90| 61 6c 73 20 61 6e 69 6d | 61 6c 2d 72 69 67 68 74 |als anim|al-right|
|00003ba0| 73 0a 58 09 6f 77 6e 65 | 72 20 3d 20 22 63 61 6e |s.X.owne|r = "can|
|00003bb0| 75 73 2d 6d 61 6a 6f 72 | 22 3b 0a 58 2e 66 69 0a |us-major|";.X.fi.|
|00003bc0| 58 2e 52 45 0a 58 54 68 | 65 20 73 79 6e 74 61 78 |X.RE.XTh|e syntax|
|00003bd0| 20 69 73 20 65 78 70 6c | 61 69 6e 65 64 20 69 6e | is expl|ained in|
|00003be0| 20 6d 6f 72 65 20 64 65 | 74 61 69 6c 2c 20 62 65 | more de|tail, be|
|00003bf0| 6c 6f 77 2e 0a 58 2e 50 | 50 0a 58 41 20 64 65 66 |low..X.P|P.XA def|
|00003c00| 61 75 6c 74 20 70 61 72 | 61 6d 65 74 65 72 20 61 |ault par|ameter a|
|00003c10| 73 73 69 67 6e 6d 65 6e | 74 20 6c 6f 6f 6b 73 20 |ssignmen|t looks |
|00003c20| 6c 69 6b 65 20 6f 6e 65 | 20 6f 66 20 74 68 65 20 |like one| of the |
|00003c30| 66 6f 6c 6c 6f 77 69 6e | 67 3a 0a 58 2e 52 53 0a |followin|g:.X.RS.|
|00003c40| 58 2e 44 54 0a 58 2e 6e | 66 0a 58 5c 66 42 64 65 |X.DT.X.n|f.X\fBde|
|00003c50| 66 61 75 6c 74 5c 66 50 | 20 3c 70 61 72 61 6d 65 |fault\fP| <parame|
|00003c60| 74 65 72 3e 20 5c 66 42 | 3d 20 74 72 75 65 20 3b |ter> \fB|= true ;|
|00003c70| 5c 66 50 0a 58 5c 66 42 | 64 65 66 61 75 6c 74 5c |\fP.X\fB|default\|
|00003c80| 66 50 20 3c 70 61 72 61 | 6d 65 74 65 72 3e 20 5c |fP <para|meter> \|
|00003c90| 66 42 3d 20 66 61 6c 73 | 65 20 3b 5c 66 50 0a 58 |fB= fals|e ;\fP.X|
|00003ca0| 5c 66 42 64 65 66 61 75 | 6c 74 5c 66 50 20 3c 70 |\fBdefau|lt\fP <p|
|00003cb0| 61 72 61 6d 65 74 65 72 | 3e 20 5c 66 42 3d 5c 66 |arameter|> \fB=\f|
|00003cc0| 50 20 22 73 74 72 69 6e | 67 20 76 61 6c 75 65 22 |P "strin|g value"|
|00003cd0| 20 5c 66 42 3b 5c 66 50 | 0a 58 5c 66 42 64 65 66 | \fB;\fP|.X\fBdef|
|00003ce0| 61 75 6c 74 5c 66 50 20 | 3c 70 61 72 61 6d 65 74 |ault\fP |<paramet|
|00003cf0| 65 72 3e 20 5c 66 42 3d | 20 64 6f 74 69 66 79 20 |er> \fB=| dotify |
|00003d00| 28 5c 66 50 20 22 76 61 | 6c 75 65 22 20 5c 66 42 |(\fP "va|lue" \fB|
|00003d10| 29 20 3b 5c 66 50 0a 58 | 2e 66 69 0a 58 2e 52 45 |) ;\fP.X|.fi.X.RE|
|00003d20| 0a 58 54 68 65 20 6c 61 | 73 74 20 66 6f 72 6d 20 |.XThe la|st form |
|00003d30| 69 73 20 75 73 65 64 20 | 74 6f 20 74 72 61 6e 73 |is used |to trans|
|00003d40| 6c 61 74 65 20 6d 69 78 | 65 64 2d 63 61 73 65 20 |late mix|ed-case |
|00003d50| 73 74 72 69 6e 67 73 20 | 69 6e 74 6f 20 74 68 65 |strings |into the|
|00003d60| 20 70 72 65 66 69 78 2d | 70 65 72 69 6f 64 0a 58 | prefix-|period.X|
|00003d70| 66 6f 72 6d 20 75 73 65 | 64 20 62 79 20 6d 61 69 |form use|d by mai|
|00003d80| 6c 32 6e 65 77 73 2c 20 | 71 2e 76 2e 0a 58 2e 50 |l2news, |q.v..X.P|
|00003d90| 50 0a 58 41 20 67 61 74 | 65 77 61 79 20 64 65 63 |P.XA gat|eway dec|
|00003da0| 6c 61 72 61 74 69 6f 6e | 20 6c 6f 6f 6b 73 20 6c |laration| looks l|
|00003db0| 69 6b 65 20 74 68 69 73 | 3a 0a 58 2e 52 53 0a 58 |ike this|:.X.RS.X|
|00003dc0| 2e 44 54 0a 58 2e 6e 66 | 0a 58 5c 66 42 67 61 74 |.DT.X.nf|.X\fBgat|
|00003dd0| 65 77 61 79 5c 66 50 20 | 3c 6e 65 77 73 67 72 6f |eway\fP |<newsgro|
|00003de0| 75 70 3e 20 3c 6d 61 69 | 6c 69 6e 67 6c 69 73 74 |up> <mai|linglist|
|00003df0| 3e 0a 58 09 5b 20 70 61 | 72 61 6d 65 74 65 72 20 |>.X.[ pa|rameter |
|00003e00| 73 65 74 74 69 6e 67 73 | 20 5d 20 5c 66 42 3b 5c |settings| ] \fB;\|
|00003e10| 66 50 0a 58 2e 66 69 0a | 58 2e 52 45 0a 58 54 68 |fP.X.fi.|X.RE.XTh|
|00003e20| 65 20 70 61 72 61 6d 65 | 74 65 72 20 73 65 74 74 |e parame|ter sett|
|00003e30| 69 6e 67 73 20 61 72 65 | 20 6c 69 6b 65 20 74 68 |ings are| like th|
|00003e40| 65 20 64 65 66 61 75 6c | 74 20 73 65 74 74 69 6e |e defaul|t settin|
|00003e50| 67 73 20 73 68 6f 77 6e | 20 61 62 6f 76 65 2c 20 |gs shown| above, |
|00003e60| 65 78 63 65 70 74 0a 58 | 74 68 61 74 20 74 68 65 |except.X|that the|
|00003e70| 20 77 6f 72 64 20 60 60 | 64 65 66 61 75 6c 74 27 | word ``|default'|
|00003e80| 27 20 69 73 20 6c 65 66 | 74 20 6f 66 66 2c 20 61 |' is lef|t off, a|
|00003e90| 73 20 61 72 65 20 61 6c | 6c 20 73 65 6d 69 63 6f |s are al|l semico|
|00003ea0| 6c 6f 6e 73 20 62 75 74 | 20 74 68 65 0a 58 6c 61 |lons but| the.Xla|
|00003eb0| 73 74 20 6f 6e 65 2e 0a | 58 2e 50 50 0a 58 54 6f |st one..|X.PP.XTo|
|00003ec0| 20 73 65 74 20 75 70 20 | 61 20 73 69 6d 70 6c 65 | set up |a simple|
|00003ed0| 20 75 6e 69 64 69 72 65 | 63 74 69 6f 6e 61 6c 20 | unidire|ctional |
|00003ee0| 6e 65 77 73 67 72 6f 75 | 70 2f 6d 61 69 6c 69 6e |newsgrou|p/mailin|
|00003ef0| 67 20 6c 69 73 74 20 67 | 61 74 65 77 61 79 2c 20 |g list g|ateway, |
|00003f00| 75 73 65 20 61 0a 58 60 | 60 6d 61 69 6c 70 6f 73 |use a.X`|`mailpos|
|00003f10| 74 27 27 20 64 65 63 6c | 61 72 61 74 69 6f 6e 3a |t'' decl|aration:|
|00003f20| 0a 58 2e 52 53 0a 58 2e | 44 54 0a 58 2e 6e 66 0a |.X.RS.X.|DT.X.nf.|
|00003f30| 58 5c 66 42 6d 61 69 6c | 70 6f 73 74 5c 66 50 20 |X\fBmail|post\fP |
|00003f40| 3c 6e 65 77 73 67 72 6f | 75 70 3e 20 5c 66 42 3b |<newsgro|up> \fB;|
|00003f50| 5c 66 50 0a 58 2e 66 69 | 0a 58 2e 52 45 0a 58 2e |\fP.X.fi|.X.RE.X.|
|00003f60| 53 48 20 22 42 55 47 53 | 20 41 4e 44 20 43 41 56 |SH "BUGS| AND CAV|
|00003f70| 45 41 54 53 22 0a 58 54 | 68 69 73 20 70 72 6f 67 |EATS".XT|his prog|
|00003f80| 72 61 6d 20 69 73 20 61 | 20 63 6f 6c 6c 65 63 74 |ram is a| collect|
|00003f90| 69 6f 6e 20 6f 66 20 6d | 65 6d 6f 72 79 20 6c 65 |ion of m|emory le|
|00003fa0| 61 6b 73 3b 20 61 73 20 | 69 74 20 72 75 6e 73 20 |aks; as |it runs |
|00003fb0| 66 6f 72 20 61 20 76 65 | 72 79 20 73 68 6f 72 74 |for a ve|ry short|
|00003fc0| 0a 58 74 69 6d 65 20 74 | 68 61 74 27 73 20 6f 6b |.Xtime t|hat's ok|
|00003fd0| 61 79 2e 0a 58 2e 50 50 | 0a 58 49 6e 20 67 65 6e |ay..X.PP|.XIn gen|
|00003fe0| 65 72 61 74 69 6e 67 20 | 6e 65 77 73 0a 58 2e 49 |erating |news.X.I|
|00003ff0| 20 73 79 73 0a 58 66 69 | 6c 65 20 65 6e 74 72 69 | sys.Xfi|le entri|
|00004000| 65 73 2c 20 72 65 6d 65 | 6d 62 65 72 20 74 68 61 |es, reme|mber tha|
|00004010| 74 20 74 68 65 20 63 6f | 6d 6d 61 6e 64 20 69 73 |t the co|mmand is|
|00004020| 20 61 0a 58 2e 49 52 20 | 73 70 72 69 6e 74 66 20 | a.X.IR |sprintf |
|00004030| 28 33 29 0a 58 66 6f 72 | 6d 61 74 20 73 74 72 69 |(3).Xfor|mat stri|
|00004040| 6e 67 2c 20 61 6e 64 20 | 61 6e 79 20 70 65 72 63 |ng, and |any perc|
|00004050| 65 6e 74 20 73 69 67 6e | 73 0a 58 2e 52 49 20 28 |ent sign|s.X.RI (|
|00004060| 20 25 20 29 0a 58 6d 75 | 73 74 20 62 65 20 64 6f | % ).Xmu|st be do|
|00004070| 75 62 6c 65 64 20 6f 72 | 20 74 68 65 79 20 77 69 |ubled or| they wi|
|00004080| 6c 6c 20 62 65 20 74 61 | 6b 65 6e 20 61 73 20 61 |ll be ta|ken as a|
|00004090| 20 66 6f 72 6d 61 74 74 | 69 6e 67 20 63 6f 6e 74 | formatt|ing cont|
|000040a0| 72 6f 6c 2e 0a 58 2e 53 | 48 20 22 53 45 45 20 41 |rol..X.S|H "SEE A|
|000040b0| 4c 53 4f 22 0a 58 6d 61 | 69 6c 32 6e 65 77 73 28 |LSO".Xma|il2news(|
|000040c0| 31 4c 29 2c 20 6d 6b 6d | 61 69 6c 70 6f 73 74 28 |1L), mkm|ailpost(|
|000040d0| 31 4c 29 2c 20 6e 65 77 | 73 32 6d 61 69 6c 28 31 |1L), new|s2mail(1|
|000040e0| 4c 29 2e 0a 58 2e 53 48 | 20 41 55 54 48 4f 52 53 |L)..X.SH| AUTHORS|
|000040f0| 0a 58 52 69 63 68 20 24 | 61 6c 7a 20 3c 72 73 61 |.XRich $|alz <rsa|
|00004100| 6c 7a 40 62 62 6e 2e 63 | 6f 6d 3e 2c 20 72 65 70 |lz@bbn.c|om>, rep|
|00004110| 6c 61 63 69 6e 67 20 73 | 6f 6d 65 0a 58 2e 49 20 |lacing s|ome.X.I |
|00004120| 6d 34 0a 58 73 63 72 69 | 70 74 73 20 74 68 61 74 |m4.Xscri|pts that|
|00004130| 0a 58 2e 62 72 0a 58 45 | 72 69 6b 20 45 2e 20 46 |.X.br.XE|rik E. F|
|00004140| 61 69 72 20 3c 66 61 69 | 72 40 61 70 70 6c 65 2e |air <fai|r@apple.|
|00004150| 63 6f 6d 3e 20 77 72 6f | 74 65 2e 0a 58 2e 62 72 |com> wro|te..X.br|
|00004160| 0a 58 50 69 65 74 65 20 | 42 72 6f 6f 6b 73 20 3c |.XPiete |Brooks <|
|00004170| 70 62 40 63 6f 6d 70 75 | 74 65 72 2d 6c 61 62 2e |pb@compu|ter-lab.|
|00004180| 63 61 6d 62 72 69 64 67 | 65 2e 61 63 2e 75 6b 3e |cambridg|e.ac.uk>|
|00004190| 20 70 72 6f 76 69 64 65 | 64 20 74 68 65 20 50 50 | provide|d the PP|
|000041a0| 20 73 75 70 70 6f 72 74 | 2e 0a 45 4e 44 5f 4f 46 | support|..END_OF|
|000041b0| 5f 46 49 4c 45 0a 20 20 | 69 66 20 74 65 73 74 20 |_FILE. |if test |
|000041c0| 38 34 36 37 20 2d 6e 65 | 20 60 77 63 20 2d 63 20 |8467 -ne| `wc -c |
|000041d0| 3c 27 67 61 67 2e 31 27 | 60 3b 20 74 68 65 6e 0a |<'gag.1'|`; then.|
|000041e0| 20 20 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 5c | echo| shar: \|
|000041f0| 22 27 67 61 67 2e 31 27 | 5c 22 20 75 6e 70 61 63 |"'gag.1'|\" unpac|
|00004200| 6b 65 64 20 77 69 74 68 | 20 77 72 6f 6e 67 20 73 |ked with| wrong s|
|00004210| 69 7a 65 21 0a 20 20 66 | 69 0a 20 20 23 20 65 6e |ize!. f|i. # en|
|00004220| 64 20 6f 66 20 27 67 61 | 67 2e 31 27 0a 66 69 0a |d of 'ga|g.1'.fi.|
|00004230| 69 66 20 74 65 73 74 20 | 2d 66 20 27 67 61 67 2e |if test |-f 'gag.|
|00004240| 79 27 20 2d 61 20 22 24 | 7b 31 7d 22 20 21 3d 20 |y' -a "$|{1}" != |
|00004250| 22 2d 63 22 20 3b 20 74 | 68 65 6e 20 0a 20 20 65 |"-c" ; t|hen . e|
|00004260| 63 68 6f 20 73 68 61 72 | 3a 20 57 69 6c 6c 20 6e |cho shar|: Will n|
|00004270| 6f 74 20 63 6c 6f 62 62 | 65 72 20 65 78 69 73 74 |ot clobb|er exist|
|00004280| 69 6e 67 20 66 69 6c 65 | 20 5c 22 27 67 61 67 2e |ing file| \"'gag.|
|00004290| 79 27 5c 22 0a 65 6c 73 | 65 0a 20 20 65 63 68 6f |y'\".els|e. echo|
|000042a0| 20 73 68 61 72 3a 20 45 | 78 74 72 61 63 74 69 6e | shar: E|xtractin|
|000042b0| 67 20 5c 22 27 67 61 67 | 2e 79 27 5c 22 20 5c 28 |g \"'gag|.y'\" \(|
|000042c0| 31 34 36 34 32 20 63 68 | 61 72 61 63 74 65 72 73 |14642 ch|aracters|
|000042d0| 5c 29 0a 20 20 73 65 64 | 20 22 73 2f 5e 58 2f 2f |\). sed| "s/^X//|
|000042e0| 22 20 3e 27 67 61 67 2e | 79 27 20 3c 3c 27 45 4e |" >'gag.|y' <<'EN|
|000042f0| 44 5f 4f 46 5f 46 49 4c | 45 27 0a 58 25 7b 0a 58 |D_OF_FIL|E'.X%{.X|
|00004300| 2f 2a 0a 58 2a 2a 20 20 | 47 41 47 0a 58 2a 2a 0a |/*.X** |GAG.X**.|
|00004310| 58 2a 2a 20 20 4d 61 69 | 6c 2f 6e 65 77 73 20 67 |X** Mai|l/news g|
|00004320| 61 74 65 77 61 79 20 61 | 6c 69 61 73 20 67 65 6e |ateway a|lias gen|
|00004330| 65 72 61 74 6f 72 2e 0a | 58 2a 2f 0a 58 23 64 65 |erator..|X*/.X#de|
|00004340| 66 69 6e 65 20 4d 41 49 | 4e 4c 49 4e 45 0a 58 23 |fine MAI|NLINE.X#|
|00004350| 69 6e 63 6c 75 64 65 20 | 22 67 61 74 65 2e 68 22 |include |"gate.h"|
|00004360| 0a 58 23 69 66 64 65 66 | 09 52 43 53 49 44 0a 58 |.X#ifdef|.RCSID.X|
|00004370| 73 74 61 74 69 63 20 63 | 68 61 72 20 52 43 53 5b |static c|har RCS[|
|00004380| 5d 20 3d 0a 58 09 22 24 | 48 65 61 64 65 72 3a 20 |] =.X."$|Header: |
|00004390| 2f 6e 66 73 2f 70 61 70 | 61 79 61 2f 75 32 2f 72 |/nfs/pap|aya/u2/r|
|000043a0| 73 61 6c 7a 2f 73 72 63 | 2f 6e 65 77 73 67 61 74 |salz/src|/newsgat|
|000043b0| 65 2f 73 72 63 2f 52 43 | 53 2f 67 61 67 2e 79 2c |e/src/RC|S/gag.y,|
|000043c0| 76 20 31 2e 35 20 39 31 | 2f 30 32 2f 31 32 20 31 |v 1.5 91|/02/12 1|
|000043d0| 34 3a 34 33 3a 34 34 20 | 72 73 61 6c 7a 20 45 78 |4:43:44 |rsalz Ex|
|000043e0| 70 20 24 22 3b 0a 58 23 | 65 6e 64 69 66 09 2f 2a |p $";.X#|endif./*|
|000043f0| 20 52 43 53 49 44 20 2a | 2f 0a 58 0a 58 23 64 65 | RCSID *|/.X.X#de|
|00004400| 66 69 6e 65 20 45 4d 50 | 54 59 28 70 29 09 09 28 |fine EMP|TY(p)..(|
|00004410| 28 70 29 20 3d 3d 20 4e | 55 4c 4c 20 7c 7c 20 28 |(p) == N|ULL || (|
|00004420| 70 29 5b 30 5d 20 3d 3d | 20 27 5c 30 27 29 0a 58 |p)[0] ==| '\0').X|
|00004430| 0a 58 63 68 61 72 09 09 | 2a 50 6e 61 6d 65 3b 09 |.Xchar..|*Pname;.|
|00004440| 09 09 2f 2a 20 50 72 6f | 67 72 61 6d 20 6e 61 6d |../* Pro|gram nam|
|00004450| 65 09 09 09 2a 2f 0a 58 | 0a 58 69 6e 74 09 09 45 |e...*/.X|.Xint..E|
|00004460| 72 72 6f 72 73 3b 09 09 | 09 2f 2a 20 44 69 64 20 |rrors;..|./* Did |
|00004470| 75 73 65 72 20 73 63 72 | 65 77 20 75 70 3f 09 09 |user scr|ew up?..|
|00004480| 2a 2f 0a 58 53 54 41 54 | 49 43 20 69 6e 74 09 4e |*/.XSTAT|IC int.N|
|00004490| 6f 47 72 6f 75 70 43 68 | 65 63 6b 3b 09 09 2f 2a |oGroupCh|eck;../*|
|000044a0| 20 44 6f 6e 27 74 20 63 | 68 65 63 6b 20 69 66 20 | Don't c|heck if |
|000044b0| 76 61 6c 69 64 20 67 72 | 6f 75 70 3f 09 2a 2f 0a |valid gr|oup?.*/.|
|000044c0| 58 53 54 41 54 49 43 20 | 69 6e 74 09 50 6f 73 74 |XSTATIC |int.Post|
|000044d0| 56 69 61 4d 61 69 6c 3b | 09 09 2f 2a 20 4d 61 6b |ViaMail;|../* Mak|
|000044e0| 65 20 70 6f 73 74 2d 6e | 65 77 73 2d 67 72 6f 75 |e post-n|ews-grou|
|000044f0| 70 20 61 6c 69 61 73 3f | 09 2a 2f 0a 58 53 54 41 |p alias?|.*/.XSTA|
|00004500| 54 49 43 20 63 68 61 72 | 09 2a 4f 75 74 44 69 72 |TIC char|.*OutDir|
|00004510| 3b 09 09 2f 2a 20 44 69 | 72 65 63 74 6f 72 79 20 |;../* Di|rectory |
|00004520| 66 6f 72 20 42 42 4e 20 | 73 63 72 69 70 74 73 09 |for BBN |scripts.|
|00004530| 2a 2f 0a 58 53 54 41 54 | 49 43 20 46 49 4c 45 09 |*/.XSTAT|IC FILE.|
|00004540| 2a 62 62 6e 3b 09 09 09 | 2f 2a 20 46 69 6c 65 20 |*bbn;...|/* File |
|00004550| 66 6f 72 20 42 42 4e 2d | 73 74 79 6c 65 20 61 6c |for BBN-|style al|
|00004560| 69 61 73 65 73 09 2a 2f | 0a 58 53 54 41 54 49 43 |iases.*/|.XSTATIC|
|00004570| 20 46 49 4c 45 09 2a 70 | 70 75 73 65 72 3b 09 09 | FILE.*p|puser;..|
|00004580| 2f 2a 20 46 69 6c 65 20 | 66 6f 72 20 50 50 20 75 |/* File |for PP u|
|00004590| 73 65 72 20 61 6c 69 61 | 73 65 73 09 2a 2f 0a 58 |ser alia|ses.*/.X|
|000045a0| 53 54 41 54 49 43 20 46 | 49 4c 45 09 2a 70 70 73 |STATIC F|ILE.*pps|
|000045b0| 68 65 6c 6c 3b 09 09 2f | 2a 20 46 69 6c 65 20 66 |hell;../|* File f|
|000045c0| 6f 72 20 50 50 20 73 68 | 65 6c 6c 20 61 6c 69 61 |or PP sh|ell alia|
|000045d0| 73 65 73 09 2a 2f 0a 58 | 53 54 41 54 49 43 20 46 |ses.*/.X|STATIC F|
|000045e0| 49 4c 45 09 2a 6d 6d 64 | 66 3b 09 09 09 2f 2a 20 |ILE.*mmd|f;.../* |
|000045f0| 46 69 6c 65 20 66 6f 72 | 20 4d 4d 44 46 20 61 6c |File for| MMDF al|
|00004600| 69 61 73 65 73 09 2a 2f | 0a 58 53 54 41 54 49 43 |iases.*/|.XSTATIC|
|00004610| 20 46 49 4c 45 09 2a 73 | 65 6e 64 6d 61 69 6c 3b | FILE.*s|endmail;|
|00004620| 09 09 2f 2a 20 46 69 6c | 65 20 66 6f 72 20 53 65 |../* Fil|e for Se|
|00004630| 6e 64 6d 61 69 6c 20 61 | 6c 69 61 73 65 73 09 2a |ndmail a|liases.*|
|00004640| 2f 0a 58 53 54 41 54 49 | 43 20 46 49 4c 45 09 2a |/.XSTATI|C FILE.*|
|00004650| 6e 65 77 73 3b 09 09 09 | 2f 2a 20 46 69 6c 65 20 |news;...|/* File |
|00004660| 66 6f 72 20 73 79 73 20 | 66 69 6c 65 20 65 6e 74 |for sys |file ent|
|00004670| 72 69 65 73 09 2a 2f 0a | 58 0a 58 53 54 41 54 49 |ries.*/.|X.XSTATI|
|00004680| 43 20 63 68 61 72 09 2a | 43 75 72 44 69 72 65 63 |C char.*|CurDirec|
|00004690| 74 6f 72 79 2c 09 09 2a | 44 65 66 44 69 72 65 63 |tory,..*|DefDirec|
|000046a0| 74 6f 72 79 3b 0a 58 53 | 54 41 54 49 43 20 63 68 |tory;.XS|TATIC ch|
|000046b0| 61 72 09 2a 2a 43 75 72 | 44 69 73 74 72 69 62 73 |ar.**Cur|Distribs|
|000046c0| 2c 09 09 2a 2a 44 65 66 | 44 69 73 74 72 69 62 73 |,..**Def|Distribs|
|000046d0| 3b 0a 58 53 54 41 54 49 | 43 20 69 6e 74 09 43 75 |;.XSTATI|C int.Cu|
|000046e0| 72 44 6f 4d 61 69 6c 69 | 6e 67 6c 69 73 74 2c 09 |rDoMaili|nglist,.|
|000046f0| 44 65 66 44 6f 4d 61 69 | 6c 69 6e 67 6c 69 73 74 |DefDoMai|linglist|
|00004700| 3b 0a 58 53 54 41 54 49 | 43 20 63 68 61 72 09 2a |;.XSTATI|C char.*|
|00004710| 43 75 72 46 6c 61 67 73 | 2c 09 09 2a 44 65 66 46 |CurFlags|,..*DefF|
|00004720| 6c 61 67 73 3b 0a 58 53 | 54 41 54 49 43 20 63 68 |lags;.XS|TATIC ch|
|00004730| 61 72 09 2a 43 75 72 4d | 61 69 6c 32 6e 65 77 73 |ar.*CurM|ail2news|
|00004740| 2c 09 09 2a 44 65 66 4d | 61 69 6c 32 6e 65 77 73 |,..*DefM|ail2news|
|00004750| 3b 0a 58 53 54 41 54 49 | 43 20 63 68 61 72 09 2a |;.XSTATI|C char.*|
|00004760| 43 75 72 4d 61 69 6c 63 | 6f 6e 74 61 63 74 2c 09 |CurMailc|ontact,.|
|00004770| 2a 44 65 66 4d 61 69 6c | 63 6f 6e 74 61 63 74 3b |*DefMail|contact;|
|00004780| 0a 58 53 54 41 54 49 43 | 20 63 68 61 72 09 2a 43 |.XSTATIC| char.*C|
|00004790| 75 72 4d 61 69 6c 68 6f | 73 74 2c 09 09 2a 44 65 |urMailho|st,..*De|
|000047a0| 66 4d 61 69 6c 68 6f 73 | 74 3b 0a 58 53 54 41 54 |fMailhos|t;.XSTAT|
|000047b0| 49 43 20 63 68 61 72 09 | 2a 43 75 72 4d 6f 64 65 |IC char.|*CurMode|
|000047c0| 72 61 74 6f 72 2c 09 09 | 2a 44 65 66 4d 6f 64 65 |rator,..|*DefMode|
|000047d0| 72 61 74 6f 72 3b 0a 58 | 53 54 41 54 49 43 20 63 |rator;.X|STATIC c|
|000047e0| 68 61 72 09 2a 43 75 72 | 4e 65 77 73 32 6d 61 69 |har.*Cur|News2mai|
|000047f0| 6c 2c 09 09 2a 44 65 66 | 4e 65 77 73 32 6d 61 69 |l,..*Def|News2mai|
|00004800| 6c 3b 0a 58 53 54 41 54 | 49 43 20 63 68 61 72 09 |l;.XSTAT|IC char.|
|00004810| 2a 43 75 72 4f 72 67 61 | 6e 69 7a 61 74 69 6f 6e |*CurOrga|nization|
|00004820| 2c 09 2a 44 65 66 4f 72 | 67 61 6e 69 7a 61 74 69 |,.*DefOr|ganizati|
|00004830| 6f 6e 3b 0a 58 53 54 41 | 54 49 43 20 63 68 61 72 |on;.XSTA|TIC char|
|00004840| 09 2a 43 75 72 4f 77 6e | 65 72 2c 09 09 2a 44 65 |.*CurOwn|er,..*De|
|00004850| 66 4f 77 6e 65 72 3b 0a | 58 53 54 41 54 49 43 20 |fOwner;.|XSTATIC |
|00004860| 63 68 61 72 09 2a 43 75 | 72 52 65 71 75 65 73 74 |char.*Cu|rRequest|
|00004870| 41 64 64 72 2c 09 2a 44 | 65 66 52 65 71 75 65 73 |Addr,.*D|efReques|
|00004880| 74 41 64 64 72 3b 0a 58 | 53 54 41 54 49 43 20 63 |tAddr;.X|STATIC c|
|00004890| 68 61 72 09 2a 43 75 72 | 53 69 74 65 2c 09 09 2a |har.*Cur|Site,..*|
|000048a0| 44 65 66 53 69 74 65 3b | 0a 58 53 54 41 54 49 43 |DefSite;|.XSTATIC|
|000048b0| 20 63 68 61 72 09 2a 43 | 75 72 55 73 65 72 2c 09 | char.*C|urUser,.|
|000048c0| 09 2a 44 65 66 55 73 65 | 72 3b 0a 58 0a 58 65 78 |.*DefUse|r;.X.Xex|
|000048d0| 74 65 72 6e 20 74 69 6d | 65 5f 74 09 74 69 6d 65 |tern tim|e_t.time|
|000048e0| 28 29 3b 0a 58 25 7d 0a | 58 0a 58 25 75 6e 69 6f |();.X%}.|X.X%unio|
|000048f0| 6e 20 7b 0a 58 20 20 20 | 20 63 68 61 72 09 2a 53 |n {.X | char.*S|
|00004900| 74 72 69 6e 67 3b 0a 58 | 20 20 20 20 69 6e 74 09 |tring;.X| int.|
|00004910| 09 42 6f 6f 6c 3b 0a 58 | 7d 0a 58 0a 58 25 74 6f |.Bool;.X|}.X.X%to|
|00004920| 6b 65 6e 09 74 44 45 46 | 41 55 4c 54 20 74 44 49 |ken.tDEF|AULT tDI|
|00004930| 52 45 43 54 4f 52 59 20 | 74 44 49 53 54 52 49 42 |RECTORY |tDISTRIB|
|00004940| 55 54 49 4f 4e 53 20 74 | 44 4f 54 49 46 59 20 74 |UTIONS t|DOTIFY t|
|00004950| 46 41 4c 53 45 20 74 47 | 41 54 45 57 41 59 20 74 |FALSE tG|ATEWAY t|
|00004960| 46 4c 41 47 53 0a 58 25 | 74 6f 6b 65 6e 09 74 49 |FLAGS.X%|token.tI|
|00004970| 44 20 74 49 4e 45 57 53 | 20 74 4d 41 49 4c 32 4e |D tINEWS| tMAIL2N|
|00004980| 45 57 53 20 74 4d 41 49 | 4c 43 4f 4e 54 41 43 54 |EWS tMAI|LCONTACT|
|00004990| 20 74 4d 41 49 4c 48 4f | 53 54 20 74 4d 41 49 4c | tMAILHO|ST tMAIL|
|000049a0| 49 4e 47 4c 49 53 54 0a | 58 25 74 6f 6b 65 6e 09 |INGLIST.|X%token.|
|000049b0| 74 4d 41 49 4c 50 4f 53 | 54 20 74 4d 4f 44 45 52 |tMAILPOS|T tMODER|
|000049c0| 41 54 4f 52 20 74 4e 45 | 57 53 32 4d 41 49 4c 20 |ATOR tNE|WS2MAIL |
|000049d0| 74 4f 52 47 41 4e 49 5a | 41 54 49 4f 4e 20 74 4f |tORGANIZ|ATION tO|
|000049e0| 57 4e 45 52 20 74 52 45 | 51 55 45 53 54 41 44 44 |WNER tRE|QUESTADD|
|000049f0| 52 0a 58 25 74 6f 6b 65 | 6e 09 74 53 49 54 45 20 |R.X%toke|n.tSITE |
|00004a00| 74 54 52 55 45 20 74 55 | 53 45 52 0a 58 0a 58 25 |tTRUE tU|SER.X.X%|
|00004a10| 74 79 70 65 09 3c 53 74 | 72 69 6e 67 3e 09 74 49 |type.<St|ring>.tI|
|00004a20| 44 20 76 61 6c 75 65 0a | 58 25 74 79 70 65 09 3c |D value.|X%type.<|
|00004a30| 42 6f 6f 6c 3e 09 09 62 | 6f 6f 6c 65 61 6e 0a 58 |Bool>..b|oolean.X|
|00004a40| 0a 58 25 25 0a 58 0a 58 | 66 69 6c 65 09 3a 20 2f |.X%%.X.X|file.: /|
|00004a50| 2a 20 4e 55 4c 4c 20 2a | 2f 0a 58 09 7c 20 66 69 |* NULL *|/.X.| fi|
|00004a60| 6c 65 20 62 6c 6f 63 6b | 20 27 3b 27 0a 58 09 7c |le block| ';'.X.||
|00004a70| 20 66 69 6c 65 20 64 65 | 66 61 75 6c 74 20 27 3b | file de|fault ';|
|00004a80| 27 0a 58 09 7c 20 66 69 | 6c 65 20 6d 70 6f 73 74 |'.X.| fi|le mpost|
|00004a90| 20 27 3b 27 0a 58 09 7c | 20 66 69 6c 65 20 65 72 | ';'.X.|| file er|
|00004aa0| 72 6f 72 20 27 3b 27 20 | 7b 0a 58 23 69 66 64 65 |ror ';' |{.X#ifde|
|00004ab0| 66 09 6c 69 6e 74 0a 58 | 09 20 20 20 20 2f 2a 20 |f.lint.X|. /* |
|00004ac0| 43 6f 6d 70 75 6c 73 69 | 76 65 2e 2e 2e 20 2a 2f |Compulsi|ve... */|
|00004ad0| 0a 58 09 20 20 20 20 69 | 66 20 28 45 72 72 6f 72 |.X. i|f (Error|
|00004ae0| 73 29 0a 58 09 09 59 59 | 45 52 52 4f 52 3b 0a 58 |s).X..YY|ERROR;.X|
|00004af0| 23 65 6e 64 69 66 09 2f | 2a 20 6c 69 6e 74 20 2a |#endif./|* lint *|
|00004b00| 2f 0a 58 09 7d 0a 58 09 | 3b 0a 58 0a 58 64 65 66 |/.X.}.X.|;.X.Xdef|
|00004b10| 61 75 6c 74 09 3a 20 74 | 44 45 46 41 55 4c 54 20 |ault.: t|DEFAULT |
|00004b20| 74 44 49 52 45 43 54 4f | 52 59 20 76 61 6c 75 65 |tDIRECTO|RY value|
|00004b30| 09 7b 20 44 65 66 44 69 | 72 65 63 74 6f 72 79 20 |.{ DefDi|rectory |
|00004b40| 3d 20 24 33 3b 20 7d 0a | 58 09 7c 20 74 44 45 46 |= $3; }.|X.| tDEF|
|00004b50| 41 55 4c 54 20 74 44 49 | 53 54 52 49 42 55 54 49 |AULT tDI|STRIBUTI|
|00004b60| 4f 4e 53 20 76 61 6c 75 | 65 09 7b 20 28 76 6f 69 |ONS valu|e.{ (voi|
|00004b70| 64 29 53 70 6c 69 74 28 | 24 33 2c 20 26 44 65 66 |d)Split(|$3, &Def|
|00004b80| 44 69 73 74 72 69 62 73 | 2c 20 27 5c 30 27 29 3b |Distribs|, '\0');|
|00004b90| 20 7d 0a 58 09 7c 20 74 | 44 45 46 41 55 4c 54 20 | }.X.| t|DEFAULT |
|00004ba0| 74 49 4e 45 57 53 20 74 | 46 4c 41 47 53 20 76 61 |tINEWS t|FLAGS va|
|00004bb0| 6c 75 65 09 7b 20 44 65 | 66 46 6c 61 67 73 20 3d |lue.{ De|fFlags =|
|00004bc0| 20 24 34 3b 20 7d 0a 58 | 09 7c 20 74 44 45 46 41 | $4; }.X|.| tDEFA|
|00004bd0| 55 4c 54 20 74 4d 41 49 | 4c 32 4e 45 57 53 20 76 |ULT tMAI|L2NEWS v|
|00004be0| 61 6c 75 65 09 7b 20 44 | 65 66 4d 61 69 6c 32 6e |alue.{ D|efMail2n|
|00004bf0| 65 77 73 20 3d 20 24 33 | 3b 20 7d 0a 58 09 7c 20 |ews = $3|; }.X.| |
|00004c00| 74 44 45 46 41 55 4c 54 | 20 74 4d 41 49 4c 43 4f |tDEFAULT| tMAILCO|
|00004c10| 4e 54 41 43 54 20 76 61 | 6c 75 65 09 7b 20 44 65 |NTACT va|lue.{ De|
|00004c20| 66 4d 61 69 6c 63 6f 6e | 74 61 63 74 20 3d 20 24 |fMailcon|tact = $|
|00004c30| 33 3b 20 7d 0a 58 09 7c | 20 74 44 45 46 41 55 4c |3; }.X.|| tDEFAUL|
|00004c40| 54 20 74 4d 41 49 4c 48 | 4f 53 54 20 76 61 6c 75 |T tMAILH|OST valu|
|00004c50| 65 09 7b 20 44 65 66 4d | 61 69 6c 68 6f 73 74 20 |e.{ DefM|ailhost |
|00004c60| 3d 20 24 33 3b 20 7d 0a | 58 09 7c 20 74 44 45 46 |= $3; }.|X.| tDEF|
|00004c70| 41 55 4c 54 20 74 4d 41 | 49 4c 49 4e 47 4c 49 53 |AULT tMA|ILINGLIS|
|00004c80| 54 20 62 6f 6f 6c 65 61 | 6e 09 7b 20 44 65 66 44 |T boolea|n.{ DefD|
|00004c90| 6f 4d 61 69 6c 69 6e 67 | 6c 69 73 74 20 3d 20 24 |oMailing|list = $|
|00004ca0| 33 3b 20 7d 0a 58 09 7c | 20 74 44 45 46 41 55 4c |3; }.X.|| tDEFAUL|
|00004cb0| 54 20 74 4d 4f 44 45 52 | 41 54 4f 52 20 76 61 6c |T tMODER|ATOR val|
|00004cc0| 75 65 09 7b 20 44 65 66 | 4d 6f 64 65 72 61 74 6f |ue.{ Def|Moderato|
|00004cd0| 72 20 3d 20 24 33 3b 20 | 7d 0a 58 09 7c 20 74 44 |r = $3; |}.X.| tD|
|00004ce0| 45 46 41 55 4c 54 20 74 | 4e 45 57 53 32 4d 41 49 |EFAULT t|NEWS2MAI|
|00004cf0| 4c 20 76 61 6c 75 65 09 | 7b 20 44 65 66 4e 65 77 |L value.|{ DefNew|
|00004d00| 73 32 6d 61 69 6c 20 3d | 20 24 33 3b 20 7d 0a 58 |s2mail =| $3; }.X|
|00004d10| 09 7c 20 74 44 45 46 41 | 55 4c 54 20 74 4f 52 47 |.| tDEFA|ULT tORG|
|00004d20| 41 4e 49 5a 41 54 49 4f | 4e 20 76 61 6c 75 65 09 |ANIZATIO|N value.|
|00004d30| 7b 20 44 65 66 4f 72 67 | 61 6e 69 7a 61 74 69 6f |{ DefOrg|anizatio|
|00004d40| 6e 20 3d 20 24 33 3b 20 | 7d 0a 58 09 7c 20 74 44 |n = $3; |}.X.| tD|
|00004d50| 45 46 41 55 4c 54 20 74 | 4f 57 4e 45 52 20 76 61 |EFAULT t|OWNER va|
|00004d60| 6c 75 65 09 09 7b 20 44 | 65 66 4f 77 6e 65 72 20 |lue..{ D|efOwner |
|00004d70| 3d 20 24 33 3b 20 7d 0a | 58 09 7c 20 74 44 45 46 |= $3; }.|X.| tDEF|
|00004d80| 41 55 4c 54 20 74 52 45 | 51 55 45 53 54 41 44 44 |AULT tRE|QUESTADD|
|00004d90| 52 20 76 61 6c 75 65 09 | 7b 20 44 65 66 52 65 71 |R value.|{ DefReq|
|00004da0| 75 65 73 74 41 64 64 72 | 20 3d 20 24 33 3b 20 7d |uestAddr| = $3; }|
|00004db0| 0a 58 09 7c 20 74 44 45 | 46 41 55 4c 54 20 74 53 |.X.| tDE|FAULT tS|
|00004dc0| 49 54 45 20 76 61 6c 75 | 65 09 09 7b 20 44 65 66 |ITE valu|e..{ Def|
|00004dd0| 53 69 74 65 20 3d 20 24 | 33 3b 20 7d 0a 58 09 7c |Site = $|3; }.X.||
|00004de0| 20 74 44 45 46 41 55 4c | 54 20 74 55 53 45 52 20 | tDEFAUL|T tUSER |
|00004df0| 76 61 6c 75 65 09 09 7b | 20 44 65 66 55 73 65 72 |value..{| DefUser|
|00004e00| 20 3d 20 24 33 3b 20 7d | 0a 58 09 3b 0a 58 0a 58 | = $3; }|.X.;.X.X|
|00004e10| 62 6c 6f 63 6b 09 3a 20 | 6f 70 5f 69 6e 69 74 20 |block.: |op_init |
|00004e20| 74 47 41 54 45 57 41 59 | 20 74 49 44 20 74 49 44 |tGATEWAY| tID tID|
|00004e30| 20 6f 70 5f 73 65 74 20 | 7b 0a 58 09 20 20 20 20 | op_set |{.X. |
|00004e40| 69 66 20 28 21 45 72 72 | 6f 72 73 20 26 26 20 56 |if (!Err|ors && V|
|00004e50| 61 6c 69 64 4e 65 77 73 | 67 72 6f 75 70 28 24 33 |alidNews|group($3|
|00004e60| 29 29 0a 58 09 09 57 72 | 69 74 65 4f 6e 65 28 24 |)).X..Wr|iteOne($|
|00004e70| 33 2c 20 24 34 29 3b 0a | 58 09 7d 0a 58 09 3b 0a |3, $4);.|X.}.X.;.|
|00004e80| 58 0a 58 6d 70 6f 73 74 | 09 3a 20 6f 70 5f 69 6e |X.Xmpost|.: op_in|
|00004e90| 69 74 20 74 4d 41 49 4c | 50 4f 53 54 20 74 49 44 |it tMAIL|POST tID|
|00004ea0| 20 6f 70 5f 73 65 74 20 | 7b 0a 58 09 20 20 20 20 | op_set |{.X. |
|00004eb0| 63 68 61 72 09 2a 47 72 | 6f 75 70 61 73 4d 61 69 |char.*Gr|oupasMai|
|00004ec0| 6c 3b 0a 58 0a 58 09 20 | 20 20 20 69 66 20 28 21 |l;.X.X. | if (!|
|00004ed0| 45 72 72 6f 72 73 20 26 | 26 20 56 61 6c 69 64 4e |Errors &|& ValidN|
|00004ee0| 65 77 73 67 72 6f 75 70 | 28 24 33 29 29 20 7b 0a |ewsgroup|($3)) {.|
|00004ef0| 58 09 09 47 72 6f 75 70 | 61 73 4d 61 69 6c 20 3d |X..Group|asMail =|
|00004f00| 20 44 6f 74 32 44 61 73 | 68 28 24 33 29 3b 0a 58 | Dot2Das|h($3);.X|
|00004f10| 09 09 69 66 20 28 62 62 | 6e 29 0a 58 09 09 20 20 |..if (bb|n).X.. |
|00004f20| 20 20 42 42 4e 70 6f 73 | 74 76 69 61 6d 61 69 6c | BBNpos|tviamail|
|00004f30| 28 24 33 2c 20 47 72 6f | 75 70 61 73 4d 61 69 6c |($3, Gro|upasMail|
|00004f40| 29 3b 0a 58 09 09 69 66 | 20 28 73 65 6e 64 6d 61 |);.X..if| (sendma|
|00004f50| 69 6c 29 0a 58 09 09 20 | 20 20 20 46 70 72 69 6e |il).X.. | Fprin|
|00004f60| 74 66 28 73 65 6e 64 6d | 61 69 6c 2c 20 22 25 73 |tf(sendm|ail, "%s|
|00004f70| 3a 20 5c 22 7c 25 73 20 | 2d 6e 20 25 73 5c 22 5c |: \"|%s |-n %s\"\|
|00004f80| 6e 22 2c 0a 58 09 09 09 | 47 72 6f 75 70 61 73 4d |n",.X...|GroupasM|
|00004f90| 61 69 6c 2c 20 43 75 72 | 4d 61 69 6c 32 6e 65 77 |ail, Cur|Mail2new|
|00004fa0| 73 2c 20 24 33 29 3b 0a | 58 09 09 69 66 20 28 6d |s, $3);.|X..if (m|
|00004fb0| 6d 64 66 29 0a 58 09 09 | 20 20 20 20 46 70 72 69 |mdf).X..| Fpri|
|00004fc0| 6e 74 66 28 6d 6d 64 66 | 2c 20 22 25 73 3a 20 5c |ntf(mmdf|, "%s: \|
|00004fd0| 22 25 73 7c 25 73 20 2d | 6e 20 25 73 5c 22 5c 6e |"%s|%s -|n %s\"\n|
|00004fe0| 22 2c 0a 58 09 09 09 47 | 72 6f 75 70 61 73 4d 61 |",.X...G|roupasMa|
|00004ff0| 69 6c 2c 20 43 75 72 55 | 73 65 72 2c 20 43 75 72 |il, CurU|ser, Cur|
|00005000| 4d 61 69 6c 32 6e 65 77 | 73 2c 20 24 33 29 3b 0a |Mail2new|s, $3);.|
|00005010| 58 09 09 69 66 20 28 70 | 70 75 73 65 72 29 0a 58 |X..if (p|puser).X|
|00005020| 09 09 20 20 20 20 46 70 | 72 69 6e 74 66 28 70 70 |.. Fp|rintf(pp|
|00005030| 75 73 65 72 2c 20 22 25 | 73 3a 73 68 65 6c 6c 5c |user, "%|s:shell\|
|00005040| 6e 22 2c 20 47 72 6f 75 | 70 61 73 4d 61 69 6c 29 |n", Grou|pasMail)|
|00005050| 3b 0a 58 09 09 69 66 20 | 28 70 70 73 68 65 6c 6c |;.X..if |(ppshell|
|00005060| 29 0a 58 09 09 20 20 20 | 20 46 70 72 69 6e 74 66 |).X.. | Fprintf|
|00005070| 28 70 70 73 68 65 6c 6c | 2c 20 22 25 73 3a 25 73 |(ppshell|, "%s:%s|
|00005080| 2c 2c 25 73 20 2d 6e 20 | 25 73 5c 6e 22 2c 0a 58 |,,%s -n |%s\n",.X|
|00005090| 09 09 09 47 72 6f 75 70 | 61 73 4d 61 69 6c 2c 20 |...Group|asMail, |
|000050a0| 43 75 72 55 73 65 72 2c | 20 43 75 72 4d 61 69 6c |CurUser,| CurMail|
|000050b0| 32 6e 65 77 73 2c 20 24 | 33 29 3b 0a 58 09 20 20 |2news, $|3);.X. |
|000050c0| 20 20 7d 0a 58 09 7d 0a | 58 09 3b 0a 58 0a 58 6f | }.X.}.|X.;.X.Xo|
|000050d0| 70 5f 69 6e 69 74 09 3a | 20 2f 2a 20 4e 55 4c 4c |p_init.:| /* NULL|
|000050e0| 20 2a 2f 20 7b 0a 58 09 | 20 20 20 20 43 75 72 44 | */ {.X.| CurD|
|000050f0| 6f 4d 61 69 6c 69 6e 67 | 6c 69 73 74 20 3d 20 44 |oMailing|list = D|
|00005100| 65 66 44 6f 4d 61 69 6c | 69 6e 67 6c 69 73 74 3b |efDoMail|inglist;|
|00005110| 0a 58 09 20 20 20 20 43 | 75 72 44 69 73 74 72 69 |.X. C|urDistri|
|00005120| 62 73 20 3d 20 44 65 66 | 44 69 73 74 72 69 62 73 |bs = Def|Distribs|
|00005130| 3b 0a 58 09 20 20 20 20 | 43 75 72 44 69 72 65 63 |;.X. |CurDirec|
|00005140| 74 6f 72 79 20 3d 20 44 | 65 66 44 69 72 65 63 74 |tory = D|efDirect|
|00005150| 6f 72 79 3b 0a 58 09 20 | 20 20 20 43 75 72 46 6c |ory;.X. | CurFl|
|00005160| 61 67 73 20 3d 20 44 65 | 66 46 6c 61 67 73 3b 0a |ags = De|fFlags;.|
|00005170| 58 09 20 20 20 20 43 75 | 72 4d 61 69 6c 32 6e 65 |X. Cu|rMail2ne|
|00005180| 77 73 20 3d 20 44 65 66 | 4d 61 69 6c 32 6e 65 77 |ws = Def|Mail2new|
|00005190| 73 3b 0a 58 09 20 20 20 | 20 43 75 72 4d 61 69 6c |s;.X. | CurMail|
|000051a0| 68 6f 73 74 20 3d 20 44 | 65 66 4d 61 69 6c 68 6f |host = D|efMailho|
|000051b0| 73 74 3b 0a 58 09 20 20 | 20 20 43 75 72 4d 61 69 |st;.X. | CurMai|
|000051c0| 6c 63 6f 6e 74 61 63 74 | 20 3d 20 44 65 66 4d 61 |lcontact| = DefMa|
|000051d0| 69 6c 63 6f 6e 74 61 63 | 74 3b 0a 58 09 20 20 20 |ilcontac|t;.X. |
|000051e0| 20 43 75 72 4d 6f 64 65 | 72 61 74 6f 72 20 3d 20 | CurMode|rator = |
|000051f0| 44 65 66 4d 6f 64 65 72 | 61 74 6f 72 3b 0a 58 09 |DefModer|ator;.X.|
|00005200| 20 20 20 20 43 75 72 4e | 65 77 73 32 6d 61 69 6c | CurN|ews2mail|
|00005210| 20 3d 20 44 65 66 4e 65 | 77 73 32 6d 61 69 6c 3b | = DefNe|ws2mail;|
|00005220| 0a 58 09 20 20 20 20 43 | 75 72 4f 72 67 61 6e 69 |.X. C|urOrgani|
|00005230| 7a 61 74 69 6f 6e 20 3d | 20 44 65 66 4f 72 67 61 |zation =| DefOrga|
|00005240| 6e 69 7a 61 74 69 6f 6e | 3b 0a 58 09 20 20 20 20 |nization|;.X. |
|00005250| 43 75 72 4f 77 6e 65 72 | 20 3d 20 44 65 66 4f 77 |CurOwner| = DefOw|
|00005260| 6e 65 72 3b 0a 58 09 20 | 20 20 20 43 75 72 52 65 |ner;.X. | CurRe|
|00005270| 71 75 65 73 74 41 64 64 | 72 20 3d 20 44 65 66 52 |questAdd|r = DefR|
|00005280| 65 71 75 65 73 74 41 64 | 64 72 3b 0a 58 09 20 20 |equestAd|dr;.X. |
|00005290| 20 20 43 75 72 53 69 74 | 65 20 3d 20 44 65 66 53 | CurSit|e = DefS|
|000052a0| 69 74 65 3b 0a 58 09 20 | 20 20 20 43 75 72 55 73 |ite;.X. | CurUs|
|000052b0| 65 72 20 3d 20 44 65 66 | 55 73 65 72 3b 0a 58 09 |er = Def|User;.X.|
|000052c0| 7d 0a 58 09 3b 0a 58 0a | 58 6f 70 5f 73 65 74 09 |}.X.;.X.|Xop_set.|
|000052d0| 3a 20 2f 2a 20 4e 55 4c | 4c 20 2a 2f 0a 58 09 7c |: /* NUL|L */.X.||
|000052e0| 20 61 6e 5f 6f 70 74 20 | 6f 70 5f 73 65 74 0a 58 | an_opt |op_set.X|
|000052f0| 09 3b 0a 58 0a 58 61 6e | 5f 6f 70 74 09 3a 20 74 |.;.X.Xan|_opt.: t|
|00005300| 44 49 52 45 43 54 4f 52 | 59 20 76 61 6c 75 65 09 |DIRECTOR|Y value.|
|00005310| 7b 20 43 75 72 44 69 72 | 65 63 74 6f 72 79 20 3d |{ CurDir|ectory =|
|00005320| 20 24 32 3b 20 7d 0a 58 | 09 7c 20 74 44 49 53 54 | $2; }.X|.| tDIST|
|00005330| 52 49 42 55 54 49 4f 4e | 53 20 76 61 6c 75 65 09 |RIBUTION|S value.|
|00005340| 7b 20 28 76 6f 69 64 29 | 53 70 6c 69 74 28 24 32 |{ (void)|Split($2|
|00005350| 2c 20 26 43 75 72 44 69 | 73 74 72 69 62 73 2c 20 |, &CurDi|stribs, |
|00005360| 27 5c 30 27 29 3b 20 7d | 0a 58 09 7c 20 74 49 4e |'\0'); }|.X.| tIN|
|00005370| 45 57 53 20 74 46 4c 41 | 47 53 20 76 61 6c 75 65 |EWS tFLA|GS value|
|00005380| 09 7b 20 43 75 72 46 6c | 61 67 73 20 3d 20 24 33 |.{ CurFl|ags = $3|
|00005390| 3b 20 7d 0a 58 09 7c 20 | 74 4d 41 49 4c 32 4e 45 |; }.X.| |tMAIL2NE|
|000053a0| 57 53 20 76 61 6c 75 65 | 09 7b 20 43 75 72 4d 61 |WS value|.{ CurMa|
|000053b0| 69 6c 32 6e 65 77 73 20 | 3d 20 24 32 3b 20 7d 0a |il2news |= $2; }.|
|000053c0| 58 09 7c 20 74 4d 41 49 | 4c 43 4f 4e 54 41 43 54 |X.| tMAI|LCONTACT|
|000053d0| 20 76 61 6c 75 65 09 7b | 20 43 75 72 4d 61 69 6c | value.{| CurMail|
|000053e0| 63 6f 6e 74 61 63 74 20 | 3d 20 24 32 3b 20 7d 0a |contact |= $2; }.|
|000053f0| 58 09 7c 20 74 4d 41 49 | 4c 48 4f 53 54 20 76 61 |X.| tMAI|LHOST va|
|00005400| 6c 75 65 09 7b 20 43 75 | 72 4d 61 69 6c 68 6f 73 |lue.{ Cu|rMailhos|
|00005410| 74 20 3d 20 24 32 3b 20 | 7d 0a 58 09 7c 20 74 4d |t = $2; |}.X.| tM|
|00005420| 41 49 4c 49 4e 47 4c 49 | 53 54 20 62 6f 6f 6c 65 |AILINGLI|ST boole|
|00005430| 61 6e 09 7b 20 43 75 72 | 44 6f 4d 61 69 6c 69 6e |an.{ Cur|DoMailin|
|00005440| 67 6c 69 73 74 20 3d 20 | 24 32 3b 20 7d 0a 58 09 |glist = |$2; }.X.|
|00005450| 7c 20 74 4d 4f 44 45 52 | 41 54 4f 52 20 76 61 6c || tMODER|ATOR val|
|00005460| 75 65 09 7b 20 43 75 72 | 4d 6f 64 65 72 61 74 6f |ue.{ Cur|Moderato|
|00005470| 72 20 3d 20 24 32 3b 20 | 7d 0a 58 09 7c 20 74 4e |r = $2; |}.X.| tN|
|00005480| 45 57 53 32 4d 41 49 4c | 20 76 61 6c 75 65 09 7b |EWS2MAIL| value.{|
|00005490| 20 43 75 72 4e 65 77 73 | 32 6d 61 69 6c 20 3d 20 | CurNews|2mail = |
|000054a0| 24 32 3b 20 7d 0a 58 09 | 7c 20 74 4f 52 47 41 4e |$2; }.X.|| tORGAN|
|000054b0| 49 5a 41 54 49 4f 4e 20 | 76 61 6c 75 65 09 7b 20 |IZATION |value.{ |
|000054c0| 43 75 72 4f 72 67 61 6e | 69 7a 61 74 69 6f 6e 20 |CurOrgan|ization |
|000054d0| 3d 20 24 32 3b 20 7d 0a | 58 09 7c 20 74 4f 57 4e |= $2; }.|X.| tOWN|
|000054e0| 45 52 20 76 61 6c 75 65 | 09 09 7b 20 43 75 72 4f |ER value|..{ CurO|
|000054f0| 77 6e 65 72 20 3d 20 24 | 32 3b 20 7d 0a 58 09 7c |wner = $|2; }.X.||
|00005500| 20 74 52 45 51 55 45 53 | 54 41 44 44 52 20 76 61 | tREQUES|TADDR va|
|00005510| 6c 75 65 09 7b 20 43 75 | 72 52 65 71 75 65 73 74 |lue.{ Cu|rRequest|
|00005520| 41 64 64 72 20 3d 20 24 | 32 3b 20 7d 0a 58 09 7c |Addr = $|2; }.X.||
|00005530| 20 74 53 49 54 45 20 76 | 61 6c 75 65 09 09 7b 20 | tSITE v|alue..{ |
|00005540| 43 75 72 53 69 74 65 20 | 3d 20 24 32 3b 20 7d 0a |CurSite |= $2; }.|
|00005550| 58 09 7c 20 74 55 53 45 | 52 20 76 61 6c 75 65 09 |X.| tUSE|R value.|
|00005560| 09 7b 20 43 75 72 55 73 | 65 72 20 3d 20 24 32 3b |.{ CurUs|er = $2;|
|00005570| 20 7d 0a 58 09 3b 0a 58 | 0a 58 76 61 6c 75 65 09 | }.X.;.X|.Xvalue.|
|00005580| 3a 20 27 3d 27 20 74 49 | 44 20 7b 0a 58 09 20 20 |: '=' tI|D {.X. |
|00005590| 20 20 24 24 20 3d 20 24 | 32 3b 0a 58 09 7d 0a 58 | $$ = $|2;.X.}.X|
|000055a0| 09 7c 20 27 3d 27 20 74 | 44 4f 54 49 46 59 20 27 |.| '=' t|DOTIFY '|
|000055b0| 28 27 20 74 49 44 20 27 | 29 27 20 7b 0a 58 09 20 |(' tID '|)' {.X. |
|000055c0| 20 20 20 24 24 20 3d 20 | 44 6f 74 69 66 79 28 24 | $$ = |Dotify($|
|000055d0| 34 29 3b 0a 58 09 7d 0a | 58 09 3b 0a 58 0a 58 62 |4);.X.}.|X.;.X.Xb|
|000055e0| 6f 6f 6c 65 61 6e 09 3a | 20 27 3d 27 20 74 54 52 |oolean.:| '=' tTR|
|000055f0| 55 45 20 7b 0a 58 09 20 | 20 20 20 24 24 20 3d 20 |UE {.X. | $$ = |
|00005600| 54 52 55 45 3b 0a 58 09 | 7d 0a 58 09 7c 20 27 3d |TRUE;.X.|}.X.| '=|
|00005610| 27 20 74 46 41 4c 53 45 | 20 7b 0a 58 09 20 20 20 |' tFALSE| {.X. |
|00005620| 20 24 24 20 3d 20 46 41 | 4c 53 45 3b 0a 58 09 7d | $$ = FA|LSE;.X.}|
|00005630| 0a 58 09 3b 0a 58 25 25 | 0a 58 0a 58 0a 58 2f 2a |.X.;.X%%|.X.X.X/*|
|00005640| 0a 58 2a 2a 20 20 43 6f | 70 79 20 74 68 65 20 73 |.X** Co|py the s|
|00005650| 74 72 69 6e 67 20 73 20 | 74 75 72 6e 69 6e 67 20 |tring s |turning |
|00005660| 61 6c 6c 20 27 2e 27 20 | 69 6e 74 6f 20 27 2d 27 |all '.' |into '-'|
|00005670| 2e 0a 58 2a 2f 0a 58 53 | 54 41 54 49 43 20 63 68 |..X*/.XS|TATIC ch|
|00005680| 61 72 20 2a 0a 58 44 6f | 74 32 44 61 73 68 28 73 |ar *.XDo|t2Dash(s|
|00005690| 29 0a 58 20 20 20 20 72 | 65 67 69 73 74 65 72 20 |).X r|egister |
|000056a0| 63 68 61 72 09 2a 73 3b | 0a 58 7b 0a 58 20 20 20 |char.*s;|.X{.X |
|000056b0| 20 72 65 67 69 73 74 65 | 72 20 63 68 61 72 09 2a | registe|r char.*|
|000056c0| 70 3b 0a 58 20 20 20 20 | 63 68 61 72 09 09 2a 73 |p;.X |char..*s|
|000056d0| 61 76 65 3b 0a 58 0a 58 | 20 20 20 20 66 6f 72 20 |ave;.X.X| for |
|000056e0| 28 73 61 76 65 20 3d 20 | 70 20 3d 20 43 4f 50 59 |(save = |p = COPY|
|000056f0| 28 73 29 3b 20 2a 73 3b | 20 73 2b 2b 29 0a 58 09 |(s); *s;| s++).X.|
|00005700| 2a 70 2b 2b 20 3d 20 2a | 73 20 3d 3d 20 27 2e 27 |*p++ = *|s == '.'|
|00005710| 20 3f 20 27 2d 27 20 3a | 20 2a 73 3b 0a 58 20 20 | ? '-' :| *s;.X |
|00005720| 20 20 2a 70 20 3d 20 27 | 5c 30 27 3b 0a 58 20 20 | *p = '|\0';.X |
|00005730| 20 20 72 65 74 75 72 6e | 20 73 61 76 65 3b 0a 58 | return| save;.X|
|00005740| 7d 0a 58 0a 58 0a 58 2f | 2a 0a 58 2a 2a 20 20 43 |}.X.X.X/|*.X** C|
|00005750| 6f 70 79 20 74 68 65 20 | 73 74 72 69 6e 67 20 73 |opy the |string s|
|00005760| 20 70 75 74 74 69 6e 67 | 20 61 20 27 2e 27 20 62 | putting| a '.' b|
|00005770| 65 66 6f 72 65 20 61 6c | 6c 20 75 70 70 65 72 63 |efore al|l upperc|
|00005780| 61 73 65 20 6c 65 74 74 | 65 72 73 20 61 6e 64 20 |ase lett|ers and |
|00005790| 27 2e 27 2e 0a 58 2a 2f | 0a 58 53 54 41 54 49 43 |'.'..X*/|.XSTATIC|
|000057a0| 20 63 68 61 72 20 2a 0a | 58 44 6f 74 69 66 79 28 | char *.|XDotify(|
|000057b0| 73 29 0a 58 20 20 20 20 | 72 65 67 69 73 74 65 72 |s).X |register|
|000057c0| 20 63 68 61 72 09 2a 73 | 3b 0a 58 7b 0a 58 20 20 | char.*s|;.X{.X |
|000057d0| 20 20 72 65 67 69 73 74 | 65 72 20 63 68 61 72 09 | regist|er char.|
|000057e0| 2a 70 3b 0a 58 20 20 20 | 20 63 68 61 72 09 09 2a |*p;.X | char..*|
|000057f0| 73 61 76 65 3b 0a 58 0a | 58 20 20 20 20 66 6f 72 |save;.X.|X for|
|00005800| 20 28 73 61 76 65 20 3d | 20 70 20 3d 20 4e 45 57 | (save =| p = NEW|
|00005810| 28 63 68 61 72 2c 20 73 | 74 72 6c 65 6e 28 73 29 |(char, s|trlen(s)|
|00005820| 20 2a 20 32 20 2b 20 31 | 29 3b 20 2a 73 3b 20 2a | * 2 + 1|); *s; *|
|00005830| 70 2b 2b 20 3d 20 2a 73 | 2b 2b 29 0a 58 09 69 66 |p++ = *s|++).X.if|
|00005840| 20 28 2a 73 20 3d 3d 20 | 27 2e 27 20 7c 7c 20 69 | (*s == |'.' || i|
|00005850| 73 75 70 70 65 72 28 2a | 73 29 29 0a 58 09 20 20 |supper(*|s)).X. |
|00005860| 20 20 2a 70 2b 2b 20 3d | 20 27 2e 27 3b 0a 58 20 | *p++ =| '.';.X |
|00005870| 20 20 20 2a 70 20 3d 20 | 27 5c 30 27 3b 0a 58 20 | *p = |'\0';.X |
|00005880| 20 20 20 72 65 74 75 72 | 6e 20 73 61 76 65 3b 0a | retur|n save;.|
|00005890| 58 7d 0a 58 0a 58 0a 58 | 2f 2a 0a 58 2a 2a 20 20 |X}.X.X.X|/*.X** |
|000058a0| 43 68 65 63 6b 20 69 66 | 20 74 68 65 20 6e 65 77 |Check if| the new|
|000058b0| 73 67 72 6f 75 70 20 65 | 78 69 73 74 73 20 69 6e |sgroup e|xists in|
|000058c0| 20 74 68 65 20 41 43 54 | 49 56 45 20 66 69 6c 65 | the ACT|IVE file|
|000058d0| 2e 0a 58 2a 2f 0a 58 53 | 54 41 54 49 43 20 69 6e |..X*/.XS|TATIC in|
|000058e0| 74 0a 58 56 61 6c 69 64 | 4e 65 77 73 67 72 6f 75 |t.XValid|Newsgrou|
|000058f0| 70 28 47 72 6f 75 70 29 | 0a 58 20 20 20 20 72 65 |p(Group)|.X re|
|00005900| 67 69 73 74 65 72 20 63 | 68 61 72 09 2a 47 72 6f |gister c|har.*Gro|
|00005910| 75 70 3b 0a 58 7b 0a 58 | 20 20 20 20 73 74 61 74 |up;.X{.X| stat|
|00005920| 69 63 20 63 68 61 72 09 | 09 2a 2a 46 69 6c 65 3b |ic char.|.**File;|
|00005930| 0a 58 20 20 20 20 72 65 | 67 69 73 74 65 72 20 63 |.X re|gister c|
|00005940| 68 61 72 09 2a 2a 70 3b | 0a 58 20 20 20 20 72 65 |har.**p;|.X re|
|00005950| 67 69 73 74 65 72 20 63 | 68 61 72 09 2a 71 3b 0a |gister c|har.*q;.|
|00005960| 58 0a 58 20 20 20 20 69 | 66 20 28 4e 6f 47 72 6f |X.X i|f (NoGro|
|00005970| 75 70 43 68 65 63 6b 29 | 0a 58 09 72 65 74 75 72 |upCheck)|.X.retur|
|00005980| 6e 20 54 52 55 45 3b 0a | 58 0a 58 20 20 20 20 69 |n TRUE;.|X.X i|
|00005990| 66 20 28 46 69 6c 65 20 | 3d 3d 20 4e 55 4c 4c 29 |f (File |== NULL)|
|000059a0| 0a 58 09 2f 2a 20 52 65 | 61 64 20 69 6e 20 61 63 |.X./* Re|ad in ac|
|000059b0| 74 69 76 65 20 66 69 6c | 65 2c 20 74 72 69 6d 20 |tive fil|e, trim |
|000059c0| 74 6f 20 6a 75 73 74 20 | 74 68 65 20 6e 65 77 73 |to just |the news|
|000059d0| 67 72 6f 75 70 20 6e 61 | 6d 65 73 2e 20 2a 2f 0a |group na|mes. */.|
|000059e0| 58 09 66 6f 72 20 28 70 | 20 3d 20 46 69 6c 65 20 |X.for (p| = File |
|000059f0| 3d 20 52 65 61 64 46 69 | 6c 65 28 41 43 54 49 56 |= ReadFi|le(ACTIV|
|00005a00| 45 29 3b 20 2a 70 3b 20 | 70 2b 2b 29 0a 58 09 20 |E); *p; |p++).X. |
|00005a10| 20 20 20 69 66 20 28 71 | 20 3d 20 49 44 58 28 2a | if (q| = IDX(*|
|00005a20| 70 2c 20 27 20 27 29 29 | 0a 58 09 09 2a 71 20 3d |p, ' '))|.X..*q =|
|00005a30| 20 27 5c 30 27 3b 0a 58 | 0a 58 20 20 20 20 66 6f | '\0';.X|.X fo|
|00005a40| 72 20 28 70 20 3d 20 46 | 69 6c 65 3b 20 2a 70 3b |r (p = F|ile; *p;|
|00005a50| 20 70 2b 2b 29 0a 58 09 | 69 66 20 28 45 51 28 2a | p++).X.|if (EQ(*|
|00005a60| 70 2c 20 47 72 6f 75 70 | 29 29 0a 58 09 20 20 20 |p, Group|)).X. |
|00005a70| 20 72 65 74 75 72 6e 20 | 54 52 55 45 3b 0a 58 0a | return |TRUE;.X.|
|00005a80| 58 20 20 20 20 46 70 72 | 69 6e 74 66 28 73 74 64 |X Fpr|intf(std|
|00005a90| 65 72 72 2c 20 22 25 73 | 3a 20 69 67 6e 6f 72 69 |err, "%s|: ignori|
|00005aa0| 6e 67 20 69 6e 76 61 6c | 69 64 20 6e 65 77 73 67 |ng inval|id newsg|
|00005ab0| 72 6f 75 70 20 5c 22 25 | 73 5c 22 2e 5c 6e 22 2c |roup \"%|s\".\n",|
|00005ac0| 20 50 6e 61 6d 65 2c 20 | 47 72 6f 75 70 29 3b 0a | Pname, |Group);.|
|00005ad0| 58 20 20 20 20 72 65 74 | 75 72 6e 20 46 41 4c 53 |X ret|urn FALS|
|00005ae0| 45 3b 0a 58 7d 0a 58 0a | 58 0a 58 2f 2a 0a 58 2a |E;.X}.X.|X.X/*.X*|
|00005af0| 2a 20 20 43 72 65 61 74 | 65 20 61 20 42 42 4e 20 |* Creat|e a BBN |
|00005b00| 61 6c 69 61 73 20 73 65 | 74 20 73 6f 20 74 68 61 |alias se|t so tha|
|00005b10| 74 20 75 73 65 72 73 20 | 63 61 6e 20 6d 61 69 6c |t users |can mail|
|00005b20| 20 69 6e 74 6f 20 61 20 | 6e 65 77 73 67 72 6f 75 | into a |newsgrou|
|00005b30| 70 0a 58 2a 2a 20 20 61 | 73 20 69 66 20 69 74 20 |p.X** a|s if it |
|00005b40| 77 65 72 65 20 61 20 6d | 61 69 6c 69 6e 67 20 6c |were a m|ailing l|
|00005b50| 69 73 74 2e 0a 58 2a 2f | 0a 58 53 54 41 54 49 43 |ist..X*/|.XSTATIC|
|00005b60| 20 76 6f 69 64 0a 58 42 | 42 4e 70 6f 73 74 76 69 | void.XB|BNpostvi|
|00005b70| 61 6d 61 69 6c 28 4e 67 | 72 6f 75 70 2c 20 47 72 |amail(Ng|roup, Gr|
|00005b80| 6f 75 70 61 73 4d 61 69 | 6c 29 0a 58 20 20 20 20 |oupasMai|l).X |
|00005b90| 63 68 61 72 09 09 2a 4e | 67 72 6f 75 70 3b 0a 58 |char..*N|group;.X|
|00005ba0| 20 20 20 20 63 68 61 72 | 09 09 2a 47 72 6f 75 70 | char|..*Group|
|00005bb0| 61 73 4d 61 69 6c 3b 0a | 58 7b 0a 58 20 20 20 20 |asMail;.|X{.X |
|00005bc0| 72 65 67 69 73 74 65 72 | 20 46 49 4c 45 09 2a 46 |register| FILE.*F|
|00005bd0| 3b 0a 58 20 20 20 20 63 | 68 61 72 09 09 62 75 66 |;.X c|har..buf|
|00005be0| 66 5b 53 4d 5f 53 49 5a | 45 5d 3b 0a 58 0a 58 20 |f[SM_SIZ|E];.X.X |
|00005bf0| 20 20 20 2f 2a 20 43 72 | 65 61 74 65 20 61 20 70 | /* Cr|eate a p|
|00005c00| 6f 73 74 2d 6e 65 77 73 | 2d 67 72 6f 75 70 20 61 |ost-news|-group a|
|00005c10| 6c 69 61 73 20 77 68 69 | 63 68 20 70 69 70 65 73 |lias whi|ch pipes|
|00005c20| 20 69 6e 74 6f 0a 58 20 | 20 20 20 20 2a 20 74 68 | into.X | * th|
|00005c30| 65 20 2f 62 69 6e 2f 64 | 69 72 2f 70 6f 73 74 2d |e /bin/d|ir/post-|
|00005c40| 6e 65 77 73 2d 67 72 6f | 75 70 20 73 63 72 69 70 |news-gro|up scrip|
|00005c50| 74 2e 20 2a 2f 0a 58 20 | 20 20 20 46 70 72 69 6e |t. */.X | Fprin|
|00005c60| 74 66 28 62 62 6e 2c 20 | 22 70 6f 73 74 2d 25 73 |tf(bbn, |"post-%s|
|00005c70| 3a 20 40 25 73 20 7b 20 | 5c 22 25 73 7c 25 73 2f |: @%s { |\"%s|%s/|
|00005c80| 70 6f 73 74 2d 25 73 5c | 22 20 7d 5c 6e 22 2c 0a |post-%s\|" }\n",.|
|00005c90| 58 09 47 72 6f 75 70 61 | 73 4d 61 69 6c 2c 20 43 |X.Groupa|sMail, C|
|00005ca0| 75 72 4d 61 69 6c 68 6f | 73 74 2c 20 43 75 72 55 |urMailho|st, CurU|
|00005cb0| 73 65 72 2c 20 43 75 72 | 44 69 72 65 63 74 6f 72 |ser, Cur|Director|
|00005cc0| 79 2c 20 47 72 6f 75 70 | 61 73 4d 61 69 6c 29 3b |y, Group|asMail);|
|00005cd0| 0a 58 20 20 20 20 46 70 | 72 69 6e 74 66 28 62 62 |.X Fp|rintf(bb|
|00005ce0| 6e 2c 20 22 5c 74 70 6f | 73 74 2d 25 73 40 25 73 |n, "\tpo|st-%s@%s|
|00005cf0| 5c 6e 22 2c 20 47 72 6f | 75 70 61 73 4d 61 69 6c |\n", Gro|upasMail|
|00005d00| 2c 20 43 75 72 4d 61 69 | 6c 68 6f 73 74 29 3b 0a |, CurMai|lhost);.|
|00005d10| 58 0a 58 20 20 20 20 2f | 2a 20 57 72 69 74 65 20 |X.X /|* Write |
|00005d20| 61 20 70 6f 73 74 2d 6e | 65 77 73 2d 73 63 72 69 |a post-n|ews-scri|
|00005d30| 70 74 20 77 68 69 63 68 | 20 63 61 6c 6c 73 20 6d |pt which| calls m|
|00005d40| 61 69 6c 32 6e 65 77 73 | 2e 20 2a 2f 0a 58 20 20 |ail2news|. */.X |
|00005d50| 20 20 69 66 20 28 4f 75 | 74 44 69 72 29 20 7b 0a | if (Ou|tDir) {.|
|00005d60| 58 0a 58 09 2f 2a 20 4f | 70 65 6e 20 74 68 65 20 |X.X./* O|pen the |
|00005d70| 66 69 6c 65 2e 20 2a 2f | 0a 58 09 28 76 6f 69 64 |file. */|.X.(void|
|00005d80| 29 73 70 72 69 6e 74 66 | 28 62 75 66 66 2c 20 22 |)sprintf|(buff, "|
|00005d90| 25 73 2f 70 6f 73 74 2d | 25 73 22 2c 20 4f 75 74 |%s/post-|%s", Out|
|00005da0| 44 69 72 2c 20 47 72 6f | 75 70 61 73 4d 61 69 6c |Dir, Gro|upasMail|
|00005db0| 29 3b 0a 58 09 28 76 6f | 69 64 29 75 6e 6c 69 6e |);.X.(vo|id)unlin|
|00005dc0| 6b 28 62 75 66 66 29 3b | 0a 58 09 69 66 20 28 28 |k(buff);|.X.if ((|
|00005dd0| 46 20 3d 20 66 6f 70 65 | 6e 28 62 75 66 66 2c 20 |F = fope|n(buff, |
|00005de0| 22 77 22 29 29 20 3d 3d | 20 4e 55 4c 4c 29 20 7b |"w")) ==| NULL) {|
|00005df0| 0a 58 09 20 20 20 20 46 | 70 72 69 6e 74 66 28 73 |.X. F|printf(s|
|00005e00| 74 64 65 72 72 2c 20 22 | 25 73 3a 20 20 43 61 6e |tderr, "|%s: Can|
|00005e10| 27 74 20 6f 70 65 6e 20 | 5c 22 25 73 5c 22 20 66 |'t open |\"%s\" f|
|00005e20| 6f 72 20 6f 75 74 70 75 | 74 2c 20 25 73 2e 5c 6e |or outpu|t, %s.\n|
|00005e30| 22 2c 0a 58 09 09 50 6e | 61 6d 65 2c 20 62 75 66 |",.X..Pn|ame, buf|
|00005e40| 66 2c 20 73 74 72 65 72 | 72 6f 72 28 65 72 72 6e |f, strer|ror(errn|
|00005e50| 6f 29 29 3b 0a 58 09 20 | 20 20 20 65 78 69 74 28 |o));.X. | exit(|
|00005e60| 31 29 3b 0a 58 09 7d 0a | 58 0a 58 09 2f 2a 20 57 |1);.X.}.|X.X./* W|
|00005e70| 72 69 74 65 20 74 68 65 | 20 73 63 72 69 70 74 2e |rite the| script.|
|00005e80| 20 2a 2f 0a 58 09 46 70 | 72 69 6e 74 66 28 46 2c | */.X.Fp|rintf(F,|
|00005e90| 20 22 23 21 20 2f 62 69 | 6e 2f 73 68 5c 6e 22 29 | "#! /bi|n/sh\n")|
|00005ea0| 3b 0a 58 09 46 70 72 69 | 6e 74 66 28 46 2c 20 22 |;.X.Fpri|ntf(F, "|
|00005eb0| 23 23 20 54 68 69 73 20 | 73 63 72 69 70 74 20 66 |## This |script f|
|00005ec0| 6f 72 77 61 72 64 73 20 | 69 6e 74 6f 20 74 68 65 |orwards |into the|
|00005ed0| 20 5c 22 25 73 5c 22 20 | 6e 65 77 73 67 72 6f 75 | \"%s\" |newsgrou|
|00005ee0| 70 2e 5c 6e 22 2c 0a 58 | 09 20 20 20 20 4e 67 72 |p.\n",.X|. Ngr|
|00005ef0| 6f 75 70 29 3b 0a 58 09 | 46 70 72 69 6e 74 66 28 |oup);.X.|Fprintf(|
|00005f00| 46 2c 20 22 65 78 65 63 | 20 25 73 20 2d 6e 20 25 |F, "exec| %s -n %|
|00005f10| 73 5c 6e 22 2c 20 43 75 | 72 4d 61 69 6c 32 6e 65 |s\n", Cu|rMail2ne|
|00005f20| 77 73 2c 20 4e 67 72 6f | 75 70 29 3b 0a 58 0a 58 |ws, Ngro|up);.X.X|
|00005f30| 09 2f 2a 20 43 6c 6f 73 | 65 20 74 68 65 20 66 69 |./* Clos|e the fi|
|00005f40| 6c 65 2e 20 2a 2f 0a 58 | 09 28 76 6f 69 64 29 66 |le. */.X|.(void)f|
|00005f50| 63 6c 6f 73 65 28 46 29 | 3b 0a 58 09 28 76 6f 69 |close(F)|;.X.(voi|
|00005f60| 64 29 63 68 6d 6f 64 28 | 62 75 66 66 2c 20 30 37 |d)chmod(|buff, 07|
|00005f70| 35 35 29 3b 0a 58 20 20 | 20 20 7d 0a 58 7d 0a 58 |55);.X | }.X}.X|
|00005f80| 0a 58 0a 58 2f 2a 0a 58 | 2a 2a 20 20 57 72 69 74 |.X.X/*.X|** Writ|
|00005f90| 65 20 6f 75 74 20 6f 6e | 65 20 6e 65 77 73 67 72 |e out on|e newsgr|
|00005fa0| 6f 75 70 2f 6d 61 69 6c | 69 6e 67 20 6c 69 73 74 |oup/mail|ing list|
|00005fb0| 20 67 61 74 65 77 61 79 | 69 6e 67 20 65 6e 74 72 | gateway|ing entr|
|00005fc0| 79 2e 20 20 54 68 69 73 | 20 69 73 20 77 68 65 72 |y. This| is wher|
|00005fd0| 65 0a 58 2a 2a 20 20 74 | 68 65 20 72 65 61 6c 20 |e.X** t|he real |
|00005fe0| 77 6f 72 6b 20 69 73 20 | 64 6f 6e 65 2e 20 20 57 |work is |done. W|
|00005ff0| 65 20 64 6f 20 42 42 4e | 2c 20 4d 4d 44 46 2c 20 |e do BBN|, MMDF, |
|00006000| 53 65 6e 64 6d 61 69 6c | 2c 20 61 6e 64 20 6e 65 |Sendmail|, and ne|
|00006010| 77 73 2f 73 79 73 20 66 | 69 6c 65 0a 58 2a 2a 20 |ws/sys f|ile.X** |
|00006020| 20 65 6e 74 72 69 65 73 | 20 68 65 72 65 2e 0a 58 | entries| here..X|
|00006030| 2a 2f 0a 58 53 54 41 54 | 49 43 20 76 6f 69 64 0a |*/.XSTAT|IC void.|
|00006040| 58 57 72 69 74 65 4f 6e | 65 28 4e 67 72 6f 75 70 |XWriteOn|e(Ngroup|
|00006050| 2c 20 4d 6c 69 73 74 29 | 0a 58 20 20 20 20 72 65 |, Mlist)|.X re|
|00006060| 67 69 73 74 65 72 20 63 | 68 61 72 09 2a 4e 67 72 |gister c|har.*Ngr|
|00006070| 6f 75 70 3b 0a 58 20 20 | 20 20 72 65 67 69 73 74 |oup;.X | regist|
|00006080| 65 72 20 63 68 61 72 09 | 2a 4d 6c 69 73 74 3b 0a |er char.|*Mlist;.|
|00006090| 58 7b 0a 58 20 20 20 20 | 72 65 67 69 73 74 65 72 |X{.X |register|
|000060a0| 20 63 68 61 72 09 2a 2a | 70 3b 0a 58 20 20 20 20 | char.**|p;.X |
|000060b0| 72 65 67 69 73 74 65 72 | 20 46 49 4c 45 09 2a 46 |register| FILE.*F|
|000060c0| 3b 0a 58 20 20 20 20 72 | 65 67 69 73 74 65 72 20 |;.X r|egister |
|000060d0| 63 68 61 72 09 2a 47 72 | 6f 75 70 61 73 4d 61 69 |char.*Gr|oupasMai|
|000060e0| 6c 3b 0a 58 20 20 20 20 | 63 68 61 72 09 09 62 75 |l;.X |char..bu|
|000060f0| 66 66 5b 53 4d 5f 53 49 | 5a 45 5d 3b 0a 58 0a 58 |ff[SM_SI|ZE];.X.X|
|00006100| 20 20 20 20 47 72 6f 75 | 70 61 73 4d 61 69 6c 20 | Grou|pasMail |
|00006110| 3d 20 44 6f 74 32 44 61 | 73 68 28 4e 67 72 6f 75 |= Dot2Da|sh(Ngrou|
|00006120| 70 29 3b 0a 58 0a 58 20 | 20 20 20 69 66 20 28 62 |p);.X.X | if (b|
|00006130| 62 6e 29 20 7b 0a 58 09 | 2f 2a 20 43 72 65 61 74 |bn) {.X.|/* Creat|
|00006140| 65 20 61 6e 20 61 6c 69 | 61 73 20 74 68 61 74 20 |e an ali|as that |
|00006150| 66 6f 72 77 61 72 64 73 | 20 74 6f 20 74 68 65 20 |forwards| to the |
|00006160| 73 63 72 69 70 74 2e 20 | 2a 2f 0a 58 09 46 70 72 |script. |*/.X.Fpr|
|00006170| 69 6e 74 66 28 62 62 6e | 2c 20 22 5c 6e 23 23 20 |intf(bbn|, "\n## |
|00006180| 20 41 64 64 20 74 68 69 | 73 20 74 6f 20 74 68 65 | Add thi|s to the|
|00006190| 20 5c 22 25 73 5c 22 20 | 6d 61 69 6c 69 6e 67 20 | \"%s\" |mailing |
|000061a0| 6c 69 73 74 2e 5c 6e 22 | 2c 20 4d 6c 69 73 74 29 |list.\n"|, Mlist)|
|000061b0| 3b 0a 58 09 46 70 72 69 | 6e 74 66 28 62 62 6e 2c |;.X.Fpri|ntf(bbn,|
|000061c0| 20 22 25 73 2d 67 61 74 | 65 3a 20 40 25 73 20 7b | "%s-gat|e: @%s {|
|000061d0| 20 5c 22 25 73 7c 25 73 | 2f 67 61 74 65 2d 25 73 | \"%s|%s|/gate-%s|
|000061e0| 5c 22 20 7d 5c 6e 22 2c | 0a 58 09 20 20 20 20 4d |\" }\n",|.X. M|
|000061f0| 6c 69 73 74 2c 20 43 75 | 72 4d 61 69 6c 68 6f 73 |list, Cu|rMailhos|
|00006200| 74 2c 20 43 75 72 55 73 | 65 72 2c 20 43 75 72 44 |t, CurUs|er, CurD|
|00006210| 69 72 65 63 74 6f 72 79 | 2c 20 4d 6c 69 73 74 29 |irectory|, Mlist)|
|00006220| 3b 0a 58 09 46 70 72 69 | 6e 74 66 28 62 62 6e 2c |;.X.Fpri|ntf(bbn,|
|00006230| 20 22 5c 74 25 73 2d 67 | 61 74 65 40 25 73 5c 6e | "\t%s-g|ate@%s\n|
|00006240| 22 2c 20 4d 6c 69 73 74 | 2c 20 43 75 72 4d 61 69 |", Mlist|, CurMai|
|00006250| 6c 68 6f 73 74 29 3b 0a | 58 0a 58 09 2f 2a 20 57 |lhost);.|X.X./* W|
|00006260| 72 69 74 65 20 74 68 65 | 20 73 63 72 69 70 74 2e |rite the| script.|
|00006270| 20 2a 2f 0a 58 09 69 66 | 20 28 4f 75 74 44 69 72 | */.X.if| (OutDir|
|00006280| 29 20 7b 0a 58 09 20 20 | 20 20 69 66 20 28 49 44 |) {.X. | if (ID|
|00006290| 58 28 43 75 72 4f 72 67 | 61 6e 69 7a 61 74 69 6f |X(CurOrg|anizatio|
|000062a0| 6e 2c 20 27 22 27 29 29 | 20 7b 0a 58 09 09 79 79 |n, '"'))| {.X..yy|
|000062b0| 65 72 72 6f 72 28 22 43 | 61 6e 27 74 20 68 61 76 |error("C|an't hav|
|000062c0| 65 20 5c 22 20 69 6e 20 | 6f 72 67 61 6e 69 7a 61 |e \" in |organiza|
|000062d0| 74 69 6f 6e 20 6e 61 6d | 65 22 29 3b 0a 58 09 09 |tion nam|e");.X..|
|000062e0| 66 72 65 65 28 47 72 6f | 75 70 61 73 4d 61 69 6c |free(Gro|upasMail|
|000062f0| 29 3b 0a 58 09 09 72 65 | 74 75 72 6e 3b 0a 58 09 |);.X..re|turn;.X.|
|00006300| 20 20 20 20 7d 0a 58 0a | 58 09 20 20 20 20 2f 2a | }.X.|X. /*|
|00006310| 20 4f 70 65 6e 20 74 68 | 65 20 66 69 6c 65 2e 20 | Open th|e file. |
|00006320| 2a 2f 0a 58 09 20 20 20 | 20 28 76 6f 69 64 29 73 |*/.X. | (void)s|
|00006330| 70 72 69 6e 74 66 28 62 | 75 66 66 2c 20 22 25 73 |printf(b|uff, "%s|
|00006340| 2f 67 61 74 65 2d 25 73 | 22 2c 20 4f 75 74 44 69 |/gate-%s|", OutDi|
|00006350| 72 2c 20 4d 6c 69 73 74 | 29 3b 0a 58 09 20 20 20 |r, Mlist|);.X. |
|00006360| 20 28 76 6f 69 64 29 75 | 6e 6c 69 6e 6b 28 62 75 | (void)u|nlink(bu|
|00006370| 66 66 29 3b 0a 58 09 20 | 20 20 20 69 66 20 28 28 |ff);.X. | if ((|
|00006380| 46 20 3d 20 66 6f 70 65 | 6e 28 62 75 66 66 2c 20 |F = fope|n(buff, |
|00006390| 22 77 22 29 29 20 3d 3d | 20 4e 55 4c 4c 29 20 7b |"w")) ==| NULL) {|
|000063a0| 0a 58 09 09 46 70 72 69 | 6e 74 66 28 73 74 64 65 |.X..Fpri|ntf(stde|
|000063b0| 72 72 2c 20 22 25 73 3a | 20 20 43 61 6e 27 74 20 |rr, "%s:| Can't |
|000063c0| 6f 70 65 6e 20 5c 22 25 | 73 5c 22 20 66 6f 72 20 |open \"%|s\" for |
|000063d0| 6f 75 74 70 75 74 2c 20 | 25 73 2e 5c 6e 22 2c 0a |output, |%s.\n",.|
|000063e0| 58 09 09 20 20 20 20 50 | 6e 61 6d 65 2c 20 62 75 |X.. P|name, bu|
|000063f0| 66 66 2c 20 73 74 72 65 | 72 72 6f 72 28 65 72 72 |ff, stre|rror(err|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.