home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume4 / uumail3 / part1 next >
SHell self-extracting ARchive  |  1986-11-30  |  41.3 KB

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).

ConfidenceProgramDetectionMatch TypeSupport
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% TrID E-Mail message (Var. 2) 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| 46 72 6f 6d 3a 20 73 6f | 6d 61 21 73 6f 62 0a 4e |From: so|ma!sob.N|
|00000010| 65 77 73 67 72 6f 75 70 | 73 3a 20 6d 6f 64 2e 73 |ewsgroup|s: mod.s|
|00000020| 6f 75 72 63 65 73 0a 53 | 75 62 6a 65 63 74 3a 20 |ources.S|ubject: |
|00000030| 75 75 6d 61 69 6c 20 33 | 2e 30 20 28 50 61 72 74 |uumail 3|.0 (Part|
|00000040| 20 31 20 6f 66 20 32 29 | 0a 41 70 70 72 6f 76 65 | 1 of 2)|.Approve|
|00000050| 64 3a 20 6a 70 6e 40 70 | 61 6e 64 61 2e 55 55 43 |d: jpn@p|anda.UUC|
|00000060| 50 0a 0a 4d 6f 64 2e 73 | 6f 75 72 63 65 73 3a 20 |P..Mod.s|ources: |
|00000070| 20 56 6f 6c 75 6d 65 20 | 34 2c 20 49 73 73 75 65 | Volume |4, Issue|
|00000080| 20 39 31 0a 53 75 62 6d | 69 74 74 65 64 20 62 79 | 91.Subm|itted by|
|00000090| 3a 20 73 6f 6d 61 21 73 | 6f 62 0a 0a 23 21 20 2f |: soma!s|ob..#! /|
|000000a0| 62 69 6e 2f 73 68 0a 23 | 20 54 68 69 73 20 69 73 |bin/sh.#| This is|
|000000b0| 20 61 20 73 68 65 6c 6c | 20 61 72 63 68 69 76 65 | a shell| archive|
|000000c0| 2c 20 6d 65 61 6e 69 6e | 67 3a 0a 23 20 31 2e 20 |, meanin|g:.# 1. |
|000000d0| 52 65 6d 6f 76 65 20 65 | 76 65 72 79 74 68 69 6e |Remove e|verythin|
|000000e0| 67 20 61 62 6f 76 65 20 | 74 68 65 20 23 21 20 2f |g above |the #! /|
|000000f0| 62 69 6e 2f 73 68 20 6c | 69 6e 65 2e 0a 23 20 32 |bin/sh l|ine..# 2|
|00000100| 2e 20 53 61 76 65 20 74 | 68 65 20 72 65 73 75 6c |. Save t|he resul|
|00000110| 74 69 6e 67 20 74 65 78 | 74 20 69 6e 20 61 20 66 |ting tex|t in a f|
|00000120| 69 6c 65 2e 0a 23 20 33 | 2e 20 45 78 65 63 75 74 |ile..# 3|. Execut|
|00000130| 65 20 74 68 65 20 66 69 | 6c 65 20 77 69 74 68 20 |e the fi|le with |
|00000140| 2f 62 69 6e 2f 73 68 20 | 28 6e 6f 74 20 63 73 68 |/bin/sh |(not csh|
|00000150| 29 20 74 6f 20 63 72 65 | 61 74 65 20 74 68 65 20 |) to cre|ate the |
|00000160| 66 69 6c 65 73 3a 0a 23 | 09 52 45 41 44 4d 45 0a |files:.#|.README.|
|00000170| 23 09 64 6f 6d 61 69 6e | 73 0a 23 09 70 61 6c 69 |#.domain|s.#.pali|
|00000180| 61 73 0a 23 09 72 6d 61 | 69 6c 2e 63 0a 23 09 61 |as.#.rma|il.c.#.a|
|00000190| 64 64 72 65 73 73 2e 63 | 0a 23 09 6d 61 6b 65 66 |ddress.c|.#.makef|
|000001a0| 69 6c 65 0a 23 09 75 75 | 78 2e 63 0a 23 09 75 75 |ile.#.uu|x.c.#.uu|
|000001b0| 6d 61 69 6c 2e 31 0a 23 | 09 6f 70 61 74 68 2e 33 |mail.1.#|.opath.3|
|000001c0| 0a 23 09 61 64 64 72 65 | 73 73 2e 31 0a 23 09 41 |.#.addre|ss.1.#.A|
|000001d0| 6c 69 61 73 2e 44 65 73 | 69 67 6e 0a 23 09 53 65 |lias.Des|ign.#.Se|
|000001e0| 6e 64 6d 61 69 6c 0a 23 | 09 42 69 6e 61 72 79 2e |ndmail.#|.Binary.|
|000001f0| 4f 6e 6c 79 0a 23 20 54 | 68 69 73 20 61 72 63 68 |Only.# T|his arch|
|00000200| 69 76 65 20 63 72 65 61 | 74 65 64 3a 20 46 72 69 |ive crea|ted: Fri|
|00000210| 20 4d 61 79 20 20 32 20 | 31 37 3a 34 38 3a 31 30 | May 2 |17:48:10|
|00000220| 20 31 39 38 36 0a 65 78 | 70 6f 72 74 20 50 41 54 | 1986.ex|port PAT|
|00000230| 48 3b 20 50 41 54 48 3d | 2f 62 69 6e 3a 24 50 41 |H; PATH=|/bin:$PA|
|00000240| 54 48 0a 65 63 68 6f 20 | 73 68 61 72 3a 20 65 78 |TH.echo |shar: ex|
|00000250| 74 72 61 63 74 69 6e 67 | 20 22 27 52 45 41 44 4d |tracting| "'READM|
|00000260| 45 27 22 20 27 28 38 31 | 37 37 20 63 68 61 72 61 |E'" '(81|77 chara|
|00000270| 63 74 65 72 73 29 27 0a | 69 66 20 74 65 73 74 20 |cters)'.|if test |
|00000280| 2d 66 20 27 52 45 41 44 | 4d 45 27 0a 74 68 65 6e |-f 'READ|ME'.then|
|00000290| 0a 09 65 63 68 6f 20 73 | 68 61 72 3a 20 77 69 6c |..echo s|har: wil|
|000002a0| 6c 20 6e 6f 74 20 6f 76 | 65 72 2d 77 72 69 74 65 |l not ov|er-write|
|000002b0| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 22 | existin|g file "|
|000002c0| 27 52 45 41 44 4d 45 27 | 22 0a 65 6c 73 65 0a 63 |'README'|".else.c|
|000002d0| 61 74 20 3c 3c 20 5c 53 | 48 41 52 5f 45 4f 46 20 |at << \S|HAR_EOF |
|000002e0| 3e 20 27 52 45 41 44 4d | 45 27 0a 54 68 69 73 20 |> 'READM|E'.This |
|000002f0| 69 73 20 61 6e 20 75 70 | 64 61 74 65 64 20 76 65 |is an up|dated ve|
|00000300| 72 73 69 6f 6e 20 6f 66 | 20 75 75 6d 61 69 6c 20 |rsion of| uumail |
|00000310| 28 61 6e 64 20 75 75 70 | 61 74 68 29 20 74 68 61 |(and uup|ath) tha|
|00000320| 74 20 63 61 6e 20 0a 61 | 63 63 65 73 73 20 61 20 |t can .a|ccess a |
|00000330| 70 61 74 68 61 6c 69 61 | 73 2d 67 65 6e 65 72 61 |pathalia|s-genera|
|00000340| 74 65 64 20 64 61 74 61 | 62 61 73 65 20 74 6f 20 |ted data|base to |
|00000350| 66 61 63 69 6c 69 74 61 | 74 65 20 72 6f 75 74 69 |facilita|te routi|
|00000360| 6e 65 20 6d 61 69 6c 2e | 0a 0a 54 68 65 73 65 20 |ne mail.|..These |
|00000370| 70 72 6f 67 72 61 6d 20 | 63 61 6e 20 63 6f 70 65 |program |can cope|
|00000380| 20 77 69 74 68 20 44 42 | 4d 20 61 6e 64 20 73 74 | with DB|M and st|
|00000390| 61 6e 64 61 72 64 20 6c | 69 6e 65 2d 6f 72 69 65 |andard l|ine-orie|
|000003a0| 6e 74 65 64 20 66 6f 72 | 6d 73 20 6f 66 20 0a 70 |nted for|ms of .p|
|000003b0| 61 74 68 61 6c 69 61 73 | 2d 67 65 6e 65 72 61 74 |athalias|-generat|
|000003c0| 65 64 20 64 61 74 61 62 | 61 73 65 73 2e 0a 0a 54 |ed datab|ases...T|
|000003d0| 68 69 73 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 75 |his vers|ion of u|
|000003e0| 75 6d 61 69 6c 20 63 61 | 6e 20 62 65 20 75 73 65 |umail ca|n be use|
|000003f0| 64 20 61 73 20 75 75 70 | 61 74 68 20 62 79 20 6c |d as uup|ath by l|
|00000400| 69 6e 6b 69 6e 67 20 75 | 75 6d 61 69 6c 20 74 6f |inking u|umail to|
|00000410| 0a 75 75 70 61 74 68 2e | 20 41 6c 73 6f 2c 20 74 |.uupath.| Also, t|
|00000420| 68 69 73 20 76 65 72 73 | 69 6f 6e 20 63 61 6e 20 |his vers|ion can |
|00000430| 68 61 6e 64 6c 65 20 64 | 6f 6d 61 69 6e 20 61 64 |handle d|omain ad|
|00000440| 64 72 65 73 73 65 73 20 | 28 75 73 65 72 40 68 6f |dresses |(user@ho|
|00000450| 73 74 2e 64 6f 6d 61 69 | 6e 29 2e 0a 59 6f 75 20 |st.domai|n)..You |
|00000460| 63 61 6e 20 70 75 74 20 | 61 73 20 6d 61 6e 79 20 |can put |as many |
|00000470| 61 64 64 72 65 73 73 65 | 73 20 6f 6e 20 61 20 6c |addresse|s on a l|
|00000480| 69 6e 65 20 61 73 20 79 | 6f 75 20 6c 69 6b 65 2e |ine as y|ou like.|
|00000490| 0a 0a 54 68 69 73 20 76 | 65 72 73 69 6f 6e 20 70 |..This v|ersion p|
|000004a0| 72 6f 76 69 64 65 73 20 | 61 6e 20 61 6c 69 61 73 |rovides |an alias|
|000004b0| 20 61 6e 64 20 66 6f 72 | 77 61 72 64 69 6e 67 20 | and for|warding |
|000004c0| 66 61 63 69 6c 69 74 79 | 2e 20 46 6f 72 20 64 65 |facility|. For de|
|000004d0| 74 61 69 6c 73 20 6f 6e | 20 0a 61 6c 69 61 73 69 |tails on| .aliasi|
|000004e0| 6e 67 20 73 65 65 20 74 | 68 65 20 66 69 6c 65 20 |ng see t|he file |
|000004f0| 22 41 6c 69 61 73 2e 44 | 65 73 69 67 6e 22 2e 20 |"Alias.D|esign". |
|00000500| 54 68 65 20 66 6f 72 77 | 61 72 64 20 66 61 63 69 |The forw|ard faci|
|00000510| 6c 69 74 79 20 69 73 20 | 73 69 6d 69 6c 69 61 72 |lity is |similiar|
|00000520| 20 74 6f 0a 74 68 65 20 | 6f 6e 65 20 69 6e 20 73 | to.the |one in s|
|00000530| 65 6e 64 6d 61 69 6c 2e | 20 41 20 75 73 65 72 20 |endmail.| A user |
|00000540| 6d 61 79 20 66 6f 72 77 | 61 72 64 20 68 69 73 20 |may forw|ard his |
|00000550| 6d 61 69 6c 20 62 79 20 | 61 64 64 69 6e 67 20 61 |mail by |adding a|
|00000560| 20 66 69 6c 65 20 63 61 | 6c 6c 65 64 0a 22 2e 66 | file ca|lled.".f|
|00000570| 6f 72 77 61 72 64 22 20 | 69 6e 20 68 69 73 20 68 |orward" |in his h|
|00000580| 6f 6d 65 20 64 69 72 65 | 63 74 6f 72 79 2e 20 54 |ome dire|ctory. T|
|00000590| 68 69 73 20 66 69 6c 65 | 20 63 6f 6e 61 74 61 69 |his file| conatai|
|000005a0| 6e 73 20 74 68 65 20 61 | 64 64 72 65 73 73 28 65 |ns the a|ddress(e|
|000005b0| 73 29 20 74 6f 20 77 68 | 69 63 68 0a 6d 61 69 6c |s) to wh|ich.mail|
|000005c0| 20 69 73 20 74 6f 20 62 | 65 20 66 6f 72 77 61 72 | is to b|e forwar|
|000005d0| 64 65 64 2e 20 54 68 65 | 73 65 20 61 64 64 72 65 |ded. The|se addre|
|000005e0| 73 73 65 73 20 61 72 65 | 20 6e 6f 74 20 72 65 70 |sses are| not rep|
|000005f0| 72 6f 63 65 73 73 65 64 | 20 62 79 20 74 68 65 20 |rocessed| by the |
|00000600| 61 6c 69 61 73 69 6e 67 | 0a 73 75 62 72 6f 75 74 |aliasing|.subrout|
|00000610| 69 6e 65 2c 20 62 75 74 | 20 6d 61 79 20 62 65 20 |ine, but| may be |
|00000620| 69 6e 20 64 6f 6d 61 69 | 6e 20 66 6f 72 6d 61 74 |in domai|n format|
|00000630| 20 28 69 66 20 74 68 65 | 20 2d 44 4f 50 41 54 48 | (if the| -DOPATH|
|00000640| 20 66 6c 61 67 20 69 73 | 20 75 73 65 64 20 77 68 | flag is| used wh|
|00000650| 65 6e 0a 63 6f 6d 70 69 | 6c 69 6e 67 20 61 6e 64 |en.compi|ling and|
|00000660| 20 74 68 65 20 2f 75 73 | 72 2f 6c 69 62 2f 75 75 | the /us|r/lib/uu|
|00000670| 63 70 2f 64 6f 6d 61 69 | 6e 73 20 66 69 6c 65 20 |cp/domai|ns file |
|00000680| 69 73 20 63 6f 72 72 65 | 63 74 6c 79 20 63 6f 6e |is corre|ctly con|
|00000690| 66 69 67 75 72 65 64 29 | 2e 0a 0a 54 68 65 72 65 |figured)|...There|
|000006a0| 20 69 73 20 61 6c 73 6f | 20 73 6f 6d 65 20 65 78 | is also| some ex|
|000006b0| 70 65 72 69 6d 65 6e 74 | 61 6c 20 73 65 63 74 69 |periment|al secti|
|000006c0| 6f 6e 73 20 69 6e 20 74 | 68 69 73 20 72 65 6c 65 |ons in t|his rele|
|000006d0| 61 73 65 20 74 68 61 74 | 20 62 69 6e 61 72 79 20 |ase that| binary |
|000006e0| 6f 6e 6c 79 0a 73 69 74 | 65 73 20 6d 69 67 68 74 |only.sit|es might|
|000006f0| 20 6c 69 6b 65 20 74 6f | 20 65 78 70 65 72 69 6d | like to| experim|
|00000700| 65 6e 74 20 77 69 74 68 | 2e 20 53 65 65 20 74 68 |ent with|. See th|
|00000710| 65 20 66 69 6c 65 20 22 | 42 69 6e 61 72 79 2e 4f |e file "|Binary.O|
|00000720| 6e 6c 79 22 20 66 6f 72 | 20 64 65 74 61 69 6c 73 |nly" for| details|
|00000730| 20 6f 6e 0a 74 68 69 73 | 20 65 78 70 65 72 69 6d | on.this| experim|
|00000740| 65 6e 74 2e 0a 0a 54 68 | 65 72 65 20 68 61 73 20 |ent...Th|ere has |
|00000750| 62 65 65 6e 20 73 6f 6d | 65 20 63 6f 6e 66 75 73 |been som|e confus|
|00000760| 69 6f 6e 20 69 6e 20 74 | 68 65 20 70 61 73 74 20 |ion in t|he past |
|00000770| 6f 6e 20 63 6f 6e 66 69 | 67 75 72 69 6e 67 20 75 |on confi|guring u|
|00000780| 75 6d 61 69 6c 20 74 6f | 20 77 6f 72 6b 0a 77 69 |umail to| work.wi|
|00000790| 74 68 20 73 65 6e 64 6d | 61 69 6c 2e 20 53 65 65 |th sendm|ail. See|
|000007a0| 20 74 68 65 20 66 69 6c | 65 20 22 53 65 6e 64 6d | the fil|e "Sendm|
|000007b0| 61 69 6c 22 20 66 6f 72 | 20 69 6e 66 6f 72 6d 61 |ail" for| informa|
|000007c0| 74 69 6f 6e 20 6f 6e 20 | 74 68 69 73 2e 0a 0a 20 |tion on |this... |
|000007d0| 2a 20 20 20 20 49 46 20 | 59 4f 55 20 41 52 45 20 |* IF |YOU ARE |
|000007e0| 55 53 49 4e 47 20 41 20 | 44 42 4d 20 44 41 54 41 |USING A |DBM DATA|
|000007f0| 42 41 53 45 2c 20 52 45 | 41 44 20 54 48 49 53 21 |BASE, RE|AD THIS!|
|00000800| 0a 20 2a 20 20 20 20 49 | 66 20 74 68 65 20 73 70 |. * I|f the sp|
|00000810| 65 63 69 61 6c 20 73 65 | 6e 74 69 6e 65 6c 20 76 |ecial se|ntinel v|
|00000820| 61 6c 75 65 20 6f 66 20 | 40 40 40 20 69 73 20 6e |alue of |@@@ is n|
|00000830| 6f 74 20 70 72 65 73 65 | 6e 74 20 69 6e 20 74 68 |ot prese|nt in th|
|00000840| 65 0a 20 2a 20 20 20 20 | 64 61 74 61 62 61 73 65 |e. * |database|
|00000850| 2c 20 74 68 65 6e 20 67 | 65 74 70 61 74 68 20 77 |, then g|etpath w|
|00000860| 69 6c 6c 20 61 73 73 75 | 6d 65 64 20 74 68 61 74 |ill assu|med that|
|00000870| 20 74 68 65 20 64 61 74 | 61 62 61 73 65 20 69 73 | the dat|abase is|
|00000880| 20 62 65 69 6e 67 0a 20 | 2a 20 20 20 20 72 65 62 | being. |* reb|
|00000890| 75 69 6c 74 20 61 6e 64 | 20 77 69 6c 6c 20 62 6c |uilt and| will bl|
|000008a0| 6f 63 6b 20 66 6f 72 20 | 54 49 4d 45 4f 55 54 20 |ock for |TIMEOUT |
|000008b0| 28 64 65 66 61 75 6c 74 | 20 3d 20 31 38 30 29 20 |(default| = 180) |
|000008c0| 73 65 63 6f 6e 64 73 2e | 20 20 0a 20 2a 20 20 20 |seconds.| . * |
|000008d0| 20 49 66 2c 20 61 66 74 | 65 72 20 35 20 73 75 63 | If, aft|er 5 suc|
|000008e0| 68 20 62 6c 6f 63 6b 73 | 2c 20 74 68 65 20 73 65 |h blocks|, the se|
|000008f0| 6e 74 69 6e 65 6c 20 69 | 73 20 6e 6f 74 20 70 72 |ntinel i|s not pr|
|00000900| 65 73 65 6e 74 2c 0a 20 | 2a 20 20 20 20 74 68 65 |esent,. |* the|
|00000910| 20 65 72 72 6f 72 20 63 | 6f 64 65 20 45 58 5f 54 | error c|ode EX_T|
|00000920| 45 4d 50 46 41 49 4c 20 | 69 73 20 72 65 74 75 72 |EMPFAIL |is retur|
|00000930| 6e 65 64 2e 0a 20 2a 20 | 20 20 20 54 68 65 20 73 |ned.. * | The s|
|00000940| 61 6d 65 20 69 73 20 74 | 72 75 65 20 69 66 20 74 |ame is t|rue if t|
|00000950| 68 65 20 64 62 6d 20 66 | 69 6c 65 73 20 63 61 6e |he dbm f|iles can|
|00000960| 6e 6f 74 20 62 65 20 69 | 6e 69 74 69 61 6c 69 7a |not be i|nitializ|
|00000970| 65 64 2e 0a 20 2a 20 20 | 20 20 50 6c 65 61 73 65 |ed.. * | Please|
|00000980| 20 62 65 20 73 75 72 65 | 20 74 6f 20 61 64 64 20 | be sure| to add |
|00000990| 74 68 65 20 73 65 6e 74 | 69 6e 61 6c 20 74 6f 20 |the sent|inal to |
|000009a0| 74 68 65 20 44 42 4d 20 | 64 61 74 61 62 61 73 65 |the DBM |database|
|000009b0| 20 77 68 65 6e 0a 20 2a | 20 20 20 20 69 74 20 69 | when. *| it i|
|000009c0| 73 20 63 72 65 61 74 65 | 64 2e 0a 20 2a 20 20 20 |s create|d.. * |
|000009d0| 20 54 6f 20 61 64 64 20 | 74 68 65 20 73 65 6e 74 | To add |the sent|
|000009e0| 69 6e 65 6c 2c 20 75 73 | 65 20 74 68 65 20 22 6d |inel, us|e the "m|
|000009f0| 61 6b 65 64 62 22 20 63 | 6f 6d 6d 61 6e 64 2e 0a |akedb" c|ommand..|
|00000a00| 20 2a 20 20 20 20 6d 61 | 6b 65 64 62 20 2d 61 20 | * ma|kedb -a |
|00000a10| 64 62 72 6f 6f 74 6e 61 | 6d 65 20 3c 20 40 40 40 |dbrootna|me < @@@|
|00000a20| 0a 20 2a 20 20 20 20 73 | 68 6f 75 6c 64 20 61 70 |. * s|hould ap|
|00000a30| 70 65 6e 64 20 74 68 65 | 20 73 65 6e 74 69 6e 65 |pend the| sentine|
|00000a40| 6c 20 74 6f 20 74 68 65 | 20 64 61 74 61 62 61 73 |l to the| databas|
|00000a50| 65 2e 0a 0a 54 68 65 72 | 65 20 61 72 65 20 73 6f |e...Ther|e are so|
|00000a60| 6d 65 20 63 6f 6d 70 69 | 6c 65 20 66 6c 61 67 73 |me compi|le flags|
|00000a70| 20 74 6f 20 62 65 20 61 | 77 61 72 65 20 6f 66 20 | to be a|ware of |
|00000a80| 77 68 65 6e 20 6d 61 6b | 69 6e 67 20 75 75 6d 61 |when mak|ing uuma|
|00000a90| 69 6c 2e 0a 57 68 65 6e | 20 64 65 66 69 6e 69 6e |il..When| definin|
|00000aa0| 67 20 74 68 65 73 65 2c | 20 70 6c 61 63 65 20 74 |g these,| place t|
|00000ab0| 68 65 6d 20 6f 6e 20 74 | 68 65 20 4f 50 54 49 4f |hem on t|he OPTIO|
|00000ac0| 4e 53 20 6c 69 6e 65 20 | 69 6e 20 74 68 65 20 6d |NS line |in the m|
|00000ad0| 61 6b 65 66 69 6c 65 2e | 0a 48 65 72 65 20 69 73 |akefile.|.Here is|
|00000ae0| 20 61 20 6c 69 73 74 20 | 6f 66 20 74 68 65 6d 2e | a list |of them.|
|00000af0| 0a 0a 44 45 42 55 47 20 | 63 6f 6d 70 69 6c 65 73 |..DEBUG |compiles|
|00000b00| 20 69 6e 20 74 68 65 20 | 64 65 62 75 67 67 69 6e | in the |debuggin|
|00000b10| 67 20 63 6f 64 65 2e 0a | 4f 50 41 54 48 20 63 61 |g code..|OPATH ca|
|00000b20| 75 73 65 73 20 74 68 65 | 20 6f 70 61 74 68 20 73 |uses the| opath s|
|00000b30| 75 62 72 6f 75 74 69 6e | 65 20 74 6f 20 62 65 20 |ubroutin|e to be |
|00000b40| 75 73 65 64 20 74 6f 20 | 72 65 73 6f 6c 76 65 20 |used to |resolve |
|00000b50| 61 64 64 72 65 73 73 65 | 73 2e 0a 49 66 20 79 6f |addresse|s..If yo|
|00000b60| 75 20 64 6f 20 6e 6f 74 | 20 75 73 65 20 74 68 69 |u do not| use thi|
|00000b70| 73 20 66 6c 61 67 2c 20 | 79 6f 75 20 63 61 6e 6e |s flag, |you cann|
|00000b80| 6f 74 20 75 73 65 20 74 | 68 65 20 75 73 65 72 40 |ot use t|he user@|
|00000b90| 68 6f 73 74 2e 64 6f 6d | 61 69 6e 20 73 74 79 6c |host.dom|ain styl|
|00000ba0| 65 0a 61 64 64 72 65 73 | 73 65 73 20 77 69 74 68 |e.addres|ses with|
|00000bb0| 20 75 75 6d 61 69 6c 2e | 0a 44 42 4d 20 63 61 75 | uumail.|.DBM cau|
|00000bc0| 73 65 73 20 75 75 6d 61 | 69 6c 20 74 6f 20 75 73 |ses uuma|il to us|
|00000bd0| 65 20 74 68 65 20 44 42 | 4d 20 66 6f 72 6d 61 74 |e the DB|M format|
|00000be0| 20 70 61 74 61 6c 69 61 | 73 20 64 61 74 61 62 61 | patalia|s databa|
|00000bf0| 73 65 2e 20 49 66 20 79 | 6f 75 20 64 6f 20 6e 6f |se. If y|ou do no|
|00000c00| 74 0a 68 61 76 65 20 74 | 68 65 20 64 62 6d 20 6c |t.have t|he dbm l|
|00000c10| 69 62 72 61 72 69 65 73 | 2c 20 64 6f 20 6e 6f 74 |ibraries|, do not|
|00000c20| 20 75 73 65 20 74 68 69 | 73 20 66 6c 61 67 2e 0a | use thi|s flag..|
|00000c30| 53 59 53 49 49 49 20 77 | 69 6c 6c 20 6d 61 6b 65 |SYSIII w|ill make|
|00000c40| 20 61 64 6a 75 73 74 6d | 65 6e 74 73 20 66 6f 72 | adjustm|ents for|
|00000c50| 20 73 79 73 74 65 6d 20 | 74 68 61 74 20 61 72 65 | system |that are|
|00000c60| 20 64 65 72 69 76 65 64 | 20 66 72 6f 6d 20 55 4e | derived| from UN|
|00000c70| 49 58 20 53 79 73 74 65 | 6d 0a 49 49 49 20 6f 72 |IX Syste|m.III or|
|00000c80| 20 53 79 73 74 65 6d 20 | 56 2e 0a 4e 4f 47 52 41 | System |V..NOGRA|
|00000c90| 44 45 20 73 68 6f 75 6c | 64 20 62 65 20 75 73 65 |DE shoul|d be use|
|00000ca0| 64 20 69 66 20 79 6f 75 | 72 20 75 75 78 20 64 6f |d if you|r uux do|
|00000cb0| 65 73 20 6e 6f 74 20 75 | 6e 64 65 72 73 74 61 6e |es not u|nderstan|
|00000cc0| 64 20 74 68 65 20 2d 67 | 20 66 6c 61 67 2e 0a 4e |d the -g| flag..N|
|00000cd0| 4f 52 45 54 55 52 4e 20 | 73 68 6f 75 6c 64 20 62 |ORETURN |should b|
|00000ce0| 65 20 75 73 65 64 20 69 | 66 20 79 6f 75 72 20 75 |e used i|f your u|
|00000cf0| 75 78 20 64 6f 65 73 20 | 6e 6f 74 20 75 6e 64 65 |ux does |not unde|
|00000d00| 72 73 74 61 6e 64 20 74 | 68 65 20 2d 61 20 66 6c |rstand t|he -a fl|
|00000d10| 61 67 2e 0a 4c 4f 47 20 | 77 69 6c 6c 20 65 6e 61 |ag..LOG |will ena|
|00000d20| 62 6c 65 20 6c 6f 67 67 | 69 6e 67 20 6f 66 20 75 |ble logg|ing of u|
|00000d30| 75 6d 61 69 6c 20 74 72 | 61 66 66 69 63 20 28 62 |umail tr|affic (b|
|00000d40| 65 20 73 75 72 65 20 74 | 68 61 74 20 74 68 65 20 |e sure t|hat the |
|00000d50| 66 69 6c 65 0a 79 6f 75 | 20 73 70 65 63 69 66 79 |file.you| specify|
|00000d60| 20 69 6e 20 75 75 63 6f | 6e 66 2e 68 20 69 73 20 | in uuco|nf.h is |
|00000d70| 77 6f 72 6c 64 20 77 72 | 69 74 61 62 6c 65 20 6f |world wr|itable o|
|00000d80| 72 20 74 68 69 73 20 6f | 70 74 69 6f 6e 20 77 69 |r this o|ption wi|
|00000d90| 6c 6c 20 6e 6f 74 20 77 | 6f 72 6b 29 2e 0a 55 47 |ll not w|ork)..UG|
|00000da0| 4c 59 55 55 43 50 20 63 | 61 75 73 65 73 20 74 68 |LYUUCP c|auses th|
|00000db0| 65 20 46 72 6f 6d 5f 20 | 6c 69 6e 65 20 70 72 6f |e From_ |line pro|
|00000dc0| 64 75 63 65 64 20 62 79 | 20 75 75 6d 61 69 6c 20 |duced by| uumail |
|00000dd0| 74 6f 20 63 6f 6e 74 61 | 69 6e 20 74 68 65 0a 22 |to conta|in the."|
|00000de0| 72 65 6d 6f 74 65 20 66 | 72 6f 6d 20 68 6f 73 74 |remote f|rom host|
|00000df0| 6e 61 6d 65 22 20 73 74 | 72 69 6e 67 2e 20 54 68 |name" st|ring. Th|
|00000e00| 69 73 20 69 73 20 75 73 | 75 61 6c 6c 79 20 6e 65 |is is us|ually ne|
|00000e10| 63 65 73 73 61 72 79 20 | 66 6f 72 20 72 65 6c 69 |cessary |for reli|
|00000e20| 61 62 6c 65 0a 75 73 65 | 20 6f 66 20 75 75 6d 61 |able.use| of uuma|
|00000e30| 69 6c 20 65 73 70 65 63 | 69 61 6c 6c 79 20 6f 6e |il espec|ially on|
|00000e40| 20 53 59 53 56 20 61 6e | 64 20 56 37 20 6d 61 63 | SYSV an|d V7 mac|
|00000e50| 68 69 6e 65 73 2e 0a 47 | 45 54 48 4f 53 54 4e 41 |hines..G|ETHOSTNA|
|00000e60| 4d 45 20 77 69 6c 6c 20 | 63 61 75 73 65 20 74 68 |ME will |cause th|
|00000e70| 65 20 73 79 73 74 65 6d | 20 63 61 6c 6c 20 67 65 |e system| call ge|
|00000e80| 74 68 6f 73 74 6e 61 6d | 65 20 74 6f 20 62 65 20 |thostnam|e to be |
|00000e90| 75 73 65 64 2e 20 49 66 | 20 79 6f 75 0a 61 72 65 |used. If| you.are|
|00000ea0| 20 61 20 42 53 44 20 73 | 69 74 65 2c 20 64 65 66 | a BSD s|ite, def|
|00000eb0| 69 6e 65 20 74 68 69 73 | 2e 0a 53 59 53 54 45 4d |ine this|..SYSTEM|
|00000ec0| 4e 41 4d 45 20 77 69 6c | 6c 20 63 61 75 73 65 20 |NAME wil|l cause |
|00000ed0| 74 68 65 20 73 79 73 74 | 65 6d 6e 61 6d 65 20 74 |the syst|emname t|
|00000ee0| 6f 20 62 65 20 64 65 72 | 69 76 65 64 20 66 72 6f |o be der|ived fro|
|00000ef0| 6d 20 74 68 65 20 66 69 | 6c 65 0a 2f 75 73 72 2f |m the fi|le./usr/|
|00000f00| 6c 69 62 2f 75 75 63 70 | 2f 53 59 53 54 45 4d 4e |lib/uucp|/SYSTEMN|
|00000f10| 41 4d 45 2e 20 54 68 69 | 73 20 73 68 6f 75 6c 64 |AME. Thi|s should|
|00000f20| 20 62 65 20 64 65 66 69 | 6e 65 64 20 69 66 20 79 | be defi|ned if y|
|00000f30| 6f 75 72 20 6d 61 63 68 | 69 6e 65 0a 69 73 20 61 |our mach|ine.is a|
|00000f40| 20 53 70 65 72 72 79 20 | 35 30 30 30 2e 0a 53 4f | Sperry |5000..SO|
|00000f50| 52 54 45 44 20 77 69 6c | 6c 20 63 61 75 73 65 20 |RTED wil|l cause |
|00000f60| 74 68 65 20 6e 6f 6e 2d | 44 42 4d 20 64 61 74 61 |the non-|DBM data|
|00000f70| 62 61 73 65 20 74 6f 20 | 62 65 20 73 65 61 72 63 |base to |be searc|
|00000f80| 68 65 64 20 66 61 73 74 | 65 64 2c 20 42 55 54 0a |hed fast|ed, BUT.|
|00000f90| 69 74 20 61 73 73 75 6d | 65 73 20 74 68 61 74 20 |it assum|es that |
|00000fa0| 74 68 69 73 20 64 61 74 | 61 62 61 73 65 20 69 73 |this dat|abase is|
|00000fb0| 20 53 4f 52 54 45 44 2e | 20 49 66 20 79 6f 75 20 | SORTED.| If you |
|00000fc0| 64 6f 20 6e 6f 74 20 73 | 6f 72 74 20 79 6f 75 72 |do not s|ort your|
|00000fd0| 0a 64 61 74 61 62 61 73 | 65 2c 20 64 6f 20 6e 6f |.databas|e, do no|
|00000fe0| 74 20 64 65 66 69 6e 65 | 20 74 68 69 73 2e 0a 4e |t define| this..N|
|00000ff0| 4f 41 4c 49 41 53 20 77 | 69 6c 6c 20 6e 6f 74 20 |OALIAS w|ill not |
|00001000| 63 6f 6d 70 69 6c 65 20 | 69 6e 20 74 68 65 20 41 |compile |in the A|
|00001010| 6c 69 61 73 69 6e 67 20 | 61 6e 64 20 46 6f 72 77 |liasing |and Forw|
|00001020| 61 72 64 20 66 61 63 69 | 6c 69 74 69 65 73 2e 0a |ard faci|lities..|
|00001030| 59 6f 75 20 70 72 6f 62 | 61 62 6c 79 20 77 61 6e |You prob|ably wan|
|00001040| 74 20 74 6f 20 64 65 66 | 69 6e 65 20 74 68 69 73 |t to def|ine this|
|00001050| 20 69 66 20 79 6f 75 20 | 61 72 65 20 72 75 6e 6e | if you |are runn|
|00001060| 69 6e 67 20 73 65 6e 64 | 6d 61 69 6c 20 6f 72 20 |ing send|mail or |
|00001070| 73 6f 6d 65 0a 6f 74 68 | 65 72 20 6d 61 69 6c 65 |some.oth|er maile|
|00001080| 72 20 74 68 61 74 20 61 | 6c 72 65 61 64 79 20 64 |r that a|lready d|
|00001090| 6f 65 73 20 74 68 69 73 | 2e 0a 4f 50 49 4d 49 5a |oes this|..OPIMIZ|
|000010a0| 45 20 77 69 6c 6c 20 61 | 74 74 65 6d 70 74 20 74 |E will a|ttempt t|
|000010b0| 6f 20 73 65 6e 64 20 6d | 61 69 6c 20 62 79 20 61 |o send m|ail by a|
|000010c0| 20 22 6d 6f 72 65 20 6f | 70 74 69 6d 61 6c 22 20 | "more o|ptimal" |
|000010d0| 70 61 74 68 2e 20 54 68 | 69 73 0a 69 73 20 65 78 |path. Th|is.is ex|
|000010e0| 70 65 72 69 6d 65 6e 74 | 61 6c 2e 0a 52 46 43 39 |periment|al..RFC9|
|000010f0| 37 36 20 77 69 6c 6c 20 | 63 61 75 73 65 20 75 75 |76 will |cause uu|
|00001100| 6d 61 69 6c 20 74 6f 20 | 62 65 68 61 76 65 20 61 |mail to |behave a|
|00001110| 73 20 61 20 43 4c 41 53 | 53 20 33 20 6d 61 69 6c |s a CLAS|S 3 mail|
|00001120| 65 72 20 61 73 20 64 65 | 66 69 6e 65 64 20 69 6e |er as de|fined in|
|00001130| 20 0a 52 46 43 39 37 36 | 2e 20 44 65 66 69 6e 69 | .RFC976|. Defini|
|00001140| 6e 67 20 74 68 69 73 20 | 66 6c 61 67 20 6d 61 79 |ng this |flag may|
|00001150| 20 63 61 75 73 65 20 79 | 6f 75 72 20 6d 61 69 6c | cause y|our mail|
|00001160| 20 74 6f 20 62 65 68 61 | 76 65 20 64 69 66 66 65 | to beha|ve diffe|
|00001170| 72 65 6e 74 6c 79 0a 74 | 68 61 6e 20 69 74 20 68 |rently.t|han it h|
|00001180| 61 73 20 69 6e 20 74 68 | 65 20 70 61 73 74 20 28 |as in th|e past (|
|00001190| 70 61 72 74 69 63 75 6c | 61 72 6c 79 20 69 66 20 |particul|arly if |
|000011a0| 79 6f 75 20 61 72 65 20 | 61 20 55 55 43 50 2d 6f |you are |a UUCP-o|
|000011b0| 6e 6c 79 20 73 69 74 65 | 29 2e 20 50 6c 65 61 73 |nly site|). Pleas|
|000011c0| 65 0a 62 65 20 73 75 72 | 65 20 74 6f 20 72 65 61 |e.be sur|e to rea|
|000011d0| 64 20 74 68 65 20 52 46 | 43 20 63 61 72 65 66 75 |d the RF|C carefu|
|000011e0| 6c 6c 79 20 74 6f 20 75 | 6e 64 65 72 73 74 61 6e |lly to u|nderstan|
|000011f0| 64 20 74 68 65 20 64 69 | 66 66 65 72 65 6e 63 65 |d the di|fference|
|00001200| 73 20 62 65 74 77 65 65 | 6e 0a 74 68 65 20 64 69 |s betwee|n.the di|
|00001210| 66 66 65 72 65 6e 74 20 | 63 6c 61 73 73 20 6f 66 |fferent |class of|
|00001220| 20 6d 61 69 6c 65 72 73 | 2e 20 53 65 65 20 6d 6f | mailers|. See mo|
|00001230| 72 65 20 6f 6e 20 74 68 | 69 73 20 62 65 6c 6f 77 |re on th|is below|
|00001240| 2e 0a 0a 54 68 65 72 65 | 20 61 72 65 20 73 6f 6d |...There| are som|
|00001250| 65 20 6f 74 68 65 72 20 | 69 74 65 6d 73 20 74 68 |e other |items th|
|00001260| 61 74 20 73 68 6f 75 6c | 64 20 62 65 20 6e 6f 74 |at shoul|d be not|
|00001270| 65 64 20 77 68 65 6e 20 | 63 6f 6e 66 69 67 75 72 |ed when |configur|
|00001280| 69 6e 67 20 75 75 6d 61 | 69 6c 2e 0a 49 6e 20 74 |ing uuma|il..In t|
|00001290| 68 65 20 6d 61 6b 65 66 | 69 6c 65 2c 20 73 65 74 |he makef|ile, set|
|000012a0| 20 55 55 4d 41 49 4c 20 | 65 71 75 61 6c 20 74 6f | UUMAIL |equal to|
|000012b0| 20 74 68 65 20 6c 6f 63 | 61 74 69 6f 6e 20 6f 66 | the loc|ation of|
|000012c0| 20 74 68 65 20 75 75 6d | 61 69 6c 20 70 72 6f 67 | the uum|ail prog|
|000012d0| 72 61 6d 0a 6f 6e 20 79 | 6f 75 72 20 73 79 73 74 |ram.on y|our syst|
|000012e0| 65 6d 20 46 4f 4c 4c 4f | 57 49 4e 47 20 49 4e 53 |em FOLLO|WING INS|
|000012f0| 54 41 4c 4c 41 54 49 4f | 4e 21 20 53 65 74 20 52 |TALLATIO|N! Set R|
|00001300| 45 41 4c 55 55 58 20 65 | 71 75 61 6c 20 74 6f 20 |EALUUX e|qual to |
|00001310| 74 68 65 20 6c 6f 63 61 | 74 69 6f 6e 0a 6f 66 20 |the loca|tion.of |
|00001320| 74 68 65 20 75 75 78 20 | 70 72 6f 67 72 61 6d 2e |the uux |program.|
|00001330| 20 54 68 69 73 20 77 69 | 6c 6c 20 62 65 20 2f 75 | This wi|ll be /u|
|00001340| 73 72 2f 62 69 6e 2f 75 | 75 78 20 6f 6e 20 6d 6f |sr/bin/u|ux on mo|
|00001350| 73 74 20 73 79 73 74 65 | 6d 73 2e 20 42 69 6e 61 |st syste|ms. Bina|
|00001360| 72 79 0a 6f 6e 6c 79 20 | 73 69 74 65 20 73 68 6f |ry.only |site sho|
|00001370| 75 6c 64 20 63 68 65 63 | 6b 20 74 68 65 20 22 42 |uld chec|k the "B|
|00001380| 69 6e 61 72 79 2e 4f 6e | 6c 79 22 20 66 69 6c 65 |inary.On|ly" file|
|00001390| 20 66 6f 72 20 6d 6f 72 | 65 20 69 6e 66 6f 72 6d | for mor|e inform|
|000013a0| 61 74 69 6f 6e 20 6f 6e | 0a 74 68 65 20 75 73 65 |ation on|.the use|
|000013b0| 20 6f 66 20 74 68 69 73 | 20 73 79 6d 62 6f 6c 2e | of this| symbol.|
|000013c0| 20 42 49 4e 44 49 52 20 | 73 68 6f 75 6c 64 20 62 | BINDIR |should b|
|000013d0| 65 20 73 65 74 20 74 6f | 20 74 68 65 20 64 69 72 |e set to| the dir|
|000013e0| 65 63 74 6f 72 79 20 79 | 6f 75 20 77 61 6e 74 0a |ectory y|ou want.|
|000013f0| 74 68 65 20 61 64 64 72 | 65 73 73 20 61 6e 64 20 |the addr|ess and |
|00001400| 75 75 70 61 74 68 20 70 | 72 6f 67 72 61 6d 20 74 |uupath p|rogram t|
|00001410| 6f 20 67 6f 2c 20 75 73 | 75 61 6c 6c 79 20 2f 75 |o go, us|ually /u|
|00001420| 73 72 2f 75 63 62 2c 20 | 2f 75 73 72 2f 6c 6f 63 |sr/ucb, |/usr/loc|
|00001430| 61 6c 2c 20 6f 72 0a 2f | 75 73 72 2f 6c 62 69 6e |al, or./|usr/lbin|
|00001440| 2e 0a 0a 49 66 20 79 6f | 75 20 77 61 6e 74 20 74 |...If yo|u want t|
|00001450| 6f 20 69 6e 73 74 61 6c | 6c 20 74 68 69 73 20 73 |o instal|l this s|
|00001460| 79 73 74 65 6d 2c 20 75 | 73 65 20 22 6d 61 6b 65 |ystem, u|se "make|
|00001470| 20 69 6e 73 74 61 6c 6c | 22 2e 20 49 66 20 79 6f | install|". If yo|
|00001480| 75 20 77 61 6e 74 0a 74 | 6f 20 68 61 76 65 20 69 |u want.t|o have i|
|00001490| 74 20 64 6f 20 61 6c 6c | 20 74 68 65 20 77 6f 72 |t do all| the wor|
|000014a0| 6b 20 66 6f 72 20 69 6e | 63 6f 6d 69 6e 67 20 6d |k for in|coming m|
|000014b0| 61 69 6c 2c 20 74 79 70 | 65 20 22 6d 61 6b 65 20 |ail, typ|e "make |
|000014c0| 6d 61 69 6c 65 72 22 2e | 20 59 6f 75 0a 70 72 6f |mailer".| You.pro|
|000014d0| 62 61 62 6c 79 20 64 6f | 20 6e 6f 74 20 77 61 6e |bably do| not wan|
|000014e0| 74 20 74 6f 20 22 6d 61 | 6b 65 20 6d 61 69 6c 65 |t to "ma|ke maile|
|000014f0| 72 22 20 69 66 20 79 6f | 75 20 72 75 6e 20 73 65 |r" if yo|u run se|
|00001500| 6e 64 6d 61 69 6c 2e 0a | 0a 41 20 6d 61 6e 75 61 |ndmail..|.A manua|
|00001510| 6c 20 70 61 67 65 20 66 | 6f 72 20 61 64 64 72 65 |l page f|or addre|
|00001520| 73 73 2c 20 6f 70 61 74 | 68 2c 20 75 75 6d 61 69 |ss, opat|h, uumai|
|00001530| 6c 20 61 6e 64 20 75 75 | 70 61 74 68 20 61 72 65 |l and uu|path are|
|00001540| 20 69 6e 63 6c 75 64 65 | 64 2e 0a 0a 0a 52 46 43 | include|d....RFC|
|00001550| 39 37 36 20 43 6f 6d 70 | 6c 69 61 6e 63 65 20 6e |976 Comp|liance n|
|00001560| 6f 74 65 73 0a 0a 55 75 | 6d 61 69 6c 20 69 73 20 |otes..Uu|mail is |
|00001570| 63 61 70 61 62 6c 65 20 | 6f 66 20 73 61 74 69 73 |capable |of satis|
|00001580| 66 79 69 6e 67 20 43 6c | 61 73 73 20 33 20 72 65 |fying Cl|ass 3 re|
|00001590| 71 75 69 72 65 6d 65 6e | 74 73 20 61 73 20 73 70 |quiremen|ts as sp|
|000015a0| 65 63 69 66 69 65 64 20 | 69 6e 0a 52 46 43 39 37 |ecified |in.RFC97|
|000015b0| 36 2e 20 49 74 20 63 61 | 6e 20 61 6c 73 6f 20 62 |6. It ca|n also b|
|000015c0| 65 20 63 6f 6d 70 69 6c | 65 64 20 74 6f 20 73 61 |e compil|ed to sa|
|000015d0| 74 69 73 66 79 20 43 6c | 61 73 73 20 32 20 61 6e |tisfy Cl|ass 2 an|
|000015e0| 64 20 43 6c 61 73 73 20 | 31 20 72 65 71 75 69 72 |d Class |1 requir|
|000015f0| 65 6d 65 6e 74 73 0a 6f | 6e 6c 79 2e 20 48 65 72 |ements.o|nly. Her|
|00001600| 65 20 61 72 65 20 74 68 | 65 20 61 70 70 72 6f 70 |e are th|e approp|
|00001610| 72 69 61 74 65 20 63 6f | 6d 70 69 6c 65 20 74 69 |riate co|mpile ti|
|00001620| 6d 65 20 66 6c 61 67 73 | 20 66 6f 72 20 63 6f 6d |me flags| for com|
|00001630| 70 6c 69 61 6e 63 65 20 | 77 69 74 68 0a 77 69 74 |pliance |with.wit|
|00001640| 68 20 74 68 65 20 74 68 | 72 65 65 20 63 6c 61 73 |h the th|ree clas|
|00001650| 73 65 73 3b 20 74 68 65 | 73 65 20 61 72 65 20 6f |ses; the|se are o|
|00001660| 6e 6c 79 20 74 68 65 20 | 66 6c 61 67 73 20 6e 65 |nly the |flags ne|
|00001670| 63 65 73 73 61 72 79 20 | 74 6f 20 6d 61 6b 65 20 |cessary |to make |
|00001680| 0a 75 75 6d 61 69 6c 20 | 70 65 72 66 6f 72 6d 20 |.uumail |perform |
|00001690| 69 6e 20 61 20 70 61 72 | 74 69 63 75 6c 61 72 20 |in a par|ticular |
|000016a0| 63 6c 61 73 73 2e 20 4f | 74 68 65 72 20 66 6c 61 |class. O|ther fla|
|000016b0| 67 73 20 6d 61 79 20 62 | 65 20 6e 65 65 64 65 64 |gs may b|e needed|
|000016c0| 20 74 6f 20 75 73 65 0a | 74 68 65 20 64 62 6d 2d | to use.|the dbm-|
|000016d0| 74 79 70 65 20 64 61 74 | 61 62 61 73 65 20 61 6e |type dat|abase an|
|000016e0| 64 20 6f 74 68 65 72 20 | 6f 70 74 69 6f 6e 73 2e |d other |options.|
|000016f0| 20 49 74 20 73 68 6f 75 | 6c 64 20 62 65 20 6e 6f | It shou|ld be no|
|00001700| 74 65 64 20 74 68 61 74 | 20 65 61 63 68 0a 68 69 |ted that| each.hi|
|00001710| 67 68 65 72 20 6e 75 6d | 62 65 72 65 64 20 63 6c |gher num|bered cl|
|00001720| 61 73 73 20 69 73 20 61 | 20 73 75 70 65 72 73 65 |ass is a| superse|
|00001730| 74 20 6f 66 20 74 68 65 | 20 6c 6f 77 65 72 20 6e |t of the| lower n|
|00001740| 75 6d 62 65 72 65 64 20 | 63 6c 61 73 73 2c 0a 73 |umbered |class,.s|
|00001750| 6f 20 69 66 20 79 6f 75 | 20 61 72 65 20 61 20 63 |o if you| are a c|
|00001760| 6c 61 73 73 20 33 20 79 | 6f 75 20 77 69 6c 6c 20 |lass 3 y|ou will |
|00001770| 61 75 74 6f 6d 61 74 69 | 63 61 6c 6c 79 20 63 6f |automati|cally co|
|00001780| 6d 70 6c 79 20 77 69 74 | 68 20 43 6c 61 73 73 65 |mply wit|h Classe|
|00001790| 73 20 31 0a 61 6e 64 20 | 32 2e 20 54 68 65 20 66 |s 1.and |2. The f|
|000017a0| 6f 6c 6c 6f 77 69 6e 67 | 20 69 73 20 65 78 63 65 |ollowing| is exce|
|000017b0| 72 70 74 65 64 20 66 72 | 6f 6d 20 74 68 65 20 52 |rpted fr|om the R|
|000017c0| 46 43 39 37 36 20 64 6f | 63 75 6d 65 6e 74 2e 0a |FC976 do|cument..|
|000017d0| 0a 0a 20 20 20 43 6c 61 | 73 73 20 31 20 20 20 6f |.. Cla|ss 1 o|
|000017e0| 6c 64 2d 73 74 79 6c 65 | 20 55 55 43 50 20 21 20 |ld-style| UUCP ! |
|000017f0| 72 6f 75 74 69 6e 67 20 | 6f 6e 6c 79 2e 20 20 57 |routing |only. W|
|00001800| 65 20 61 73 73 75 6d 65 | 20 74 68 61 74 20 74 68 |e assume| that th|
|00001810| 65 20 68 6f 73 74 0a 20 | 20 20 20 20 20 20 20 20 |e host. | |
|00001820| 20 20 20 20 75 6e 64 65 | 72 73 74 61 6e 64 73 20 | unde|rstands |
|00001830| 6c 6f 63 61 6c 20 75 73 | 65 72 20 6e 61 6d 65 73 |local us|er names|
|00001840| 3a 0a 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |:.. | |
|00001850| 20 20 20 20 20 72 6d 61 | 69 6c 20 75 73 65 72 0a | rma|il user.|
|00001860| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 61 6e |. | an|
|00001870| 64 20 62 61 6e 67 20 70 | 61 74 68 73 0a 0a 20 20 |d bang p|aths.. |
|00001880| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001890| 72 6d 61 69 6c 20 68 6f | 73 74 31 21 68 6f 73 74 |rmail ho|st1!host|
|000018a0| 32 21 75 73 65 72 0a 0a | 20 20 20 20 20 20 20 20 |2!user..| |
|000018b0| 20 20 20 20 20 62 75 74 | 20 77 65 20 61 73 73 75 | but| we assu|
|000018c0| 6d 65 20 6e 6f 74 68 69 | 6e 67 20 6d 6f 72 65 20 |me nothi|ng more |
|000018d0| 61 62 6f 75 74 20 74 68 | 65 20 68 6f 73 74 2e 20 |about th|e host. |
|000018e0| 20 49 66 20 77 65 20 68 | 61 76 65 0a 20 20 20 20 | If we h|ave. |
|000018f0| 20 20 20 20 20 20 20 20 | 20 6e 6f 20 69 6e 66 6f | | no info|
|00001900| 72 6d 61 74 69 6f 6e 20 | 61 62 6f 75 74 20 61 20 |rmation |about a |
|00001910| 68 6f 73 74 2c 20 77 65 | 20 63 61 6e 20 74 72 65 |host, we| can tre|
|00001920| 61 74 20 69 74 20 61 73 | 20 63 6c 61 73 73 20 31 |at it as| class 1|
|00001930| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 77 69 |. | wi|
|00001940| 74 68 20 6e 6f 20 70 72 | 6f 62 6c 65 6d 73 2c 20 |th no pr|oblems, |
|00001950| 73 69 6e 63 65 20 77 65 | 20 6d 61 6b 65 20 6e 6f |since we| make no|
|00001960| 20 61 73 73 75 6d 70 74 | 69 6f 6e 73 20 61 62 6f | assumpt|ions abo|
|00001970| 75 74 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ut. | |
|00001980| 68 6f 77 20 69 74 20 77 | 69 6c 6c 20 68 61 6e 64 |how it w|ill hand|
|00001990| 6c 65 20 68 79 62 72 69 | 64 20 61 64 64 72 65 73 |le hybri|d addres|
|000019a0| 73 65 73 2e 0a 0a 43 4f | 4d 50 49 4c 45 20 46 4c |ses...CO|MPILE FL|
|000019b0| 41 47 53 20 4e 45 45 44 | 20 46 4f 52 20 54 48 49 |AGS NEED| FOR THI|
|000019c0| 53 20 43 4c 41 53 53 3a | 20 55 47 4c 59 55 55 43 |S CLASS:| UGLYUUC|
|000019d0| 50 0a 0a 0a 0a 20 20 20 | 43 6c 61 73 73 20 32 20 |P.... |Class 2 |
|000019e0| 20 20 4f 6c 64 20 73 74 | 79 6c 65 20 55 55 43 50 | Old st|yle UUCP|
|000019f0| 20 21 20 72 6f 75 74 69 | 6e 67 2c 20 61 6e 64 20 | ! routi|ng, and |
|00001a00| 34 2e 32 42 53 44 20 73 | 74 79 6c 65 20 64 6f 6d |4.2BSD s|tyle dom|
|00001a10| 61 69 6e 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |ain. | |
|00001a20| 20 70 61 72 73 69 6e 67 | 2e 20 20 57 65 20 61 73 | parsing|. We as|
|00001a30| 73 75 6d 65 20 74 68 65 | 20 63 61 70 61 62 69 6c |sume the| capabil|
|00001a40| 69 74 69 65 73 20 6f 66 | 20 63 6c 61 73 73 20 31 |ities of| class 1|
|00001a50| 2c 20 70 6c 75 73 0a 20 | 20 20 20 20 20 20 20 20 |, plus. | |
|00001a60| 20 20 20 20 74 68 65 20 | 61 62 69 6c 69 74 79 20 | the |ability |
|00001a70| 74 6f 20 75 6e 64 65 72 | 73 74 61 6e 64 0a 0a 20 |to under|stand.. |
|00001a80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001a90| 20 72 6d 61 69 6c 20 75 | 73 65 72 40 64 6f 6d 61 | rmail u|ser@doma|
|00001aa0| 69 6e 0a 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |in.. | |
|00001ab0| 20 69 66 20 74 68 65 20 | 22 64 6f 6d 61 69 6e 22 | if the |"domain"|
|00001ac0| 20 69 73 20 6f 6e 65 20 | 6f 75 74 73 69 64 65 20 | is one |outside |
|00001ad0| 74 68 65 20 55 55 43 50 | 20 7a 6f 6e 65 20 77 68 |the UUCP| zone wh|
|00001ae0| 69 63 68 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |ich. | |
|00001af0| 20 74 68 65 20 68 6f 73 | 74 20 6b 6e 6f 77 73 20 | the hos|t knows |
|00001b00| 61 62 6f 75 74 2e 20 20 | 43 6c 61 73 73 20 32 20 |about. |Class 2 |
|00001b10| 68 6f 73 74 73 20 64 6f | 20 6e 6f 74 20 6e 65 63 |hosts do| not nec|
|00001b20| 65 73 73 61 72 69 6c 79 | 0a 20 20 20 20 20 20 20 |essarily|. |
|00001b30| 20 20 20 20 20 20 75 6e | 64 65 72 73 74 61 6e 64 | un|derstand|
|00001b40| 20 64 6f 6d 61 69 6e 21 | 75 73 65 72 20 6f 72 20 | domain!|user or |
|00001b50| 68 61 76 65 20 72 6f 75 | 74 65 72 73 2e 20 20 48 |have rou|ters. H|
|00001b60| 6f 73 74 73 20 69 6e 20 | 6e 6f 6e 2d 0a 0a 20 20 |osts in |non-.. |
|00001b70| 20 20 20 20 20 20 20 20 | 20 20 20 55 55 43 50 20 | | UUCP |
|00001b80| 52 46 43 2d 39 32 30 20 | 64 6f 6d 61 69 6e 73 20 |RFC-920 |domains |
|00001b90| 61 72 65 20 63 6f 6e 73 | 69 64 65 72 65 64 20 63 |are cons|idered c|
|00001ba0| 6c 61 73 73 20 32 2c 20 | 65 76 65 6e 20 74 68 6f |lass 2, |even tho|
|00001bb0| 75 67 68 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |ugh. | |
|00001bc0| 20 74 68 65 79 20 6d 61 | 79 20 6e 6f 74 20 75 6e | they ma|y not un|
|00001bd0| 64 65 72 73 74 61 6e 64 | 20 68 6f 73 74 21 75 73 |derstand| host!us|
|00001be0| 65 72 2e 0a 0a 43 4f 4d | 50 49 4c 45 20 46 4c 41 |er...COM|PILE FLA|
|00001bf0| 47 53 20 4e 45 45 44 20 | 46 4f 52 20 54 48 49 53 |GS NEED |FOR THIS|
|00001c00| 20 43 4c 41 53 53 3a 20 | 4f 50 41 54 48 20 55 47 | CLASS: |OPATH UG|
|00001c10| 4c 59 55 55 43 50 0a 0a | 20 20 20 43 6c 61 73 73 |LYUUCP..| Class|
|00001c20| 20 33 20 20 20 41 6c 6c | 20 63 6c 61 73 73 20 31 | 3 All| class 1|
|00001c30| 20 61 6e 64 20 32 20 66 | 65 61 74 75 72 65 73 20 | and 2 f|eatures |
|00001c40| 61 72 65 20 70 72 65 73 | 65 6e 74 2e 20 20 49 6e |are pres|ent. In|
|00001c50| 20 61 64 64 69 74 69 6f | 6e 2c 0a 20 20 20 20 20 | additio|n,. |
|00001c60| 20 20 20 20 20 20 20 20 | 63 6c 61 73 73 20 33 20 | |class 3 |
|00001c70| 68 6f 73 74 73 20 6d 75 | 73 74 20 62 65 20 61 62 |hosts mu|st be ab|
|00001c80| 6c 65 20 74 6f 20 72 6f | 75 74 65 20 55 55 43 50 |le to ro|ute UUCP|
|00001c90| 20 6d 61 69 6c 20 66 6f | 72 20 68 6f 73 74 73 0a | mail fo|r hosts.|
|00001ca0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 74 68 61 | | tha|
|00001cb0| 74 20 61 72 65 20 6e 6f | 74 20 69 6d 6d 65 64 69 |t are no|t immedi|
|00001cc0| 61 74 65 6c 79 20 61 64 | 6a 61 63 65 6e 74 20 61 |ately ad|jacent a|
|00001cd0| 6e 64 20 61 6c 73 6f 20 | 75 6e 64 65 72 73 74 61 |nd also |understa|
|00001ce0| 6e 64 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |nd. | |
|00001cf0| 74 68 65 20 73 79 6e 74 | 61 78 0a 0a 20 20 20 20 |the synt|ax.. |
|00001d00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 72 6d | | rm|
|00001d10| 61 69 6c 20 64 6f 6d 61 | 69 6e 21 75 73 65 72 0a |ail doma|in!user.|
|00001d20| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 61 73 |. | as|
|00001d30| 20 64 65 73 63 72 69 62 | 65 64 20 61 62 6f 76 65 | describ|ed above|
|00001d40| 2e 20 20 41 6c 6c 20 67 | 61 74 65 77 61 79 73 20 |. All g|ateways |
|00001d50| 69 6e 74 6f 20 55 55 43 | 50 20 6d 75 73 74 20 62 |into UUC|P must b|
|00001d60| 65 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 63 |e. | c|
|00001d70| 6c 61 73 73 20 33 2e 0a | 0a 43 4f 4d 50 49 4c 45 |lass 3..|.COMPILE|
|00001d80| 20 46 4c 41 47 53 20 4e | 45 45 44 20 46 4f 52 20 | FLAGS N|EED FOR |
|00001d90| 54 48 49 53 20 43 4c 41 | 53 53 3a 20 4f 50 41 54 |THIS CLA|SS: OPAT|
|00001da0| 48 20 55 47 4c 59 55 55 | 43 50 20 52 46 43 39 37 |H UGLYUU|CP RFC97|
|00001db0| 36 0a 0a 4f 6e 65 20 66 | 69 6e 61 6c 20 6e 6f 74 |6..One f|inal not|
|00001dc0| 65 3a 20 55 75 6d 61 69 | 6c 20 64 6f 65 73 20 6e |e: Uumai|l does n|
|00001dd0| 6f 74 20 75 73 65 20 74 | 68 65 20 41 6c 67 6f 72 |ot use t|he Algor|
|00001de0| 69 74 68 6d 20 73 70 65 | 63 69 66 69 65 64 20 69 |ithm spe|cified i|
|00001df0| 6e 20 52 46 43 39 37 36 | 0a 74 6f 20 70 65 72 66 |n RFC976|.to perf|
|00001e00| 6f 72 6d 20 69 74 73 20 | 77 6f 72 6b 2e 20 54 68 |orm its |work. Th|
|00001e10| 61 74 20 61 6c 67 6f 72 | 69 74 68 6d 20 69 73 20 |at algor|ithm is |
|00001e20| 6c 69 6b 65 6c 79 20 74 | 6f 20 62 65 20 61 20 70 |likely t|o be a p|
|00001e30| 61 72 74 20 6f 66 0a 74 | 68 65 20 42 61 74 63 68 |art of.t|he Batch|
|00001e40| 20 53 4d 54 50 20 70 72 | 6f 67 72 61 6d 20 72 65 | SMTP pr|ogram re|
|00001e50| 66 65 72 72 65 64 20 74 | 6f 20 69 6e 20 74 68 65 |ferred t|o in the|
|00001e60| 20 52 46 43 2e 0a 0a 50 | 6c 65 61 73 65 20 66 6f | RFC...P|lease fo|
|00001e70| 72 77 61 72 64 20 63 6f | 6d 6d 65 6e 74 73 20 61 |rward co|mments a|
|00001e80| 6e 64 20 62 75 67 20 66 | 69 78 65 73 20 74 6f 20 |nd bug f|ixes to |
|00001e90| 6d 65 20 61 74 20 73 6f | 62 40 72 69 63 65 2e 65 |me at so|b@rice.e|
|00001ea0| 64 75 20 6f 72 20 0a 69 | 68 6e 70 34 21 73 68 65 |du or .i|hnp4!she|
|00001eb0| 6c 6c 21 73 6f 6d 61 21 | 73 6f 62 20 6f 72 20 73 |ll!soma!|sob or s|
|00001ec0| 65 69 73 6d 6f 21 64 72 | 69 6c 6c 73 79 73 21 73 |eismo!dr|illsys!s|
|00001ed0| 6f 62 20 6f 72 20 73 64 | 63 73 76 61 78 21 64 72 |ob or sd|csvax!dr|
|00001ee0| 69 6c 6c 73 79 73 21 73 | 6f 62 2e 0a 0a 53 74 61 |illsys!s|ob...Sta|
|00001ef0| 6e 20 42 61 72 62 65 72 | 0a 42 61 79 6c 6f 72 20 |n Barber|.Baylor |
|00001f00| 43 6f 6c 6c 65 67 65 20 | 6f 66 20 4d 65 64 69 63 |College |of Medic|
|00001f10| 69 6e 65 0a 48 6f 75 73 | 74 6f 6e 2c 20 54 65 78 |ine.Hous|ton, Tex|
|00001f20| 61 73 0a 0a 50 2e 53 2e | 20 4d 79 20 74 68 61 6e |as..P.S.| My than|
|00001f30| 6b 73 20 74 6f 20 61 6c | 6c 20 74 68 6f 73 65 20 |ks to al|l those |
|00001f40| 77 68 6f 20 72 65 70 6f | 72 74 65 64 20 62 75 67 |who repo|rted bug|
|00001f50| 73 20 66 72 6f 6d 20 74 | 68 65 20 70 72 65 76 69 |s from t|he previ|
|00001f60| 6f 75 73 20 72 65 6c 65 | 61 73 65 2e 0a 50 6c 65 |ous rele|ase..Ple|
|00001f70| 61 73 65 20 63 6f 6e 74 | 69 6e 75 65 20 74 6f 20 |ase cont|inue to |
|00001f80| 73 65 6e 64 20 74 68 65 | 6d 20 69 6e 2c 20 61 6e |send the|m in, an|
|00001f90| 64 20 49 20 77 69 6c 6c | 20 74 72 79 20 74 6f 20 |d I will| try to |
|00001fa0| 6b 65 65 70 20 66 69 78 | 69 6e 67 20 74 68 65 6d |keep fix|ing them|
|00001fb0| 2e 0a 0a 0a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |....****|********|
|00001fc0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001fd0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001fe0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001ff0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 0a |********|*******.|
|00002000| 54 68 69 73 20 77 6f 72 | 6b 20 69 6e 20 69 74 73 |This wor|k in its|
|00002010| 20 63 75 72 72 65 6e 74 | 20 66 6f 72 6d 20 69 73 | current| form is|
|00002020| 20 43 6f 70 79 72 69 67 | 68 74 20 31 39 38 36 20 | Copyrig|ht 1986 |
|00002030| 53 74 61 6e 20 42 61 72 | 62 65 72 0a 77 69 74 68 |Stan Bar|ber.with|
|00002040| 20 74 68 65 20 65 78 63 | 65 70 74 69 6f 6e 20 6f | the exc|eption o|
|00002050| 66 20 6f 70 61 74 68 2c | 20 67 65 74 68 6f 73 74 |f opath,| gethost|
|00002060| 6e 61 6d 65 20 61 6e 64 | 20 74 68 65 20 6f 72 69 |name and| the ori|
|00002070| 67 69 6e 61 6c 20 67 65 | 74 70 61 74 68 20 77 68 |ginal ge|tpath wh|
|00002080| 69 63 68 0a 61 73 20 66 | 61 72 20 61 73 20 49 20 |ich.as f|ar as I |
|00002090| 6b 6e 6f 77 20 61 72 65 | 20 69 6e 20 74 68 65 20 |know are| in the |
|000020a0| 50 75 62 6c 69 63 20 44 | 6f 6d 61 69 6e 2e 20 54 |Public D|omain. T|
|000020b0| 68 69 73 20 73 6f 66 74 | 77 61 72 65 20 6d 61 79 |his soft|ware may|
|000020c0| 20 62 65 20 64 69 73 74 | 72 69 62 75 74 65 64 0a | be dist|ributed.|
|000020d0| 66 72 65 65 6c 79 20 61 | 73 20 6c 6f 6e 67 20 61 |freely a|s long a|
|000020e0| 73 20 6e 6f 20 70 72 6f | 66 69 74 20 69 73 20 6d |s no pro|fit is m|
|000020f0| 61 64 65 20 66 72 6f 6d | 20 73 75 63 68 20 64 69 |ade from| such di|
|00002100| 73 74 72 69 62 75 74 69 | 6f 6e 20 61 6e 64 20 74 |stributi|on and t|
|00002110| 68 69 73 20 6e 6f 74 69 | 63 65 0a 69 73 20 72 65 |his noti|ce.is re|
|00002120| 70 72 6f 64 75 63 74 65 | 64 20 69 6e 20 77 68 6f |producte|d in who|
|00002130| 6c 65 2e 0a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |le..****|********|
|00002140| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002150| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002160| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002170| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 0a |********|*******.|
|00002180| 54 68 69 73 20 73 6f 66 | 74 77 61 72 65 20 69 73 |This sof|tware is|
|00002190| 20 70 72 6f 76 69 64 65 | 64 20 6f 6e 20 61 6e 20 | provide|d on an |
|000021a0| 22 61 73 20 69 73 22 20 | 62 61 73 69 73 20 77 69 |"as is" |basis wi|
|000021b0| 74 68 20 6e 6f 20 67 75 | 61 72 61 6e 74 65 65 20 |th no gu|arantee |
|000021c0| 6f 66 20 0a 75 73 65 66 | 75 6c 6e 65 73 73 20 6f |of .usef|ulness o|
|000021d0| 72 20 63 6f 72 72 65 63 | 74 6e 65 73 73 20 6f 66 |r correc|tness of|
|000021e0| 20 6f 70 65 72 61 74 69 | 6f 6e 20 66 6f 72 20 61 | operati|on for a|
|000021f0| 6e 79 20 70 75 72 70 6f | 73 65 2c 20 69 6e 74 65 |ny purpo|se, inte|
|00002200| 6e 64 65 64 20 6f 72 0a | 6f 74 68 65 72 77 69 73 |nded or.|otherwis|
|00002210| 65 2e 20 54 68 65 20 61 | 75 74 68 6f 72 20 69 73 |e. The a|uthor is|
|00002220| 20 69 6e 20 6e 6f 20 77 | 61 79 20 6c 69 61 62 6c | in no w|ay liabl|
|00002230| 65 20 66 6f 72 20 74 68 | 69 73 20 73 6f 66 74 77 |e for th|is softw|
|00002240| 61 72 65 27 73 20 70 65 | 72 66 6f 72 6d 61 6e 63 |are's pe|rformanc|
|00002250| 65 0a 6f 72 20 61 6e 79 | 20 64 61 6d 61 67 65 20 |e.or any| damage |
|00002260| 69 74 20 6d 61 79 20 63 | 61 75 73 65 20 74 6f 20 |it may c|ause to |
|00002270| 61 6e 79 20 64 61 74 61 | 20 6f 66 20 61 6e 79 20 |any data| of any |
|00002280| 6b 69 6e 64 20 61 6e 79 | 77 68 65 72 65 2e 0a 2a |kind any|where..*|
|00002290| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000022a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000022b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000022c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000022d0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 0a 0a 53 48 41 52 |********|**..SHAR|
|000022e0| 5f 45 4f 46 0a 69 66 20 | 74 65 73 74 20 38 31 37 |_EOF.if |test 817|
|000022f0| 37 20 2d 6e 65 20 22 60 | 77 63 20 2d 63 20 3c 20 |7 -ne "`|wc -c < |
|00002300| 27 52 45 41 44 4d 45 27 | 60 22 0a 74 68 65 6e 0a |'README'|`".then.|
|00002310| 09 65 63 68 6f 20 73 68 | 61 72 3a 20 65 72 72 6f |.echo sh|ar: erro|
|00002320| 72 20 74 72 61 6e 73 6d | 69 74 74 69 6e 67 20 22 |r transm|itting "|
|00002330| 27 52 45 41 44 4d 45 27 | 22 20 27 28 73 68 6f 75 |'README'|" '(shou|
|00002340| 6c 64 20 68 61 76 65 20 | 62 65 65 6e 20 38 31 37 |ld have |been 817|
|00002350| 37 20 63 68 61 72 61 63 | 74 65 72 73 29 27 0a 66 |7 charac|ters)'.f|
|00002360| 69 0a 66 69 0a 65 63 68 | 6f 20 73 68 61 72 3a 20 |i.fi.ech|o shar: |
|00002370| 65 78 74 72 61 63 74 69 | 6e 67 20 22 27 64 6f 6d |extracti|ng "'dom|
|00002380| 61 69 6e 73 27 22 20 27 | 28 31 30 39 33 20 63 68 |ains'" '|(1093 ch|
|00002390| 61 72 61 63 74 65 72 73 | 29 27 0a 69 66 20 74 65 |aracters|)'.if te|
|000023a0| 73 74 20 2d 66 20 27 64 | 6f 6d 61 69 6e 73 27 0a |st -f 'd|omains'.|
|000023b0| 74 68 65 6e 0a 09 65 63 | 68 6f 20 73 68 61 72 3a |then..ec|ho shar:|
|000023c0| 20 77 69 6c 6c 20 6e 6f | 74 20 6f 76 65 72 2d 77 | will no|t over-w|
|000023d0| 72 69 74 65 20 65 78 69 | 73 74 69 6e 67 20 66 69 |rite exi|sting fi|
|000023e0| 6c 65 20 22 27 64 6f 6d | 61 69 6e 73 27 22 0a 65 |le "'dom|ains'".e|
|000023f0| 6c 73 65 0a 63 61 74 20 | 3c 3c 20 5c 53 48 41 52 |lse.cat |<< \SHAR|
|00002400| 5f 45 4f 46 20 3e 20 27 | 64 6f 6d 61 69 6e 73 27 |_EOF > '|domains'|
|00002410| 0a 23 0a 23 20 44 6f 6d | 61 69 6e 20 54 61 62 6c |.#.# Dom|ain Tabl|
|00002420| 65 0a 23 0a 23 20 46 6f | 72 6d 61 74 3a 20 3c 64 |e.#.# Fo|rmat: <d|
|00002430| 6f 6d 61 69 6e 3e 2c 3c | 70 72 65 66 69 78 3e 2c |omain>,<|prefix>,|
|00002440| 3c 73 75 66 66 69 78 3e | 2c 3c 74 65 6d 70 6c 61 |<suffix>|,<templa|
|00002450| 74 65 3e 0a 23 0a 23 20 | 57 68 65 72 65 20 3c 74 |te>.#.# |Where <t|
|00002460| 65 6d 70 6c 61 74 65 3e | 20 6d 61 79 20 63 6f 6e |emplate>| may con|
|00002470| 74 61 69 6e 3a 0a 23 20 | 20 20 20 20 20 20 25 50 |tain:.# | %P|
|00002480| 20 2d 20 70 72 65 66 69 | 78 20 73 74 72 69 6e 67 | - prefi|x string|
|00002490| 0a 23 20 20 20 20 20 20 | 20 25 53 20 2d 20 73 75 |.# | %S - su|
|000024a0| 66 66 69 78 20 73 74 72 | 69 6e 67 0a 23 20 20 20 |ffix str|ing.# |
|000024b0| 20 20 20 20 25 55 20 2d | 20 64 65 73 74 69 6e 61 | %U -| destina|
|000024c0| 74 69 6f 6e 20 75 73 65 | 72 20 6e 61 6d 65 0a 23 |tion use|r name.#|
|000024d0| 20 20 20 20 20 20 20 25 | 4e 20 2d 20 64 65 73 74 | %|N - dest|
|000024e0| 69 6e 61 74 69 6f 6e 20 | 73 69 74 65 20 6e 61 6d |ination |site nam|
|000024f0| 65 0a 23 20 20 20 20 20 | 20 20 25 44 20 2d 20 64 |e.# | %D - d|
|00002500| 65 73 74 69 6e 61 74 69 | 6f 6e 20 73 69 74 65 20 |estinati|on site |
|00002510| 6e 61 6d 65 20 77 69 74 | 68 20 64 6f 6d 61 69 6e |name wit|h domain|
|00002520| 20 73 75 66 66 69 78 0a | 23 20 20 20 20 20 20 20 | suffix.|# |
|00002530| 25 25 20 2d 20 61 20 70 | 65 72 63 65 6e 74 20 28 |%% - a p|ercent (|
|00002540| 25 29 20 73 69 67 6e 0a | 23 20 20 20 20 20 20 20 |%) sign.|# |
|00002550| 25 52 20 2d 20 70 61 74 | 68 61 6c 69 61 73 20 72 |%R - pat|halias r|
|00002560| 6f 75 74 65 20 74 6f 20 | 74 68 65 20 64 65 73 74 |oute to |the dest|
|00002570| 69 6e 61 74 69 6f 6e 20 | 73 69 74 65 0a 23 0a 2e |ination |site.#..|
|00002580| 57 41 2e 55 55 43 50 2c | 2c 2c 25 52 21 25 55 0a |WA.UUCP,|,,%R!%U.|
|00002590| 2e 4f 52 2e 55 55 43 50 | 2c 2c 2c 25 52 21 25 55 |.OR.UUCP|,,,%R!%U|
|000025a0| 0a 2e 4e 2d 43 41 2e 55 | 55 43 50 2c 2c 2c 25 52 |..N-CA.U|UCP,,,%R|
|000025b0| 21 25 55 0a 2e 53 2d 43 | 41 2e 55 55 43 50 2c 2c |!%U..S-C|A.UUCP,,|
|000025c0| 2c 25 52 21 25 55 0a 2e | 4d 54 4e 2e 55 55 43 50 |,%R!%U..|MTN.UUCP|
|000025d0| 2c 2c 2c 25 52 21 25 55 | 0a 2e 53 2d 43 45 4e 2e |,,,%R!%U|..S-CEN.|
|000025e0| 55 55 43 50 2c 2c 2c 25 | 52 21 25 55 0a 2e 4d 49 |UUCP,,,%|R!%U..MI|
|000025f0| 44 2d 57 2e 55 55 43 50 | 2c 2c 2c 25 52 21 25 55 |D-W.UUCP|,,,%R!%U|
|00002600| 0a 2e 53 2d 45 41 53 54 | 2e 55 55 43 50 2c 2c 2c |..S-EAST|.UUCP,,,|
|00002610| 25 52 21 25 55 0a 2e 41 | 54 4c 2e 55 55 43 50 2c |%R!%U..A|TL.UUCP,|
|00002620| 2c 2c 25 52 21 25 55 0a | 2e 4e 2d 45 4e 47 2e 55 |,,%R!%U.|.N-ENG.U|
|00002630| 55 43 50 2c 2c 2c 25 52 | 21 25 55 0a 2e 48 49 2e |UCP,,,%R|!%U..HI.|
|00002640| 55 55 43 50 2c 2c 2c 25 | 52 21 25 55 0a 2e 57 2d |UUCP,,,%|R!%U..W-|
|00002650| 43 41 4e 2e 55 55 43 50 | 2c 2c 2c 25 52 21 25 55 |CAN.UUCP|,,,%R!%U|
|00002660| 0a 2e 45 2d 43 41 4e 2e | 55 55 43 50 2c 2c 2c 25 |..E-CAN.|UUCP,,,%|
|00002670| 52 21 25 55 0a 2e 45 55 | 52 2e 55 55 43 50 2c 2c |R!%U..EU|R.UUCP,,|
|00002680| 2c 25 52 21 25 55 0a 2e | 55 4b 2e 55 55 43 50 2c |,%R!%U..|UK.UUCP,|
|00002690| 2c 2c 25 52 21 25 55 0a | 2e 41 55 53 2e 55 55 43 |,,%R!%U.|.AUS.UUC|
|000026a0| 50 2c 2c 2c 25 52 21 25 | 55 0a 2e 49 53 52 41 45 |P,,,%R!%|U..ISRAE|
|000026b0| 4c 2e 55 55 43 50 2c 2c | 2c 25 52 21 25 55 0a 2e |L.UUCP,,|,%R!%U..|
|000026c0| 41 54 54 2e 55 55 43 50 | 2c 3e 69 68 6e 70 34 2c |ATT.UUCP|,>ihnp4,|
|000026d0| 2c 25 50 21 25 44 21 25 | 55 0a 2e 48 50 2e 55 55 |,%P!%D!%|U..HP.UU|
|000026e0| 43 50 2c 2c 2c 25 52 21 | 25 55 0a 2e 50 45 2e 55 |CP,,,%R!|%U..PE.U|
|000026f0| 55 43 50 2c 2c 2c 25 52 | 21 25 55 0a 2e 55 55 43 |UCP,,,%R|!%U..UUC|
|00002700| 50 2c 2c 2c 25 52 21 25 | 55 0a 2e 43 53 4e 45 54 |P,,,%R!%|U..CSNET|
|00002710| 2c 3e 72 69 63 65 2c 2c | 25 50 21 25 55 25 25 25 |,>rice,,|%P!%U%%%|
|00002720| 44 40 43 53 4e 45 54 2d | 52 45 4c 41 59 2e 41 52 |D@CSNET-|RELAY.AR|
|00002730| 50 41 0a 2e 4d 41 49 4c | 4e 45 54 2c 3e 72 69 63 |PA..MAIL|NET,>ric|
|00002740| 65 2c 2c 25 50 21 25 55 | 25 25 25 44 40 4d 55 4c |e,,%P!%U|%%%D@MUL|
|00002750| 54 49 43 53 2e 4d 49 54 | 2e 45 44 55 0a 23 20 2e |TICS.MIT|.EDU.# .|
|00002760| 42 49 54 4e 45 54 2c 3e | 72 69 63 65 2c 2c 25 50 |BITNET,>|rice,,%P|
|00002770| 21 25 55 25 25 25 44 40 | 57 49 53 43 56 4d 2e 41 |!%U%%%D@|WISCVM.A|
|00002780| 52 50 41 0a 2e 58 45 52 | 4f 58 2c 3e 72 69 63 65 |RPA..XER|OX,>rice|
|00002790| 2c 2c 25 50 21 25 55 2e | 25 44 40 58 45 52 4f 58 |,,%P!%U.|%D@XEROX|
|000027a0| 2e 41 52 50 41 0a 2e 44 | 45 43 2c 3e 64 65 63 77 |.ARPA..D|EC,>decw|
|000027b0| 72 6c 2c 2c 25 50 21 25 | 55 40 25 44 0a 2e 41 52 |rl,,%P!%|U@%D..AR|
|000027c0| 50 41 2c 3e 72 69 63 65 | 2c 2c 25 50 21 25 55 40 |PA,>rice|,,%P!%U@|
|000027d0| 25 44 0a 2e 45 44 55 2c | 3e 72 69 63 65 2c 2c 25 |%D..EDU,|>rice,,%|
|000027e0| 50 21 25 55 40 25 44 0a | 2e 43 4f 4d 2c 3e 72 69 |P!%U@%D.|.COM,>ri|
|000027f0| 63 65 2c 2c 25 50 21 25 | 55 40 25 44 0a 2e 47 4f |ce,,%P!%|U@%D..GO|
|00002800| 56 2c 3e 72 69 63 65 2c | 2c 25 50 21 25 55 40 25 |V,>rice,|,%P!%U@%|
|00002810| 44 0a 2e 4d 49 4c 2c 3e | 72 69 63 65 2c 2c 25 50 |D..MIL,>|rice,,%P|
|00002820| 21 25 55 40 25 44 0a 2e | 4f 54 48 2c 3e 72 69 63 |!%U@%D..|OTH,>ric|
|00002830| 65 2c 2c 25 50 21 25 55 | 40 25 44 0a 2e 42 49 54 |e,,%P!%U|@%D..BIT|
|00002840| 4e 45 54 2c 3e 70 73 75 | 76 61 78 2c 2c 25 50 21 |NET,>psu|vax,,%P!|
|00002850| 25 55 40 25 44 0a 53 48 | 41 52 5f 45 4f 46 0a 69 |%U@%D.SH|AR_EOF.i|
|00002860| 66 20 74 65 73 74 20 31 | 30 39 33 20 2d 6e 65 20 |f test 1|093 -ne |
|00002870| 22 60 77 63 20 2d 63 20 | 3c 20 27 64 6f 6d 61 69 |"`wc -c |< 'domai|
|00002880| 6e 73 27 60 22 0a 74 68 | 65 6e 0a 09 65 63 68 6f |ns'`".th|en..echo|
|00002890| 20 73 68 61 72 3a 20 65 | 72 72 6f 72 20 74 72 61 | shar: e|rror tra|
|000028a0| 6e 73 6d 69 74 74 69 6e | 67 20 22 27 64 6f 6d 61 |nsmittin|g "'doma|
|000028b0| 69 6e 73 27 22 20 27 28 | 73 68 6f 75 6c 64 20 68 |ins'" '(|should h|
|000028c0| 61 76 65 20 62 65 65 6e | 20 31 30 39 33 20 63 68 |ave been| 1093 ch|
|000028d0| 61 72 61 63 74 65 72 73 | 29 27 0a 66 69 0a 66 69 |aracters|)'.fi.fi|
|000028e0| 0a 65 63 68 6f 20 73 68 | 61 72 3a 20 65 78 74 72 |.echo sh|ar: extr|
|000028f0| 61 63 74 69 6e 67 20 22 | 27 70 61 6c 69 61 73 27 |acting "|'palias'|
|00002900| 22 20 27 28 31 35 31 20 | 63 68 61 72 61 63 74 65 |" '(151 |characte|
|00002910| 72 73 29 27 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |rs)'.if |test -f |
|00002920| 27 70 61 6c 69 61 73 27 | 0a 74 68 65 6e 0a 09 65 |'palias'|.then..e|
|00002930| 63 68 6f 20 73 68 61 72 | 3a 20 77 69 6c 6c 20 6e |cho shar|: will n|
|00002940| 6f 74 20 6f 76 65 72 2d | 77 72 69 74 65 20 65 78 |ot over-|write ex|
|00002950| 69 73 74 69 6e 67 20 66 | 69 6c 65 20 22 27 70 61 |isting f|ile "'pa|
|00002960| 6c 69 61 73 27 22 0a 65 | 6c 73 65 0a 63 61 74 20 |lias'".e|lse.cat |
|00002970| 3c 3c 20 5c 53 48 41 52 | 5f 45 4f 46 20 3e 20 27 |<< \SHAR|_EOF > '|
|00002980| 70 61 6c 69 61 73 27 0a | 62 61 79 6c 6f 72 20 62 |palias'.|baylor b|
|00002990| 61 79 6c 6f 72 21 25 73 | 0a 64 65 63 77 72 6c 20 |aylor!%s|.decwrl |
|000029a0| 73 68 65 6c 6c 21 69 68 | 6e 70 34 21 64 65 63 77 |shell!ih|np4!decw|
|000029b0| 72 6c 21 25 73 0a 69 68 | 6e 70 34 20 73 68 65 6c |rl!%s.ih|np4 shel|
|000029c0| 6c 21 69 68 6e 70 34 21 | 25 73 0a 6b 69 74 74 79 |l!ihnp4!|%s.kitty|
|000029d0| 20 62 61 79 6c 6f 72 21 | 6b 69 74 74 79 21 25 73 | baylor!|kitty!%s|
|000029e0| 0a 6e 65 75 72 6f 31 20 | 25 73 0a 70 73 75 76 61 |.neuro1 |%s.psuva|
|000029f0| 78 20 73 68 65 6c 6c 21 | 70 73 75 76 61 78 21 25 |x shell!|psuvax!%|
|00002a00| 73 0a 72 69 63 65 20 20 | 72 69 63 65 21 25 73 0a |s.rice |rice!%s.|
|00002a10| 73 68 65 6c 6c 20 73 68 | 65 6c 6c 21 25 73 0a 53 |shell sh|ell!%s.S|
|00002a20| 48 41 52 5f 45 4f 46 0a | 69 66 20 74 65 73 74 20 |HAR_EOF.|if test |
|00002a30| 31 35 31 20 2d 6e 65 20 | 22 60 77 63 20 2d 63 20 |151 -ne |"`wc -c |
|00002a40| 3c 20 27 70 61 6c 69 61 | 73 27 60 22 0a 74 68 65 |< 'palia|s'`".the|
|00002a50| 6e 0a 09 65 63 68 6f 20 | 73 68 61 72 3a 20 65 72 |n..echo |shar: er|
|00002a60| 72 6f 72 20 74 72 61 6e | 73 6d 69 74 74 69 6e 67 |ror tran|smitting|
|00002a70| 20 22 27 70 61 6c 69 61 | 73 27 22 20 27 28 73 68 | "'palia|s'" '(sh|
|00002a80| 6f 75 6c 64 20 68 61 76 | 65 20 62 65 65 6e 20 31 |ould hav|e been 1|
|00002a90| 35 31 20 63 68 61 72 61 | 63 74 65 72 73 29 27 0a |51 chara|cters)'.|
|00002aa0| 66 69 0a 66 69 0a 65 63 | 68 6f 20 73 68 61 72 3a |fi.fi.ec|ho shar:|
|00002ab0| 20 65 78 74 72 61 63 74 | 69 6e 67 20 22 27 72 6d | extract|ing "'rm|
|00002ac0| 61 69 6c 2e 63 27 22 20 | 27 28 33 35 33 33 20 63 |ail.c'" |'(3533 c|
|00002ad0| 68 61 72 61 63 74 65 72 | 73 29 27 0a 69 66 20 74 |haracter|s)'.if t|
|00002ae0| 65 73 74 20 2d 66 20 27 | 72 6d 61 69 6c 2e 63 27 |est -f '|rmail.c'|
|00002af0| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|00002b00| 3a 20 77 69 6c 6c 20 6e | 6f 74 20 6f 76 65 72 2d |: will n|ot over-|
|00002b10| 77 72 69 74 65 20 65 78 | 69 73 74 69 6e 67 20 66 |write ex|isting f|
|00002b20| 69 6c 65 20 22 27 72 6d | 61 69 6c 2e 63 27 22 0a |ile "'rm|ail.c'".|
|00002b30| 65 6c 73 65 0a 63 61 74 | 20 3c 3c 20 5c 53 48 41 |else.cat| << \SHA|
|00002b40| 52 5f 45 4f 46 20 3e 20 | 27 72 6d 61 69 6c 2e 63 |R_EOF > |'rmail.c|
|00002b50| 27 0a 23 69 66 6e 64 65 | 66 20 6c 69 6e 74 0a 73 |'.#ifnde|f lint.s|
|00002b60| 74 61 74 69 63 20 63 68 | 61 72 20 72 63 73 69 64 |tatic ch|ar rcsid|
|00002b70| 5b 5d 3d 22 24 48 65 61 | 64 65 72 3a 20 72 6d 61 |[]="$Hea|der: rma|
|00002b80| 69 6c 2e 63 2c 76 20 33 | 2e 30 20 38 36 2f 30 33 |il.c,v 3|.0 86/03|
|00002b90| 2f 31 34 20 31 32 3a 30 | 34 3a 35 34 20 73 6f 62 |/14 12:0|4:54 sob|
|00002ba0| 20 52 45 4c 45 41 53 45 | 5f 33 20 24 22 3b 0a 0a | RELEASE|_3 $";..|
|00002bb0| 23 65 6e 64 69 66 0a 0a | 2f 2a 0a 2a 2a 20 20 52 |#endif..|/*.** R|
|00002bc0| 4d 41 49 4c 20 2d 2d 20 | 55 55 43 50 20 6d 61 69 |MAIL -- |UUCP mai|
|00002bd0| 6c 20 73 65 72 76 65 72 | 2e 0a 2a 2a 0a 2a 2a 09 |l server|..**.**.|
|00002be0| 54 68 69 73 20 70 72 6f | 67 72 61 6d 20 72 65 61 |This pro|gram rea|
|00002bf0| 64 73 20 74 68 65 20 3e | 46 72 6f 6d 20 2e 2e 2e |ds the >|From ...|
|00002c00| 20 72 65 6d 6f 74 65 20 | 66 72 6f 6d 20 2e 2e 2e | remote |from ...|
|00002c10| 20 6c 69 6e 65 73 20 74 | 68 61 74 0a 2a 2a 09 55 | lines t|hat.**.U|
|00002c20| 55 43 50 20 69 73 20 73 | 6f 20 66 6f 6e 64 20 6f |UCP is s|o fond o|
|00002c30| 66 20 61 6e 64 20 74 75 | 72 6e 73 20 74 68 65 6d |f and tu|rns them|
|00002c40| 20 69 6e 74 6f 20 73 6f | 6d 65 74 68 69 6e 67 20 | into so|mething |
|00002c50| 72 65 61 73 6f 6e 61 62 | 6c 65 2e 0a 2a 2a 09 49 |reasonab|le..**.I|
|00002c60| 74 20 63 61 6c 6c 73 20 | 75 75 6d 61 69 6c 20 67 |t calls |uumail g|
|00002c70| 69 76 69 6e 67 20 69 74 | 20 61 20 2d 66 20 6f 70 |iving it| a -f op|
|00002c80| 74 69 6f 6e 20 62 75 69 | 6c 74 20 66 72 6f 6d 20 |tion bui|lt from |
|00002c90| 74 68 65 73 65 0a 2a 2a | 09 6c 69 6e 65 73 2e 0a |these.**|.lines..|
|00002ca0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002cb0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002cc0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002cd0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002ce0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 0a 54 68 69 73 |********|***.This|
|00002cf0| 20 77 6f 72 6b 20 69 6e | 20 69 74 73 20 63 75 72 | work in| its cur|
|00002d00| 72 65 6e 74 20 66 6f 72 | 6d 20 69 73 20 43 6f 70 |rent for|m is Cop|
|00002d10| 79 72 69 67 68 74 20 31 | 39 38 36 20 53 74 61 6e |yright 1|986 Stan|
|00002d20| 20 42 61 72 62 65 72 0a | 77 69 74 68 20 74 68 65 | Barber.|with the|
|00002d30| 20 65 78 63 65 70 74 69 | 6f 6e 20 6f 66 20 6f 70 | excepti|on of op|
|00002d40| 61 74 68 2c 20 67 65 74 | 68 6f 73 74 6e 61 6d 65 |ath, get|hostname|
|00002d50| 20 61 6e 64 20 74 68 65 | 20 6f 72 69 67 69 6e 61 | and the| origina|
|00002d60| 6c 20 67 65 74 70 61 74 | 68 20 77 68 69 63 68 0a |l getpat|h which.|
|00002d70| 61 73 20 66 61 72 20 61 | 73 20 49 20 6b 6e 6f 77 |as far a|s I know|
|00002d80| 20 61 72 65 20 69 6e 20 | 74 68 65 20 50 75 62 6c | are in |the Publ|
|00002d90| 69 63 20 44 6f 6d 61 69 | 6e 2e 20 54 68 69 73 20 |ic Domai|n. This |
|00002da0| 73 6f 66 74 77 61 72 65 | 20 6d 61 79 20 62 65 20 |software| may be |
|00002db0| 64 69 73 74 72 69 62 75 | 74 65 64 0a 66 72 65 65 |distribu|ted.free|
|00002dc0| 6c 79 20 61 73 20 6c 6f | 6e 67 20 61 73 20 6e 6f |ly as lo|ng as no|
|00002dd0| 20 70 72 6f 66 69 74 20 | 69 73 20 6d 61 64 65 20 | profit |is made |
|00002de0| 66 72 6f 6d 20 73 75 63 | 68 20 64 69 73 74 72 69 |from suc|h distri|
|00002df0| 62 75 74 69 6f 6e 20 61 | 6e 64 20 74 68 69 73 20 |bution a|nd this |
|00002e00| 6e 6f 74 69 63 65 0a 69 | 73 20 72 65 70 72 6f 64 |notice.i|s reprod|
|00002e10| 75 63 74 65 64 20 69 6e | 20 77 68 6f 6c 65 2e 0a |ucted in| whole..|
|00002e20| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002e30| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002e40| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002e50| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002e60| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 0a 54 68 69 73 |********|***.This|
|00002e70| 20 73 6f 66 74 77 61 72 | 65 20 69 73 20 70 72 6f | softwar|e is pro|
|00002e80| 76 69 64 65 64 20 6f 6e | 20 61 6e 20 22 61 73 20 |vided on| an "as |
|00002e90| 69 73 22 20 62 61 73 69 | 73 20 77 69 74 68 20 6e |is" basi|s with n|
|00002ea0| 6f 20 67 75 61 72 61 6e | 74 65 65 20 6f 66 20 0a |o guaran|tee of .|
|00002eb0| 75 73 65 66 75 6c 6e 65 | 73 73 20 6f 72 20 63 6f |usefulne|ss or co|
|00002ec0| 72 72 65 63 74 6e 65 73 | 73 20 6f 66 20 6f 70 65 |rrectnes|s of ope|
|00002ed0| 72 61 74 69 6f 6e 20 66 | 6f 72 20 61 6e 79 20 70 |ration f|or any p|
|00002ee0| 75 72 70 6f 73 65 2c 20 | 69 6e 74 65 6e 64 65 64 |urpose, |intended|
|00002ef0| 20 6f 72 0a 6f 74 68 65 | 72 77 69 73 65 2e 20 54 | or.othe|rwise. T|
|00002f00| 68 65 20 61 75 74 68 6f | 72 20 69 73 20 69 6e 20 |he autho|r is in |
|00002f10| 6e 6f 20 77 61 79 20 6c | 69 61 62 6c 65 20 66 6f |no way l|iable fo|
|00002f20| 72 20 74 68 69 73 20 73 | 6f 66 74 77 61 72 65 27 |r this s|oftware'|
|00002f30| 73 20 70 65 72 66 6f 72 | 6d 61 6e 63 65 0a 6f 72 |s perfor|mance.or|
|00002f40| 20 61 6e 79 20 64 61 6d | 61 67 65 20 69 74 20 6d | any dam|age it m|
|00002f50| 61 79 20 63 61 75 73 65 | 20 74 6f 20 61 6e 79 20 |ay cause| to any |
|00002f60| 64 61 74 61 20 6f 66 20 | 61 6e 79 20 6b 69 6e 64 |data of |any kind|
|00002f70| 20 61 6e 79 77 68 65 72 | 65 2e 0a 2a 2a 2a 2a 2a | anywher|e..*****|
|00002f80| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002f90| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002fa0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002fb0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002fc0| 2a 2a 2a 2a 2a 2a 0a 2a | 2f 0a 0a 23 64 65 66 69 |******.*|/..#defi|
|00002fd0| 6e 65 20 5f 44 45 46 49 | 4e 45 0a 0a 23 69 6e 63 |ne _DEFI|NE..#inc|
|00002fe0| 6c 75 64 65 20 22 75 75 | 63 6f 6e 66 2e 68 22 0a |lude "uu|conf.h".|
|00002ff0| 65 78 74 65 72 6e 20 46 | 49 4c 45 20 2a 70 6f 70 |extern F|ILE *pop|
|00003000| 65 6e 28 29 3b 0a 65 78 | 74 65 72 6e 20 63 68 61 |en();.ex|tern cha|
|00003010| 72 20 2a 69 6e 64 65 78 | 28 29 3b 0a 65 78 74 65 |r *index|();.exte|
|00003020| 72 6e 20 63 68 61 72 20 | 2a 72 69 6e 64 65 78 28 |rn char |*rindex(|
|00003030| 29 3b 0a 0a 23 20 64 65 | 66 69 6e 65 20 4d 41 49 |);..# de|fine MAI|
|00003040| 4c 45 52 09 22 2f 75 73 | 72 2f 6c 69 62 2f 75 75 |LER."/us|r/lib/uu|
|00003050| 63 70 2f 75 75 6d 61 69 | 6c 22 0a 0a 6d 61 69 6e |cp/uumai|l"..main|
|00003060| 28 61 72 67 63 2c 20 61 | 72 67 76 29 0a 09 63 68 |(argc, a|rgv)..ch|
|00003070| 61 72 20 2a 2a 61 72 67 | 76 3b 0a 7b 0a 09 46 49 |ar **arg|v;.{..FI|
|00003080| 4c 45 20 2a 6f 75 74 3b | 09 2f 2a 20 6f 75 74 70 |LE *out;|./* outp|
|00003090| 75 74 20 74 6f 20 6d 61 | 69 6c 20 68 61 6e 64 6c |ut to ma|il handl|
|000030a0| 65 72 20 2a 2f 0a 09 63 | 68 61 72 20 6c 62 75 66 |er */..c|har lbuf|
|000030b0| 5b 35 31 32 5d 3b 09 2f | 2a 20 6f 6e 65 20 6c 69 |[512];./|* one li|
|000030c0| 6e 65 20 6f 66 20 74 68 | 65 20 6d 65 73 73 61 67 |ne of th|e messag|
|000030d0| 65 20 2a 2f 0a 09 63 68 | 61 72 20 66 72 6f 6d 5b |e */..ch|ar from[|
|000030e0| 35 31 32 5d 3b 09 2f 2a | 20 61 63 63 75 6d 75 6c |512];./*| accumul|
|000030f0| 61 74 65 64 20 70 61 74 | 68 20 6f 66 20 73 65 6e |ated pat|h of sen|
|00003100| 64 65 72 20 2a 2f 0a 09 | 63 68 61 72 20 75 66 72 |der */..|char ufr|
|00003110| 6f 6d 5b 36 34 5d 3b 09 | 2f 2a 20 75 73 65 72 20 |om[64];.|/* user |
|00003120| 6f 6e 20 72 65 6d 6f 74 | 65 20 73 79 73 74 65 6d |on remot|e system|
|00003130| 20 2a 2f 0a 09 63 68 61 | 72 20 73 79 73 5b 36 34 | */..cha|r sys[64|
|00003140| 5d 3b 09 2f 2a 20 61 20 | 73 79 73 74 65 6d 20 69 |];./* a |system i|
|00003150| 6e 20 70 61 74 68 20 2a | 2f 0a 09 63 68 61 72 20 |n path *|/..char |
|00003160| 6a 75 6e 6b 5b 35 31 32 | 5d 3b 09 2f 2a 20 73 63 |junk[512|];./* sc|
|00003170| 72 61 74 63 68 70 61 64 | 20 2a 2f 0a 09 63 68 61 |ratchpad| */..cha|
|00003180| 72 20 63 6d 64 5b 32 30 | 30 30 5d 3b 0a 09 72 65 |r cmd[20|00];..re|
|00003190| 67 69 73 74 65 72 20 63 | 68 61 72 20 2a 63 70 3b |gister c|har *cp;|
|000031a0| 0a 09 72 65 67 69 73 74 | 65 72 20 63 68 61 72 20 |..regist|er char |
|000031b0| 2a 75 66 3b 09 2f 2a 20 | 70 74 72 20 69 6e 74 6f |*uf;./* |ptr into|
|000031c0| 20 75 66 72 6f 6d 20 2a | 2f 0a 09 69 6e 74 20 69 | ufrom *|/..int i|
|000031d0| 3b 0a 0a 23 20 69 66 64 | 65 66 20 44 45 42 55 47 |;..# ifd|ef DEBUG|
|000031e0| 0a 09 69 66 20 28 61 72 | 67 63 20 3e 20 31 20 26 |..if (ar|gc > 1 &|
|000031f0| 26 20 73 74 72 63 6d 70 | 28 61 72 67 76 5b 31 5d |& strcmp|(argv[1]|
|00003200| 2c 20 22 2d 54 22 29 20 | 3d 3d 20 30 29 0a 09 7b |, "-T") |== 0)..{|
|00003210| 0a 09 09 44 65 62 75 67 | 20 3d 20 54 52 55 45 3b |...Debug| = TRUE;|
|00003220| 0a 09 09 61 72 67 63 2d | 2d 3b 0a 09 09 61 72 67 |...argc-|-;...arg|
|00003230| 76 2b 2b 3b 0a 09 7d 0a | 23 20 65 6e 64 69 66 20 |v++;..}.|# endif |
|00003240| 44 45 42 55 47 0a 0a 09 | 69 66 20 28 61 72 67 63 |DEBUG...|if (argc|
|00003250| 20 3c 20 32 29 0a 09 7b | 0a 09 09 66 70 72 69 6e | < 2)..{|...fprin|
|00003260| 74 66 28 73 74 64 65 72 | 72 2c 20 22 55 73 61 67 |tf(stder|r, "Usag|
|00003270| 65 3a 20 72 6d 61 69 6c | 20 75 73 65 72 20 2e 2e |e: rmail| user ..|
|00003280| 2e 5c 6e 22 29 3b 0a 09 | 09 65 78 69 74 28 45 58 |.\n");..|.exit(EX|
|00003290| 5f 55 53 41 47 45 29 3b | 0a 09 7d 0a 0a 09 28 76 |_USAGE);|..}...(v|
|000032a0| 6f 69 64 29 20 73 74 72 | 63 70 79 28 66 72 6f 6d |oid) str|cpy(from|
|000032b0| 2c 20 22 22 29 3b 0a 09 | 28 76 6f 69 64 29 20 73 |, "");..|(void) s|
|000032c0| 74 72 63 70 79 28 75 66 | 72 6f 6d 2c 20 22 2f 64 |trcpy(uf|rom, "/d|
|000032d0| 65 76 2f 6e 75 6c 6c 22 | 29 3b 0a 09 75 66 20 3d |ev/null"|);..uf =|
|000032e0| 20 4e 55 4c 4c 3b 0a 0a | 09 66 6f 72 20 28 3b 3b | NULL;..|.for (;;|
|000032f0| 29 0a 09 7b 0a 09 09 28 | 76 6f 69 64 29 20 66 67 |)..{...(|void) fg|
|00003300| 65 74 73 28 6c 62 75 66 | 2c 20 73 69 7a 65 6f 66 |ets(lbuf|, sizeof|
|00003310| 20 6c 62 75 66 2c 20 73 | 74 64 69 6e 29 3b 0a 09 | lbuf, s|tdin);..|
|00003320| 09 69 66 20 28 73 74 72 | 6e 63 6d 70 28 6c 62 75 |.if (str|ncmp(lbu|
|00003330| 66 2c 20 22 46 72 6f 6d | 20 22 2c 20 35 29 20 21 |f, "From| ", 5) !|
|00003340| 3d 20 30 20 26 26 20 73 | 74 72 6e 63 6d 70 28 6c |= 0 && s|trncmp(l|
|00003350| 62 75 66 2c 20 22 3e 46 | 72 6f 6d 20 22 2c 20 36 |buf, ">F|rom ", 6|
|00003360| 29 20 21 3d 20 30 29 0a | 09 09 09 62 72 65 61 6b |) != 0).|...break|
|00003370| 3b 0a 09 09 28 76 6f 69 | 64 29 20 73 73 63 61 6e |;...(voi|d) sscan|
|00003380| 66 28 6c 62 75 66 2c 20 | 22 25 73 20 25 73 22 2c |f(lbuf, |"%s %s",|
|00003390| 20 6a 75 6e 6b 2c 20 75 | 66 72 6f 6d 29 3b 0a 09 | junk, u|from);..|
|000033a0| 09 63 70 20 3d 20 6c 62 | 75 66 3b 0a 09 09 75 66 |.cp = lb|uf;...uf|
|000033b0| 20 3d 20 75 66 72 6f 6d | 3b 0a 09 09 66 6f 72 20 | = ufrom|;...for |
|000033c0| 28 3b 3b 29 0a 09 09 7b | 0a 09 09 09 63 70 20 3d |(;;)...{|....cp =|
|000033d0| 20 69 6e 64 65 78 28 63 | 70 2b 31 2c 20 27 72 27 | index(c|p+1, 'r'|
|000033e0| 29 3b 0a 09 09 09 69 66 | 20 28 63 70 20 3d 3d 20 |);....if| (cp == |
|000033f0| 4e 55 4c 4c 29 0a 09 09 | 09 7b 0a 09 09 09 09 72 |NULL)...|.{.....r|
|00003400| 65 67 69 73 74 65 72 20 | 63 68 61 72 20 2a 70 20 |egister |char *p |
|00003410| 3d 20 72 69 6e 64 65 78 | 28 75 66 2c 20 27 21 27 |= rindex|(uf, '!'|
|00003420| 29 3b 0a 0a 09 09 09 09 | 69 66 20 28 70 20 21 3d |);......|if (p !=|
|00003430| 20 4e 55 4c 4c 29 0a 09 | 09 09 09 7b 0a 09 09 09 | NULL)..|...{....|
|00003440| 09 09 2a 70 20 3d 20 27 | 5c 30 27 3b 0a 09 09 09 |..*p = '|\0';....|
|00003450| 09 09 69 66 20 28 75 66 | 20 21 3d 20 4e 55 4c 4c |..if (uf| != NULL|
|00003460| 29 20 0a 09 09 09 09 09 | 09 28 76 6f 69 64 29 20 |) ......|.(void) |
|00003470| 73 74 72 63 70 79 28 73 | 79 73 2c 20 75 66 29 3b |strcpy(s|ys, uf);|
|00003480| 0a 09 09 09 09 09 65 6c | 73 65 0a 09 09 09 09 09 |......el|se......|
|00003490| 09 67 65 74 68 6f 73 74 | 6e 61 6d 65 28 73 79 73 |.gethost|name(sys|
|000034a0| 2c 33 32 29 3b 0a 09 09 | 09 09 09 75 66 20 3d 20 |,32);...|...uf = |
|000034b0| 70 20 2b 20 31 3b 0a 09 | 09 09 09 09 62 72 65 61 |p + 1;..|....brea|
|000034c0| 6b 3b 0a 09 09 09 09 7d | 0a 09 09 09 09 63 70 20 |k;.....}|.....cp |
|000034d0| 3d 20 22 72 65 6d 6f 74 | 65 20 66 72 6f 6d 20 73 |= "remot|e from s|
|000034e0| 6f 6d 65 77 68 65 72 65 | 22 3b 0a 09 09 09 7d 0a |omewhere|";....}.|
|000034f0| 23 69 66 64 65 66 20 44 | 45 42 55 47 0a 09 09 09 |#ifdef D|EBUG....|
|00003500| 69 66 20 28 44 65 62 75 | 67 29 0a 09 09 09 09 70 |if (Debu|g).....p|
|00003510| 72 69 6e 74 66 28 22 63 | 70 3d 27 25 73 27 5c 6e |rintf("c|p='%s'\n|
|00003520| 22 2c 20 63 70 29 3b 0a | 23 65 6e 64 69 66 0a 09 |", cp);.|#endif..|
|00003530| 09 09 69 66 20 28 73 74 | 72 6e 63 6d 70 28 63 70 |..if (st|rncmp(cp|
|00003540| 2c 20 22 72 65 6d 6f 74 | 65 20 66 72 6f 6d 20 22 |, "remot|e from "|
|00003550| 2c 20 31 32 29 3d 3d 30 | 29 0a 09 09 09 09 62 72 |, 12)==0|).....br|
|00003560| 65 61 6b 3b 0a 09 09 7d | 0a 09 09 69 66 20 28 63 |eak;...}|...if (c|
|00003570| 70 20 21 3d 20 4e 55 4c | 4c 29 0a 09 09 09 28 76 |p != NUL|L)....(v|
|00003580| 6f 69 64 29 20 73 73 63 | 61 6e 66 28 63 70 2c 20 |oid) ssc|anf(cp, |
|00003590| 22 72 65 6d 6f 74 65 20 | 66 72 6f 6d 20 25 73 22 |"remote |from %s"|
|000035a0| 2c 20 73 79 73 29 3b 0a | 09 09 28 76 6f 69 64 29 |, sys);.|..(void)|
|000035b0| 20 73 74 72 63 61 74 28 | 66 72 6f 6d 2c 20 73 79 | strcat(|from, sy|
|000035c0| 73 29 3b 0a 09 09 28 76 | 6f 69 64 29 20 73 74 72 |s);...(v|oid) str|
|000035d0| 63 61 74 28 66 72 6f 6d | 2c 20 22 21 22 29 3b 0a |cat(from|, "!");.|
|000035e0| 23 69 66 64 65 66 20 44 | 45 42 55 47 0a 09 09 69 |#ifdef D|EBUG...i|
|000035f0| 66 20 28 44 65 62 75 67 | 29 0a 09 09 09 70 72 69 |f (Debug|)....pri|
|00003600| 6e 74 66 28 22 75 66 72 | 6f 6d 3d 27 25 73 27 2c |ntf("ufr|om='%s',|
|00003610| 20 73 79 73 3d 27 25 73 | 27 2c 20 66 72 6f 6d 20 | sys='%s|', from |
|00003620| 6e 6f 77 20 27 25 73 27 | 5c 6e 22 2c 20 75 66 2c |now '%s'|\n", uf,|
|00003630| 20 73 79 73 2c 20 66 72 | 6f 6d 29 3b 0a 23 65 6e | sys, fr|om);.#en|
|00003640| 64 69 66 0a 09 7d 0a 09 | 69 66 20 28 75 66 20 21 |dif..}..|if (uf !|
|00003650| 3d 20 4e 55 4c 4c 29 0a | 09 09 28 76 6f 69 64 29 |= NULL).|..(void)|
|00003660| 20 73 74 72 63 61 74 28 | 66 72 6f 6d 2c 20 75 66 | strcat(|from, uf|
|00003670| 29 3b 0a 0a 2f 2a 09 28 | 76 6f 69 64 29 20 73 70 |);../*.(|void) sp|
|00003680| 72 69 6e 74 66 28 63 6d | 64 2c 20 22 65 78 65 63 |rintf(cm|d, "exec|
|00003690| 20 25 73 20 2d 65 6d 20 | 2d 66 25 73 22 2c 20 4d | %s -em |-f%s", M|
|000036a0| 41 49 4c 45 52 2c 20 66 | 72 6f 6d 29 3b 2a 2f 0a |AILER, f|rom);*/.|
|000036b0| 09 69 66 20 28 66 72 6f | 6d 5b 30 5d 20 3d 3d 20 |.if (fro|m[0] == |
|000036c0| 27 5c 30 27 29 0a 09 09 | 28 76 6f 69 64 29 20 73 |'\0')...|(void) s|
|000036d0| 70 72 69 6e 74 66 28 63 | 6d 64 2c 20 22 65 78 65 |printf(c|md, "exe|
|000036e0| 63 20 25 73 22 2c 20 4d | 41 49 4c 45 52 29 3b 0a |c %s", M|AILER);.|
|000036f0| 09 65 6c 73 65 0a 09 09 | 28 76 6f 69 64 29 20 73 |.else...|(void) s|
|00003700| 70 72 69 6e 74 66 28 63 | 6d 64 2c 20 22 65 78 65 |printf(c|md, "exe|
|00003710| 63 20 25 73 20 2d 66 25 | 73 22 2c 20 4d 41 49 4c |c %s -f%|s", MAIL|
|00003720| 45 52 2c 20 66 72 6f 6d | 29 3b 0a 09 77 68 69 6c |ER, from|);..whil|
|00003730| 65 20 28 2a 2b 2b 61 72 | 67 76 20 21 3d 20 4e 55 |e (*++ar|gv != NU|
|00003740| 4c 4c 29 0a 09 7b 0a 09 | 09 28 76 6f 69 64 29 20 |LL)..{..|.(void) |
|00003750| 73 74 72 63 61 74 28 63 | 6d 64 2c 20 22 20 27 22 |strcat(c|md, " '"|
|00003760| 29 3b 0a 09 09 69 66 20 | 28 2a 2a 61 72 67 76 20 |);...if |(**argv |
|00003770| 3d 3d 20 27 28 27 29 0a | 09 09 09 28 76 6f 69 64 |== '(').|...(void|
|00003780| 29 20 73 74 72 6e 63 61 | 74 28 63 6d 64 2c 20 2a |) strnca|t(cmd, *|
|00003790| 61 72 67 76 20 2b 20 31 | 2c 20 73 74 72 6c 65 6e |argv + 1|, strlen|
|000037a0| 28 2a 61 72 67 76 29 20 | 2d 20 32 29 3b 0a 09 09 |(*argv) |- 2);...|
|000037b0| 65 6c 73 65 0a 09 09 09 | 28 76 6f 69 64 29 20 73 |else....|(void) s|
|000037c0| 74 72 63 61 74 28 63 6d | 64 2c 20 2a 61 72 67 76 |trcat(cm|d, *argv|
|000037d0| 29 3b 0a 09 09 28 76 6f | 69 64 29 20 73 74 72 63 |);...(vo|id) strc|
|000037e0| 61 74 28 63 6d 64 2c 20 | 22 27 22 29 3b 0a 09 7d |at(cmd, |"'");..}|
|000037f0| 0a 23 69 66 64 65 66 20 | 44 45 42 55 47 0a 09 69 |.#ifdef |DEBUG..i|
|00003800| 66 20 28 44 65 62 75 67 | 29 0a 09 09 70 72 69 6e |f (Debug|)...prin|
|00003810| 74 66 28 22 63 6d 64 3d | 27 25 73 27 5c 6e 22 2c |tf("cmd=|'%s'\n",|
|00003820| 20 63 6d 64 29 3b 0a 23 | 65 6e 64 69 66 0a 09 6f | cmd);.#|endif..o|
|00003830| 75 74 20 3d 20 70 6f 70 | 65 6e 28 63 6d 64 2c 20 |ut = pop|en(cmd, |
|00003840| 22 77 22 29 3b 0a 09 66 | 70 75 74 73 28 6c 62 75 |"w");..f|puts(lbu|
|00003850| 66 2c 20 6f 75 74 29 3b | 0a 09 77 68 69 6c 65 20 |f, out);|..while |
|00003860| 28 66 67 65 74 73 28 6c | 62 75 66 2c 20 73 69 7a |(fgets(l|buf, siz|
|00003870| 65 6f 66 20 6c 62 75 66 | 2c 20 73 74 64 69 6e 29 |eof lbuf|, stdin)|
|00003880| 29 0a 09 09 66 70 75 74 | 73 28 6c 62 75 66 2c 20 |)...fput|s(lbuf, |
|00003890| 6f 75 74 29 3b 0a 09 69 | 20 3d 20 70 63 6c 6f 73 |out);..i| = pclos|
|000038a0| 65 28 6f 75 74 29 3b 0a | 09 69 66 20 28 28 69 20 |e(out);.|.if ((i |
|000038b0| 26 20 30 33 37 37 29 20 | 21 3d 20 30 29 0a 09 7b |& 0377) |!= 0)..{|
|000038c0| 0a 09 09 66 70 72 69 6e | 74 66 28 73 74 64 65 72 |...fprin|tf(stder|
|000038d0| 72 2c 20 22 70 63 6c 6f | 73 65 3a 20 73 74 61 74 |r, "pclo|se: stat|
|000038e0| 75 73 20 30 25 6f 5c 6e | 22 2c 20 69 29 3b 0a 09 |us 0%o\n|", i);..|
|000038f0| 09 65 78 69 74 28 45 58 | 5f 4f 53 45 52 52 29 3b |.exit(EX|_OSERR);|
|00003900| 0a 09 7d 0a 0a 09 65 78 | 69 74 28 28 69 20 3e 3e |..}...ex|it((i >>|
|00003910| 20 38 29 20 26 20 30 33 | 37 37 29 3b 0a 7d 0a 53 | 8) & 03|77);.}.S|
|00003920| 48 41 52 5f 45 4f 46 0a | 69 66 20 74 65 73 74 20 |HAR_EOF.|if test |
|00003930| 33 35 33 33 20 2d 6e 65 | 20 22 60 77 63 20 2d 63 |3533 -ne| "`wc -c|
|00003940| 20 3c 20 27 72 6d 61 69 | 6c 2e 63 27 60 22 0a 74 | < 'rmai|l.c'`".t|
|00003950| 68 65 6e 0a 09 65 63 68 | 6f 20 73 68 61 72 3a 20 |hen..ech|o shar: |
|00003960| 65 72 72 6f 72 20 74 72 | 61 6e 73 6d 69 74 74 69 |error tr|ansmitti|
|00003970| 6e 67 20 22 27 72 6d 61 | 69 6c 2e 63 27 22 20 27 |ng "'rma|il.c'" '|
|00003980| 28 73 68 6f 75 6c 64 20 | 68 61 76 65 20 62 65 65 |(should |have bee|
|00003990| 6e 20 33 35 33 33 20 63 | 68 61 72 61 63 74 65 72 |n 3533 c|haracter|
|000039a0| 73 29 27 0a 66 69 0a 66 | 69 0a 65 63 68 6f 20 73 |s)'.fi.f|i.echo s|
|000039b0| 68 61 72 3a 20 65 78 74 | 72 61 63 74 69 6e 67 20 |har: ext|racting |
|000039c0| 22 27 61 64 64 72 65 73 | 73 2e 63 27 22 20 27 28 |"'addres|s.c'" '(|
|000039d0| 31 32 32 38 20 63 68 61 | 72 61 63 74 65 72 73 29 |1228 cha|racters)|
|000039e0| 27 0a 69 66 20 74 65 73 | 74 20 2d 66 20 27 61 64 |'.if tes|t -f 'ad|
|000039f0| 64 72 65 73 73 2e 63 27 | 0a 74 68 65 6e 0a 09 65 |dress.c'|.then..e|
|00003a00| 63 68 6f 20 73 68 61 72 | 3a 20 77 69 6c 6c 20 6e |cho shar|: will n|
|00003a10| 6f 74 20 6f 76 65 72 2d | 77 72 69 74 65 20 65 78 |ot over-|write ex|
|00003a20| 69 73 74 69 6e 67 20 66 | 69 6c 65 20 22 27 61 64 |isting f|ile "'ad|
|00003a30| 64 72 65 73 73 2e 63 27 | 22 0a 65 6c 73 65 0a 63 |dress.c'|".else.c|
|00003a40| 61 74 20 3c 3c 20 5c 53 | 48 41 52 5f 45 4f 46 20 |at << \S|HAR_EOF |
|00003a50| 3e 20 27 61 64 64 72 65 | 73 73 2e 63 27 0a 2f 2a |> 'addre|ss.c'./*|
|00003a60| 0a 20 2a 20 61 64 64 72 | 65 73 73 20 2d 20 72 75 |. * addr|ess - ru|
|00003a70| 6e 20 6f 70 61 74 68 20 | 74 6f 20 73 65 65 20 77 |n opath |to see w|
|00003a80| 68 61 74 20 61 20 74 72 | 61 6e 73 6c 61 74 65 64 |hat a tr|anslated|
|00003a90| 20 52 46 43 38 32 32 20 | 61 64 64 72 65 73 73 20 | RFC822 |address |
|00003aa0| 77 69 6c 6c 20 63 6f 6d | 65 0a 20 2a 20 6f 75 74 |will com|e. * out|
|00003ab0| 20 61 73 2e 0a 20 2a 0a | 20 2a 20 42 79 20 45 2e | as.. *.| * By E.|
|00003ac0| 20 52 6f 73 6b 6f 73 20 | 31 2f 31 36 2f 38 35 0a | Roskos |1/16/85.|
|00003ad0| 20 2a 20 24 4c 6f 67 3a | 09 61 64 64 72 65 73 73 | * $Log:|.address|
|00003ae0| 2e 63 2c 76 20 24 0a 20 | 2a 20 52 65 76 69 73 69 |.c,v $. |* Revisi|
|00003af0| 6f 6e 20 33 2e 30 20 20 | 38 36 2f 30 33 2f 31 34 |on 3.0 |86/03/14|
|00003b00| 20 20 31 32 3a 30 34 3a | 31 39 20 20 73 6f 62 0a | 12:04:|19 sob.|
|00003b10| 20 2a 20 52 65 6c 65 61 | 73 65 20 6f 66 20 33 2f | * Relea|se of 3/|
|00003b20| 31 35 2f 38 36 20 2d 2d | 2d 20 33 72 64 20 52 65 |15/86 --|- 3rd Re|
|00003b30| 6c 65 61 73 65 0a 20 2a | 20 0a 20 2a 20 52 65 76 |lease. *| . * Rev|
|00003b40| 69 73 69 6f 6e 20 31 2e | 34 20 20 38 35 2f 31 32 |ision 1.|4 85/12|
|00003b50| 2f 32 36 20 20 31 35 3a | 34 37 3a 34 35 20 20 73 |/26 15:|47:45 s|
|00003b60| 6f 62 0a 20 2a 20 41 64 | 64 65 64 20 6d 6f 64 69 |ob. * Ad|ded modi|
|00003b70| 66 69 63 61 74 69 6f 6e | 73 20 73 75 67 67 65 73 |fication|s sugges|
|00003b80| 74 65 64 20 62 79 20 74 | 65 72 72 79 25 6f 77 6c |ted by t|erry%owl|
|00003b90| 40 72 61 6e 64 2d 75 6e | 69 78 2e 41 52 50 41 0a |@rand-un|ix.ARPA.|
|00003ba0| 20 2a 20 0a 20 2a 20 52 | 65 76 69 73 69 6f 6e 20 | * . * R|evision |
|00003bb0| 31 2e 33 20 20 38 35 2f | 31 31 2f 32 34 20 20 31 |1.3 85/|11/24 1|
|00003bc0| 34 3a 35 30 3a 30 31 20 | 20 73 6f 62 0a 20 2a 20 |4:50:01 | sob. * |
|00003bd0| 41 64 64 65 64 20 63 6f | 72 72 65 63 74 69 6f 6e |Added co|rrection|
|00003be0| 73 20 70 72 6f 76 69 64 | 65 64 20 62 79 20 72 65 |s provid|ed by re|
|00003bf0| 67 69 6e 61 21 6d 61 72 | 6b 0a 20 2a 20 0a 20 2a |gina!mar|k. * . *|
|00003c00| 20 52 65 76 69 73 69 6f | 6e 20 31 2e 32 20 20 38 | Revisio|n 1.2 8|
|00003c10| 35 2f 30 39 2f 31 36 20 | 20 31 38 3a 33 31 3a 35 |5/09/16 | 18:31:5|
|00003c20| 33 20 20 73 6f 62 0a 20 | 2a 20 41 64 64 65 64 20 |3 sob. |* Added |
|00003c30| 44 45 42 55 47 20 66 6c | 61 67 0a 20 2a 20 0a 20 |DEBUG fl|ag. * . |
|00003c40| 2a 20 52 65 76 69 73 69 | 6f 6e 20 31 2e 31 20 20 |* Revisi|on 1.1 |
|00003c50| 38 35 2f 30 39 2f 31 36 | 20 20 31 37 3a 35 30 3a |85/09/16| 17:50:|
|00003c60| 32 34 20 20 73 6f 62 0a | 20 2a 20 49 6e 69 74 69 |24 sob.| * Initi|
|00003c70| 61 6c 20 72 65 76 69 73 | 69 6f 6e 0a 20 2a 20 0a |al revis|ion. * .|
|00003c80| 20 2a 2f 0a 23 64 65 66 | 69 6e 65 20 5f 44 45 46 | */.#def|ine _DEF|
|00003c90| 49 4e 45 0a 23 69 6e 63 | 6c 75 64 65 20 22 75 75 |INE.#inc|lude "uu|
|00003ca0| 63 6f 6e 66 2e 68 22 0a | 0a 73 74 61 74 69 63 20 |conf.h".|.static |
|00003cb0| 63 68 61 72 20 72 63 73 | 69 64 5b 5d 20 3d 20 22 |char rcs|id[] = "|
|00003cc0| 24 48 65 61 64 65 72 3a | 20 61 64 64 72 65 73 73 |$Header:| address|
|00003cd0| 2e 63 2c 76 20 33 2e 30 | 20 38 36 2f 30 33 2f 31 |.c,v 3.0| 86/03/1|
|00003ce0| 34 20 31 32 3a 30 34 3a | 31 39 20 73 6f 62 20 52 |4 12:04:|19 sob R|
|00003cf0| 45 4c 45 41 53 45 5f 33 | 20 24 22 3b 0a 0a 45 58 |ELEASE_3| $";..EX|
|00003d00| 54 45 52 4e 20 63 68 61 | 72 20 2a 70 61 74 68 73 |TERN cha|r *paths|
|00003d10| 3b 0a 63 68 61 72 20 2a | 6f 70 61 74 68 28 29 2c |;.char *|opath(),|
|00003d20| 20 2a 6f 75 70 61 74 68 | 28 29 3b 0a 69 6e 74 20 | *oupath|();.int |
|00003d30| 44 65 62 75 67 3b 0a 0a | 6d 61 69 6e 28 61 72 67 |Debug;..|main(arg|
|00003d40| 63 2c 61 72 67 76 29 0a | 69 6e 74 20 61 72 67 63 |c,argv).|int argc|
|00003d50| 3b 0a 63 68 61 72 20 2a | 2a 61 72 67 76 3b 0a 7b |;.char *|*argv;.{|
|00003d60| 0a 63 68 61 72 20 2a 70 | 3b 0a 69 6e 74 20 75 73 |.char *p|;.int us|
|00003d70| 77 69 74 63 68 3b 0a 0a | 70 61 74 68 73 20 3d 20 |witch;..|paths = |
|00003d80| 44 41 54 41 42 41 53 45 | 3b 0a 43 6f 6e 66 46 69 |DATABASE|;.ConfFi|
|00003d90| 6c 65 3d 43 4f 4e 46 49 | 47 46 49 4c 45 3b 0a 0a |le=CONFI|GFILE;..|
|00003da0| 09 69 66 20 28 61 72 67 | 63 20 3c 20 32 29 0a 09 |.if (arg|c < 2)..|
|00003db0| 7b 0a 09 09 66 70 72 69 | 6e 74 66 28 73 74 64 65 |{...fpri|ntf(stde|
|00003dc0| 72 72 2c 22 75 73 61 67 | 65 3a 20 25 73 20 72 66 |rr,"usag|e: %s rf|
|00003dd0| 63 61 64 64 72 65 73 73 | 20 5b 2e 2e 2e 5d 5c 6e |caddress| [...]\n|
|00003de0| 22 2c 0a 09 09 09 61 72 | 67 76 5b 30 5d 29 3b 0a |",....ar|gv[0]);.|
|00003df0| 09 09 65 78 69 74 28 31 | 29 3b 0a 09 7d 0a 0a 09 |..exit(1|);..}...|
|00003e00| 77 68 69 6c 65 20 28 2d | 2d 61 72 67 63 29 0a 09 |while (-|-argc)..|
|00003e10| 7b 0a 09 09 70 20 3d 20 | 2a 2b 2b 61 72 67 76 3b |{...p = |*++argv;|
|00003e20| 0a 09 09 69 66 20 28 2a | 70 3d 3d 27 2d 27 29 0a |...if (*|p=='-').|
|00003e30| 09 09 7b 0a 09 09 09 73 | 77 69 74 63 68 28 2a 2b |..{....s|witch(*+|
|00003e40| 2b 70 29 0a 09 09 09 7b | 0a 09 09 09 63 61 73 65 |+p)....{|....case|
|00003e50| 20 27 75 27 3a 20 75 73 | 77 69 74 63 68 2b 2b 3b | 'u': us|witch++;|
|00003e60| 0a 09 09 09 09 20 20 63 | 6f 6e 74 69 6e 75 65 3b |..... c|ontinue;|
|00003e70| 0a 09 09 09 63 61 73 65 | 20 27 64 27 3a 20 44 65 |....case| 'd': De|
|00003e80| 62 75 67 2b 2b 3b 0a 09 | 09 09 20 20 20 20 20 20 |bug++;..|.. |
|00003e90| 20 20 20 20 63 6f 6e 74 | 69 6e 75 65 3b 0a 09 09 | cont|inue;...|
|00003ea0| 09 64 65 66 61 75 6c 74 | 3a 20 20 70 72 69 6e 74 |.default|: print|
|00003eb0| 66 28 22 75 6e 6b 6e 6f | 77 6e 20 73 77 69 74 63 |f("unkno|wn switc|
|00003ec0| 68 3a 20 25 63 5c 6e 22 | 2c 2a 70 29 3b 0a 09 09 |h: %c\n"|,*p);...|
|00003ed0| 09 09 20 20 63 6f 6e 74 | 69 6e 75 65 3b 0a 09 09 |.. cont|inue;...|
|00003ee0| 09 7d 0a 09 09 7d 0a 09 | 09 70 72 69 6e 74 66 28 |.}...}..|.printf(|
|00003ef0| 22 25 73 3a 20 25 73 5c | 6e 22 2c 70 2c 75 73 77 |"%s: %s\|n",p,usw|
|00003f00| 69 74 63 68 3f 6f 75 70 | 61 74 68 28 70 29 3a 6f |itch?oup|ath(p):o|
|00003f10| 70 61 74 68 28 70 29 29 | 3b 0a 09 7d 0a 0a 09 65 |path(p))|;..}...e|
|00003f20| 78 69 74 28 30 29 3b 0a | 7d 0a 53 48 41 52 5f 45 |xit(0);.|}.SHAR_E|
|00003f30| 4f 46 0a 69 66 20 74 65 | 73 74 20 31 32 32 38 20 |OF.if te|st 1228 |
|00003f40| 2d 6e 65 20 22 60 77 63 | 20 2d 63 20 3c 20 27 61 |-ne "`wc| -c < 'a|
|00003f50| 64 64 72 65 73 73 2e 63 | 27 60 22 0a 74 68 65 6e |ddress.c|'`".then|
|00003f60| 0a 09 65 63 68 6f 20 73 | 68 61 72 3a 20 65 72 72 |..echo s|har: err|
|00003f70| 6f 72 20 74 72 61 6e 73 | 6d 69 74 74 69 6e 67 20 |or trans|mitting |
|00003f80| 22 27 61 64 64 72 65 73 | 73 2e 63 27 22 20 27 28 |"'addres|s.c'" '(|
|00003f90| 73 68 6f 75 6c 64 20 68 | 61 76 65 20 62 65 65 6e |should h|ave been|
|00003fa0| 20 31 32 32 38 20 63 68 | 61 72 61 63 74 65 72 73 | 1228 ch|aracters|
|00003fb0| 29 27 0a 66 69 0a 66 69 | 0a 65 63 68 6f 20 73 68 |)'.fi.fi|.echo sh|
|00003fc0| 61 72 3a 20 65 78 74 72 | 61 63 74 69 6e 67 20 22 |ar: extr|acting "|
|00003fd0| 27 6d 61 6b 65 66 69 6c | 65 27 22 20 27 28 33 30 |'makefil|e'" '(30|
|00003fe0| 39 35 20 63 68 61 72 61 | 63 74 65 72 73 29 27 0a |95 chara|cters)'.|
|00003ff0| 69 66 20 74 65 73 74 20 | 2d 66 20 27 6d 61 6b 65 |if test |-f 'make|
|00004000| 66 69 6c 65 27 0a 74 68 | 65 6e 0a 09 65 63 68 6f |file'.th|en..echo|
|00004010| 20 73 68 61 72 3a 20 77 | 69 6c 6c 20 6e 6f 74 20 | shar: w|ill not |
|00004020| 6f 76 65 72 2d 77 72 69 | 74 65 20 65 78 69 73 74 |over-wri|te exist|
|00004030| 69 6e 67 20 66 69 6c 65 | 20 22 27 6d 61 6b 65 66 |ing file| "'makef|
|00004040| 69 6c 65 27 22 0a 65 6c | 73 65 0a 63 61 74 20 3c |ile'".el|se.cat <|
|00004050| 3c 20 5c 53 48 41 52 5f | 45 4f 46 20 3e 20 27 6d |< \SHAR_|EOF > 'm|
|00004060| 61 6b 65 66 69 6c 65 27 | 0a 23 23 23 23 23 23 23 |akefile'|.#######|
|00004070| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004080| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004090| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000040a0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 0a 23 20 |########|#####.# |
|000040b0| 6d 61 6b 65 66 69 6c 65 | 20 66 6f 72 20 75 75 6d |makefile| for uum|
|000040c0| 61 69 6c 20 26 20 75 75 | 70 61 74 68 0a 23 20 70 |ail & uu|path.# p|
|000040d0| 72 6f 67 72 61 6d 20 74 | 6f 20 69 6e 74 65 67 72 |rogram t|o integr|
|000040e0| 61 74 65 20 77 69 74 68 | 20 70 61 74 68 61 6c 69 |ate with| pathali|
|000040f0| 61 73 20 63 72 65 61 74 | 65 64 20 75 75 63 70 6d |as creat|ed uucpm|
|00004100| 61 70 20 64 61 74 61 62 | 61 73 65 73 0a 23 20 70 |ap datab|ases.# p|
|00004110| 72 6f 67 72 61 6d 73 20 | 6f 72 69 67 69 6e 61 6c |rograms |original|
|00004120| 6c 79 20 64 65 76 65 6c | 6f 70 65 64 20 62 79 20 |ly devel|oped by |
|00004130| 4a 65 66 66 20 44 6f 6e | 6e 65 6c 6c 79 0a 23 20 |Jeff Don|nelly.# |
|00004140| 75 70 64 61 74 65 64 20 | 74 6f 20 75 73 65 20 70 |updated |to use p|
|00004150| 61 74 68 61 6c 69 61 73 | 20 64 61 74 61 62 61 73 |athalias| databas|
|00004160| 65 20 62 79 20 53 74 61 | 6e 20 42 61 72 62 65 72 |e by Sta|n Barber|
|00004170| 0a 23 20 24 48 65 61 64 | 65 72 3a 20 6d 61 6b 65 |.# $Head|er: make|
|00004180| 66 69 6c 65 2c 76 20 31 | 2e 35 20 38 36 2f 30 32 |file,v 1|.5 86/02|
|00004190| 2f 32 36 20 30 33 3a 33 | 33 3a 31 30 20 73 6f 62 |/26 03:3|3:10 sob|
|000041a0| 20 45 78 70 20 24 0a 23 | 2a 2a 2a 2a 2a 2a 2a 2a | Exp $.#|********|
|000041b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000041c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000041d0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000041e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000041f0| 2a 2a 2a 0a 23 20 54 68 | 69 73 20 77 6f 72 6b 20 |***.# Th|is work |
|00004200| 69 6e 20 69 74 73 20 63 | 75 72 72 65 6e 74 20 66 |in its c|urrent f|
|00004210| 6f 72 6d 20 69 73 20 43 | 6f 70 79 72 69 67 68 74 |orm is C|opyright|
|00004220| 20 31 39 38 36 20 53 74 | 61 6e 20 42 61 72 62 65 | 1986 St|an Barbe|
|00004230| 72 0a 23 20 77 69 74 68 | 20 74 68 65 20 65 78 63 |r.# with| the exc|
|00004240| 65 70 74 69 6f 6e 20 6f | 66 20 6f 70 61 74 68 2c |eption o|f opath,|
|00004250| 20 67 65 74 68 6f 73 74 | 6e 61 6d 65 20 61 6e 64 | gethost|name and|
|00004260| 20 74 68 65 20 6f 72 69 | 67 69 6e 61 6c 20 67 65 | the ori|ginal ge|
|00004270| 74 70 61 74 68 20 77 68 | 69 63 68 0a 23 20 61 73 |tpath wh|ich.# as|
|00004280| 20 66 61 72 20 61 73 20 | 49 20 6b 6e 6f 77 20 61 | far as |I know a|
|00004290| 72 65 20 69 6e 20 74 68 | 65 20 50 75 62 6c 69 63 |re in th|e Public|
|000042a0| 20 44 6f 6d 61 69 6e 2e | 20 54 68 69 73 20 73 6f | Domain.| This so|
|000042b0| 66 74 77 61 72 65 20 6d | 61 79 20 62 65 20 64 69 |ftware m|ay be di|
|000042c0| 73 74 72 69 62 75 74 65 | 64 0a 23 20 66 72 65 65 |stribute|d.# free|
|000042d0| 6c 79 20 61 73 20 6c 6f | 6e 67 20 61 73 20 6e 6f |ly as lo|ng as no|
|000042e0| 20 70 72 6f 66 69 74 20 | 69 73 20 6d 61 64 65 20 | profit |is made |
|000042f0| 66 72 6f 6d 20 73 75 63 | 68 20 64 69 73 74 72 69 |from suc|h distri|
|00004300| 62 75 74 69 6f 6e 20 61 | 6e 64 20 74 68 69 73 20 |bution a|nd this |
|00004310| 6e 6f 74 69 63 65 0a 23 | 20 69 73 20 72 65 70 72 |notice.#| is repr|
|00004320| 6f 64 75 63 74 65 64 20 | 69 6e 20 77 68 6f 6c 65 |oducted |in whole|
|00004330| 2e 0a 23 20 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |..# ****|********|
|00004340| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004350| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004360| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004370| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 0a |********|*******.|
|00004380| 23 20 0a 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |# .#####|########|
|00004390| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000043a0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000043b0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000043c0| 23 23 0a 2e 53 55 46 46 | 49 58 45 53 3a 20 2e 63 |##..SUFF|IXES: .c|
|000043d0| 2c 76 20 2e 68 2c 76 0a | 0a 0a 0a 4c 49 42 53 3d |,v .h,v.|...LIBS=|
|000043e0| 0a 0a 42 49 4e 44 49 52 | 3d 2f 75 73 72 2f 6c 62 |..BINDIR|=/usr/lb|
|000043f0| 69 6e 0a 0a 55 55 43 50 | 44 49 52 3d 2f 75 73 72 |in..UUCP|DIR=/usr|
|00004400| 2f 6c 69 62 2f 75 75 63 | 70 0a 0a 4c 49 42 44 49 |/lib/uuc|p..LIBDI|
|00004410| 52 3d 2f 75 73 72 2f 6c | 69 62 0a 0a 55 55 4d 41 |R=/usr/l|ib..UUMA|
|00004420| 49 4c 3d 24 28 55 55 43 | 50 44 49 52 29 2f 75 75 |IL=$(UUC|PDIR)/uu|
|00004430| 6d 61 69 6c 0a 0a 52 45 | 41 4c 55 55 58 3d 2f 75 |mail..RE|ALUUX=/u|
|00004440| 73 72 2f 62 69 6e 2f 75 | 75 78 0a 0a 4f 50 54 49 |sr/bin/u|ux..OPTI|
|00004450| 4f 4e 53 3d 20 20 2d 44 | 4f 50 41 54 48 20 2d 44 |ONS= -D|OPATH -D|
|00004460| 53 59 53 49 49 49 20 2d | 44 44 45 42 55 47 20 2d |SYSIII -|DDEBUG -|
|00004470| 44 55 47 4c 59 55 55 43 | 50 20 2d 44 4c 4f 47 20 |DUGLYUUC|P -DLOG |
|00004480| 2d 44 53 4f 52 54 45 44 | 20 0a 0a 43 46 4c 41 47 |-DSORTED| ..CFLAG|
|00004490| 53 3d 20 2d 4f 20 2d 44 | 55 55 4d 41 49 4c 3d 27 |S= -O -D|UUMAIL='|
|000044a0| 22 24 28 55 55 4d 41 49 | 4c 29 22 27 20 2d 44 52 |"$(UUMAI|L)"' -DR|
|000044b0| 45 41 4c 55 55 58 3d 27 | 22 24 28 52 45 41 4c 55 |EALUUX='|"$(REALU|
|000044c0| 55 58 29 22 27 20 24 28 | 4f 50 54 49 4f 4e 53 29 |UX)"' $(|OPTIONS)|
|000044d0| 0a 0a 53 48 45 4c 4c 3d | 2f 62 69 6e 2f 73 68 0a |..SHELL=|/bin/sh.|
|000044e0| 44 49 53 54 31 3d 52 45 | 41 44 4d 45 20 64 6f 6d |DIST1=RE|ADME dom|
|000044f0| 61 69 6e 73 20 70 61 6c | 69 61 73 20 72 6d 61 69 |ains pal|ias rmai|
|00004500| 6c 2e 63 0a 44 49 53 54 | 32 3d 20 6f 70 61 74 68 |l.c.DIST|2= opath|
|00004510| 2e 63 20 75 75 6d 61 69 | 6c 2e 63 20 75 75 63 6f |.c uumai|l.c uuco|
|00004520| 6e 66 2e 68 20 67 65 74 | 68 6f 73 74 6e 61 6d 2e |nf.h get|hostnam.|
|00004530| 63 20 67 65 74 70 61 74 | 68 2e 63 20 61 6c 69 61 |c getpat|h.c alia|
|00004540| 73 2e 63 0a 44 49 53 54 | 33 3d 20 61 64 64 72 65 |s.c.DIST|3= addre|
|00004550| 73 73 2e 63 20 6d 61 6b | 65 66 69 6c 65 20 75 75 |ss.c mak|efile uu|
|00004560| 78 2e 63 0a 44 49 53 54 | 34 3d 20 75 75 6d 61 69 |x.c.DIST|4= uumai|
|00004570| 6c 2e 31 20 20 6f 70 61 | 74 68 2e 33 20 61 64 64 |l.1 opa|th.3 add|
|00004580| 72 65 73 73 2e 31 20 41 | 6c 69 61 73 2e 44 65 73 |ress.1 A|lias.Des|
|00004590| 69 67 6e 20 53 65 6e 64 | 6d 61 69 6c 20 42 69 6e |ign Send|mail Bin|
|000045a0| 61 72 79 2e 4f 6e 6c 79 | 0a 0a 44 49 53 54 3d 20 |ary.Only|..DIST= |
|000045b0| 24 28 44 49 53 54 31 29 | 20 24 28 44 49 53 54 32 |$(DIST1)| $(DIST2|
|000045c0| 29 20 24 28 44 49 53 54 | 33 29 20 24 28 44 49 53 |) $(DIST|3) $(DIS|
|000045d0| 54 34 29 0a 0a 0a 2e 63 | 2c 76 2e 63 3a 0a 09 63 |T4)....c|,v.c:..c|
|000045e0| 6f 20 2d 71 20 24 2a 2e | 63 0a 0a 2e 68 2c 76 2e |o -q $*.|c...h,v.|
|000045f0| 68 3a 0a 09 63 6f 20 2d | 71 20 24 2a 2e 68 0a 0a |h:..co -|q $*.h..|
|00004600| 61 6c 6c 3a 20 75 75 6d | 61 69 6c 20 72 6d 61 69 |all: uum|ail rmai|
|00004610| 6c 20 61 64 64 72 65 73 | 73 20 75 75 78 0a 0a 75 |l addres|s uux..u|
|00004620| 75 6d 61 69 6c 3a 20 67 | 65 74 70 61 74 68 2e 6f |umail: g|etpath.o|
|00004630| 20 75 75 6d 61 69 6c 2e | 6f 20 67 65 74 68 6f 73 | uumail.|o gethos|
|00004640| 74 6e 61 6d 2e 6f 20 6f | 70 61 74 68 2e 6f 20 61 |tnam.o o|path.o a|
|00004650| 6c 69 61 73 2e 6f 0a 09 | 63 63 20 24 28 43 46 4c |lias.o..|cc $(CFL|
|00004660| 41 47 53 29 20 67 65 74 | 70 61 74 68 2e 6f 20 75 |AGS) get|path.o u|
|00004670| 75 6d 61 69 6c 2e 6f 20 | 67 65 74 68 6f 73 74 6e |umail.o |gethostn|
|00004680| 61 6d 2e 6f 20 6f 70 61 | 74 68 2e 6f 20 61 6c 69 |am.o opa|th.o ali|
|00004690| 61 73 2e 6f 20 20 2d 6f | 20 75 75 6d 61 69 6c 20 |as.o -o| uumail |
|000046a0| 24 28 4c 49 42 53 29 0a | 0a 61 64 64 72 65 73 73 |$(LIBS).|.address|
|000046b0| 3a 61 64 64 72 65 73 73 | 2e 6f 20 6f 70 61 74 68 |:address|.o opath|
|000046c0| 2e 6f 20 67 65 74 70 61 | 74 68 2e 6f 0a 09 63 63 |.o getpa|th.o..cc|
|000046d0| 20 24 28 43 46 4c 41 47 | 53 29 20 61 64 64 72 65 | $(CFLAG|S) addre|
|000046e0| 73 73 2e 6f 20 6f 70 61 | 74 68 2e 6f 20 67 65 74 |ss.o opa|th.o get|
|000046f0| 70 61 74 68 2e 6f 20 2d | 6f 20 61 64 64 72 65 73 |path.o -|o addres|
|00004700| 73 20 24 28 4c 49 42 53 | 29 0a 0a 75 75 78 3a 20 |s $(LIBS|)..uux: |
|00004710| 75 75 78 2e 6f 0a 09 63 | 63 20 24 28 43 46 4c 41 |uux.o..c|c $(CFLA|
|00004720| 47 53 29 20 75 75 78 2e | 6f 20 2d 6f 20 24 40 20 |GS) uux.|o -o $@ |
|00004730| 24 28 4c 49 42 53 29 0a | 0a 67 65 74 70 61 74 68 |$(LIBS).|.getpath|
|00004740| 2e 6f 3a 20 67 65 74 70 | 61 74 68 2e 63 20 75 75 |.o: getp|ath.c uu|
|00004750| 63 6f 6e 66 2e 68 0a 0a | 75 75 70 61 74 68 2e 6f |conf.h..|uupath.o|
|00004760| 3a 20 75 75 70 61 74 68 | 2e 63 20 75 75 63 6f 6e |: uupath|.c uucon|
|00004770| 66 2e 68 0a 0a 75 75 6d | 61 69 6c 2e 6f 3a 20 75 |f.h..uum|ail.o: u|
|00004780| 75 6d 61 69 6c 2e 63 20 | 75 75 63 6f 6e 66 2e 68 |umail.c |uuconf.h|
|00004790| 0a 0a 67 65 74 68 6f 73 | 74 6e 61 6d 2e 6f 3a 67 |..gethos|tnam.o:g|
|000047a0| 65 74 68 6f 73 74 6e 61 | 6d 2e 63 0a 0a 61 64 64 |ethostna|m.c..add|
|000047b0| 72 65 73 73 2e 6f 3a 61 | 64 64 72 65 73 73 2e 63 |ress.o:a|ddress.c|
|000047c0| 0a 0a 6f 70 61 74 68 2e | 6f 3a 6f 70 61 74 68 2e |..opath.|o:opath.|
|000047d0| 63 0a 0a 61 6c 69 61 73 | 2e 6f 3a 61 6c 69 61 73 |c..alias|.o:alias|
|000047e0| 2e 63 0a 0a 61 6c 69 61 | 73 63 68 65 63 6b 2e 6f |.c..alia|scheck.o|
|000047f0| 3a 61 6c 69 61 73 63 68 | 65 63 6b 2e 63 0a 0a 72 |:aliasch|eck.c..r|
|00004800| 6d 61 69 6c 3a 20 72 6d | 61 69 6c 2e 63 20 67 65 |mail: rm|ail.c ge|
|00004810| 74 68 6f 73 74 6e 61 6d | 2e 6f 0a 09 63 63 20 24 |thostnam|.o..cc $|
|00004820| 28 43 46 4c 41 47 53 29 | 20 72 6d 61 69 6c 2e 63 |(CFLAGS)| rmail.c|
|00004830| 20 67 65 74 68 6f 73 74 | 6e 61 6d 2e 6f 20 2d 6f | gethost|nam.o -o|
|00004840| 20 72 6d 61 69 6c 20 24 | 28 4c 49 42 53 29 0a 0a | rmail $|(LIBS)..|
|00004850| 69 6e 73 74 61 6c 6c 3a | 20 75 75 6d 61 69 6c 20 |install:| uumail |
|00004860| 61 64 64 72 65 73 73 20 | 64 6f 6d 61 69 6e 73 20 |address |domains |
|00004870| 70 61 6c 69 61 73 0a 09 | 63 70 20 61 64 64 72 65 |palias..|cp addre|
|00004880| 73 73 20 24 28 42 49 4e | 44 49 52 29 0a 09 63 70 |ss $(BIN|DIR)..cp|
|00004890| 20 75 75 6d 61 69 6c 20 | 24 28 55 55 43 50 44 49 | uumail |$(UUCPDI|
|000048a0| 52 29 0a 09 69 66 20 5b | 20 21 20 2d 72 20 24 28 |R)..if [| ! -r $(|
|000048b0| 55 55 43 50 44 49 52 29 | 2f 64 6f 6d 61 69 6e 73 |UUCPDIR)|/domains|
|000048c0| 20 5d 3b 20 74 68 65 6e | 20 63 70 20 64 6f 6d 61 | ]; then| cp doma|
|000048d0| 69 6e 73 20 24 28 55 55 | 43 50 44 49 52 29 3b 20 |ins $(UU|CPDIR); |
|000048e0| 66 69 0a 09 69 66 20 5b | 20 21 20 2d 72 20 24 28 |fi..if [| ! -r $(|
|000048f0| 55 55 43 50 44 49 52 29 | 2f 70 61 6c 69 61 73 20 |UUCPDIR)|/palias |
|00004900| 5d 3b 20 74 68 65 6e 20 | 63 70 20 70 61 6c 69 61 |]; then |cp palia|
|00004910| 73 20 24 28 55 55 43 50 | 44 49 52 29 3b 20 66 69 |s $(UUCP|DIR); fi|
|00004920| 0a 09 40 65 63 68 6f 20 | 22 54 6f 20 69 6e 73 74 |..@echo |"To inst|
|00004930| 61 6c 6c 20 72 6d 61 69 | 6c 20 69 6e 20 70 6c 61 |all rmai|l in pla|
|00004940| 63 65 20 6f 66 20 74 68 | 65 20 63 75 72 72 65 6e |ce of th|e curren|
|00004950| 74 20 72 6d 61 69 6c 2c | 20 74 79 70 65 22 0a 09 |t rmail,| type"..|
|00004960| 40 65 63 68 6f 20 22 6d | 61 6b 65 20 6d 61 69 6c |@echo "m|ake mail|
|00004970| 65 72 22 0a 09 40 65 63 | 68 6f 20 22 54 6f 20 69 |er"..@ec|ho "To i|
|00004980| 6e 74 65 72 63 65 70 74 | 20 75 75 78 20 63 6f 6d |ntercept| uux com|
|00004990| 6d 61 6e 64 73 2c 20 79 | 6f 75 20 6e 65 65 64 20 |mands, y|ou need |
|000049a0| 74 6f 20 62 65 20 73 75 | 72 65 22 0a 09 40 65 63 |to be su|re"..@ec|
|000049b0| 68 6f 20 22 74 68 61 74 | 20 79 6f 75 20 63 6f 72 |ho "that| you cor|
|000049c0| 72 65 63 74 6c 79 20 73 | 70 65 63 69 66 69 65 64 |rectly s|pecified|
|000049d0| 20 52 45 41 4c 55 55 58 | 20 69 6e 20 6d 61 6b 65 | REALUUX| in make|
|000049e0| 66 69 6c 65 22 0a 09 40 | 65 63 68 6f 20 22 54 68 |file"..@|echo "Th|
|000049f0| 65 6e 20 74 79 70 65 20 | 6d 61 6b 65 20 66 61 6b |en type |make fak|
|00004a00| 65 75 75 78 22 0a 09 6c | 6e 20 24 28 55 55 43 50 |euux"..l|n $(UUCP|
|00004a10| 44 49 52 29 2f 75 75 6d | 61 69 6c 20 24 28 42 49 |DIR)/uum|ail $(BI|
|00004a20| 4e 44 49 52 29 2f 75 75 | 70 61 74 68 0a 0a 6d 61 |NDIR)/uu|path..ma|
|00004a30| 69 6c 65 72 3a 20 72 6d | 61 69 6c 0a 09 6d 61 6b |iler: rm|ail..mak|
|00004a40| 65 20 69 6e 73 74 61 6c | 6c 0a 09 72 6d 20 2d 72 |e instal|l..rm -r|
|00004a50| 66 20 2f 62 69 6e 2f 72 | 6d 61 69 6c 0a 09 63 70 |f /bin/r|mail..cp|
|00004a60| 20 72 6d 61 69 6c 20 2f | 62 69 6e 2f 72 6d 61 69 | rmail /|bin/rmai|
|00004a70| 6c 0a 09 0a 66 61 6b 65 | 75 75 78 3a 20 75 75 78 |l...fake|uux: uux|
|00004a80| 0a 09 6d 61 6b 65 20 69 | 6e 73 74 61 6c 6c 0a 09 |..make i|nstall..|
|00004a90| 63 70 20 2f 75 73 72 2f | 62 69 6e 2f 75 75 78 20 |cp /usr/|bin/uux |
|00004aa0| 24 28 52 45 41 4c 55 55 | 58 29 0a 09 63 70 20 75 |$(REALUU|X)..cp u|
|00004ab0| 75 78 20 2f 75 73 72 2f | 62 69 6e 2f 75 75 78 0a |ux /usr/|bin/uux.|
|00004ac0| 09 63 68 6d 6f 64 20 36 | 37 35 35 20 2f 75 73 72 |.chmod 6|755 /usr|
|00004ad0| 2f 62 69 6e 2f 75 75 78 | 0a 0a 6c 69 6e 74 3a 0a |/bin/uux|..lint:.|
|00004ae0| 09 6c 69 6e 74 20 24 28 | 43 46 4c 41 47 53 29 20 |.lint $(|CFLAGS) |
|00004af0| 67 65 74 70 61 74 68 2e | 63 20 75 75 6d 61 69 6c |getpath.|c uumail|
|00004b00| 2e 63 20 67 65 74 68 6f | 73 74 6e 61 6d 2e 63 20 |.c getho|stnam.c |
|00004b10| 6f 70 61 74 68 2e 63 20 | 61 6c 69 61 73 2e 63 0a |opath.c |alias.c.|
|00004b20| 0a 63 6c 65 61 6e 3a 20 | 0a 09 72 6d 20 2d 66 20 |.clean: |..rm -f |
|00004b30| 2a 2e 6f 20 75 75 6d 61 | 69 6c 20 61 64 64 72 65 |*.o uuma|il addre|
|00004b40| 73 73 20 72 6d 61 69 6c | 20 75 75 78 0a 0a 64 6f |ss rmail| uux..do|
|00004b50| 63 3a 20 75 75 6d 61 69 | 6c 2e 31 20 75 75 70 61 |c: uumai|l.1 uupa|
|00004b60| 74 68 2e 31 20 61 64 64 | 72 65 73 73 2e 31 20 6f |th.1 add|ress.1 o|
|00004b70| 70 61 74 68 2e 33 0a 09 | 6e 72 6f 66 66 20 2d 6d |path.3..|nroff -m|
|00004b80| 61 6e 20 75 75 6d 61 69 | 6c 2e 31 20 3e 75 75 6d |an uumai|l.1 >uum|
|00004b90| 61 69 6c 2e 63 61 74 3b | 20 6e 72 6f 66 66 20 2d |ail.cat;| nroff -|
|00004ba0| 6d 61 6e 20 75 75 70 61 | 74 68 2e 31 20 3e 75 75 |man uupa|th.1 >uu|
|00004bb0| 70 61 74 68 2e 63 61 74 | 3b 20 6e 72 6f 66 66 20 |path.cat|; nroff |
|00004bc0| 2d 6d 61 6e 20 61 64 64 | 72 65 73 73 2e 31 20 3e |-man add|ress.1 >|
|00004bd0| 61 64 64 72 65 73 73 2e | 63 61 74 3b 20 6e 72 6f |address.|cat; nro|
|00004be0| 66 66 20 2d 6d 61 6e 20 | 6f 70 61 74 68 2e 33 20 |ff -man |opath.3 |
|00004bf0| 3e 6f 70 61 74 68 2e 63 | 61 74 0a 0a 73 68 61 72 |>opath.c|at..shar|
|00004c00| 3a 20 24 28 44 49 53 54 | 29 0a 09 73 68 61 72 20 |: $(DIST|)..shar |
|00004c10| 2d 76 20 24 28 44 49 53 | 54 31 29 20 3e 20 64 69 |-v $(DIS|T1) > di|
|00004c20| 73 74 31 2e 6f 75 74 3b | 73 68 61 72 20 2d 76 20 |st1.out;|shar -v |
|00004c30| 24 28 44 49 53 54 32 29 | 3e 20 64 69 73 74 32 2e |$(DIST2)|> dist2.|
|00004c40| 6f 75 74 3b 73 68 61 72 | 20 2d 76 20 24 28 44 49 |out;shar| -v $(DI|
|00004c50| 53 54 33 29 20 3e 20 64 | 69 73 74 33 2e 6f 75 74 |ST3) > d|ist3.out|
|00004c60| 3b 73 68 61 72 20 2d 76 | 20 24 28 44 49 53 54 34 |;shar -v| $(DIST4|
|00004c70| 29 20 3e 20 64 69 73 74 | 34 2e 6f 75 74 0a 0a 0a |) > dist|4.out...|
|00004c80| 53 48 41 52 5f 45 4f 46 | 0a 69 66 20 74 65 73 74 |SHAR_EOF|.if test|
|00004c90| 20 33 30 39 35 20 2d 6e | 65 20 22 60 77 63 20 2d | 3095 -n|e "`wc -|
|00004ca0| 63 20 3c 20 27 6d 61 6b | 65 66 69 6c 65 27 60 22 |c < 'mak|efile'`"|
|00004cb0| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|00004cc0| 3a 20 65 72 72 6f 72 20 | 74 72 61 6e 73 6d 69 74 |: error |transmit|
|00004cd0| 74 69 6e 67 20 22 27 6d | 61 6b 65 66 69 6c 65 27 |ting "'m|akefile'|
|00004ce0| 22 20 27 28 73 68 6f 75 | 6c 64 20 68 61 76 65 20 |" '(shou|ld have |
|00004cf0| 62 65 65 6e 20 33 30 39 | 35 20 63 68 61 72 61 63 |been 309|5 charac|
|00004d00| 74 65 72 73 29 27 0a 66 | 69 0a 66 69 0a 65 63 68 |ters)'.f|i.fi.ech|
|00004d10| 6f 20 73 68 61 72 3a 20 | 65 78 74 72 61 63 74 69 |o shar: |extracti|
|00004d20| 6e 67 20 22 27 75 75 78 | 2e 63 27 22 20 27 28 33 |ng "'uux|.c'" '(3|
|00004d30| 36 34 39 20 63 68 61 72 | 61 63 74 65 72 73 29 27 |649 char|acters)'|
|00004d40| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 75 75 78 |.if test| -f 'uux|
|00004d50| 2e 63 27 0a 74 68 65 6e | 0a 09 65 63 68 6f 20 73 |.c'.then|..echo s|
|00004d60| 68 61 72 3a 20 77 69 6c | 6c 20 6e 6f 74 20 6f 76 |har: wil|l not ov|
|00004d70| 65 72 2d 77 72 69 74 65 | 20 65 78 69 73 74 69 6e |er-write| existin|
|00004d80| 67 20 66 69 6c 65 20 22 | 27 75 75 78 2e 63 27 22 |g file "|'uux.c'"|
|00004d90| 0a 65 6c 73 65 0a 63 61 | 74 20 3c 3c 20 5c 53 48 |.else.ca|t << \SH|
|00004da0| 41 52 5f 45 4f 46 20 3e | 20 27 75 75 78 2e 63 27 |AR_EOF >| 'uux.c'|
|00004db0| 0a 2f 2a 0a 20 2a 20 61 | 20 22 66 61 6b 65 22 20 |./*. * a| "fake" |
|00004dc0| 75 75 78 20 74 6f 20 72 | 65 70 6c 61 63 65 20 74 |uux to r|eplace t|
|00004dd0| 68 65 20 72 65 61 6c 6f | 6e 65 20 74 6f 20 61 6c |he realo|ne to al|
|00004de0| 6c 6f 77 20 75 75 6d 61 | 69 6c 20 74 6f 20 69 6e |low uuma|il to in|
|00004df0| 74 65 72 63 65 70 74 0a | 20 2a 20 6d 61 69 6c 20 |tercept.| * mail |
|00004e00| 61 74 20 73 69 74 65 73 | 20 74 68 61 74 20 6d 61 |at sites| that ma|
|00004e10| 69 6c 20 6e 6f 74 20 62 | 65 20 61 62 6c 65 20 74 |il not b|e able t|
|00004e20| 6f 20 72 65 63 6f 6d 70 | 69 6c 65 20 74 68 65 69 |o recomp|ile thei|
|00004e30| 72 20 6d 61 69 6c 65 72 | 73 0a 20 2a 20 43 61 6c |r mailer|s. * Cal|
|00004e40| 6c 65 64 20 76 69 61 20 | 22 75 75 78 20 2d 20 73 |led via |"uux - s|
|00004e50| 79 73 74 65 6d 21 72 6d | 61 69 6c 20 75 73 65 72 |ystem!rm|ail user|
|00004e60| 22 20 66 72 6f 6d 2c 20 | 6e 6f 72 6d 61 6c 6c 79 |" from, |normally|
|00004e70| 2c 20 2f 62 69 6e 2f 6d | 61 69 6c 2e 0a 2a 2a 2a |, /bin/m|ail..***|
|00004e80| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004e90| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004ea0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004eb0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004ec0| 2a 2a 2a 2a 2a 2a 2a 2a | 0a 54 68 69 73 20 77 6f |********|.This wo|
|00004ed0| 72 6b 20 69 6e 20 69 74 | 73 20 63 75 72 72 65 6e |rk in it|s curren|
|00004ee0| 74 20 66 6f 72 6d 20 69 | 73 20 43 6f 70 79 72 69 |t form i|s Copyri|
|00004ef0| 67 68 74 20 31 39 38 36 | 20 53 74 61 6e 20 42 61 |ght 1986| Stan Ba|
|00004f00| 72 62 65 72 0a 77 69 74 | 68 20 74 68 65 20 65 78 |rber.wit|h the ex|
|00004f10| 63 65 70 74 69 6f 6e 20 | 6f 66 20 6f 70 61 74 68 |ception |of opath|
|00004f20| 2c 20 67 65 74 68 6f 73 | 74 6e 61 6d 65 20 61 6e |, gethos|tname an|
|00004f30| 64 20 74 68 65 20 6f 72 | 69 67 69 6e 61 6c 20 67 |d the or|iginal g|
|00004f40| 65 74 70 61 74 68 20 77 | 68 69 63 68 0a 61 73 20 |etpath w|hich.as |
|00004f50| 66 61 72 20 61 73 20 49 | 20 6b 6e 6f 77 20 61 72 |far as I| know ar|
|00004f60| 65 20 69 6e 20 74 68 65 | 20 50 75 62 6c 69 63 20 |e in the| Public |
|00004f70| 44 6f 6d 61 69 6e 2e 20 | 54 68 69 73 20 73 6f 66 |Domain. |This sof|
|00004f80| 74 77 61 72 65 20 6d 61 | 79 20 62 65 20 64 69 73 |tware ma|y be dis|
|00004f90| 74 72 69 62 75 74 65 64 | 0a 66 72 65 65 6c 79 20 |tributed|.freely |
|00004fa0| 61 73 20 6c 6f 6e 67 20 | 61 73 20 6e 6f 20 70 72 |as long |as no pr|
|00004fb0| 6f 66 69 74 20 69 73 20 | 6d 61 64 65 20 66 72 6f |ofit is |made fro|
|00004fc0| 6d 20 73 75 63 68 20 64 | 69 73 74 72 69 62 75 74 |m such d|istribut|
|00004fd0| 69 6f 6e 20 61 6e 64 20 | 74 68 69 73 20 6e 6f 74 |ion and |this not|
|00004fe0| 69 63 65 0a 69 73 20 72 | 65 70 72 6f 64 75 63 74 |ice.is r|eproduct|
|00004ff0| 65 64 20 69 6e 20 77 68 | 6f 6c 65 2e 0a 2a 2a 2a |ed in wh|ole..***|
|00005000| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005010| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005020| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005030| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005040| 2a 2a 2a 2a 2a 2a 2a 2a | 0a 54 68 69 73 20 73 6f |********|.This so|
|00005050| 66 74 77 61 72 65 20 69 | 73 20 70 72 6f 76 69 64 |ftware i|s provid|
|00005060| 65 64 20 6f 6e 20 61 6e | 20 22 61 73 20 69 73 22 |ed on an| "as is"|
|00005070| 20 62 61 73 69 73 20 77 | 69 74 68 20 6e 6f 20 67 | basis w|ith no g|
|00005080| 75 61 72 61 6e 74 65 65 | 20 6f 66 20 0a 75 73 65 |uarantee| of .use|
|00005090| 66 75 6c 6e 65 73 73 20 | 6f 72 20 63 6f 72 72 65 |fulness |or corre|
|000050a0| 63 74 6e 65 73 73 20 6f | 66 20 6f 70 65 72 61 74 |ctness o|f operat|
|000050b0| 69 6f 6e 20 66 6f 72 20 | 61 6e 79 20 70 75 72 70 |ion for |any purp|
|000050c0| 6f 73 65 2c 20 69 6e 74 | 65 6e 64 65 64 20 6f 72 |ose, int|ended or|
|000050d0| 0a 6f 74 68 65 72 77 69 | 73 65 2e 20 54 68 65 20 |.otherwi|se. The |
|000050e0| 61 75 74 68 6f 72 20 69 | 73 20 69 6e 20 6e 6f 20 |author i|s in no |
|000050f0| 77 61 79 20 6c 69 61 62 | 6c 65 20 66 6f 72 20 74 |way liab|le for t|
|00005100| 68 69 73 20 73 6f 66 74 | 77 61 72 65 27 73 20 70 |his soft|ware's p|
|00005110| 65 72 66 6f 72 6d 61 6e | 63 65 0a 6f 72 20 61 6e |erforman|ce.or an|
|00005120| 79 20 64 61 6d 61 67 65 | 20 69 74 20 6d 61 79 20 |y damage| it may |
|00005130| 63 61 75 73 65 20 74 6f | 20 61 6e 79 20 64 61 74 |cause to| any dat|
|00005140| 61 20 6f 66 20 61 6e 79 | 20 6b 69 6e 64 20 61 6e |a of any| kind an|
|00005150| 79 77 68 65 72 65 2e 0a | 2a 2a 2a 2a 2a 2a 2a 2a |ywhere..|********|
|00005160| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005170| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005180| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005190| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000051a0| 2a 2a 2a 0a 20 2a 20 24 | 4c 6f 67 3a 09 75 75 78 |***. * $|Log:.uux|
|000051b0| 2e 63 2c 76 20 24 0a 20 | 2a 20 52 65 76 69 73 69 |.c,v $. |* Revisi|
|000051c0| 6f 6e 20 33 2e 30 20 20 | 38 36 2f 30 33 2f 31 34 |on 3.0 |86/03/14|
|000051d0| 20 20 31 32 3a 30 35 3a | 30 36 20 20 73 6f 62 0a | 12:05:|06 sob.|
|000051e0| 20 2a 20 52 65 6c 65 61 | 73 65 20 6f 66 20 33 2f | * Relea|se of 3/|
|000051f0| 31 35 2f 38 36 20 2d 2d | 2d 20 33 72 64 20 52 65 |15/86 --|- 3rd Re|
|00005200| 6c 65 61 73 65 0a 20 2a | 20 0a 20 2a 20 52 65 76 |lease. *| . * Rev|
|00005210| 69 73 69 6f 6e 20 31 2e | 36 20 20 38 36 2f 30 33 |ision 1.|6 86/03|
|00005220| 2f 31 34 20 20 31 31 3a | 35 37 3a 35 31 20 20 73 |/14 11:|57:51 s|
|00005230| 6f 62 0a 20 2a 20 0a 20 | 2a 20 0a 20 2a 20 52 65 |ob. * . |* . * Re|
|00005240| 76 69 73 69 6f 6e 20 31 | 2e 35 20 20 38 36 2f 30 |vision 1|.5 86/0|
|00005250| 33 2f 31 31 20 20 31 31 | 3a 32 39 3a 31 37 20 20 |3/11 11|:29:17 |
|00005260| 73 6f 62 0a 20 2a 20 41 | 64 64 65 64 20 43 6f 70 |sob. * A|dded Cop|
|00005270| 79 72 69 67 68 74 20 4e | 6f 74 69 63 65 0a 20 2a |yright N|otice. *|
|00005280| 20 0a 20 2a 20 52 65 76 | 69 73 69 6f 6e 20 31 2e | . * Rev|ision 1.|
|00005290| 34 20 20 38 36 2f 30 32 | 2f 31 37 20 20 31 38 3a |4 86/02|/17 18:|
|000052a0| 30 37 3a 34 38 20 20 73 | 6f 62 0a 20 2a 20 4d 6f |07:48 s|ob. * Mo|
|000052b0| 76 65 64 20 52 45 41 4c | 55 55 58 20 61 6e 64 20 |ved REAL|UUX and |
|000052c0| 55 55 4d 41 49 4c 20 64 | 65 66 69 6e 69 74 69 6f |UUMAIL d|efinitio|
|000052d0| 6e 73 20 74 6f 20 74 68 | 65 20 6d 61 6b 65 66 69 |ns to th|e makefi|
|000052e0| 6c 65 0a 20 2a 20 0a 20 | 2a 20 52 65 76 69 73 69 |le. * . |* Revisi|
|000052f0| 6f 6e 20 31 2e 33 20 20 | 38 36 2f 30 32 2f 31 37 |on 1.3 |86/02/17|
|00005300| 20 20 31 37 3a 35 38 3a | 31 35 20 20 73 6f 62 0a | 17:58:|15 sob.|
|00005310| 20 2a 20 53 6d 61 6c 6c | 20 73 79 6e 74 61 78 20 | * Small| syntax |
|00005320| 70 72 6f 62 6c 65 6d 0a | 20 2a 20 0a 20 2a 20 52 |problem.| * . * R|
|00005330| 65 76 69 73 69 6f 6e 20 | 31 2e 32 20 20 38 36 2f |evision |1.2 86/|
|00005340| 30 32 2f 31 37 20 20 31 | 37 3a 35 35 3a 34 35 20 |02/17 1|7:55:45 |
|00005350| 20 73 6f 62 0a 20 2a 20 | 43 6f 72 72 65 63 74 65 | sob. * |Correcte|
|00005360| 64 20 74 6f 20 72 65 6d | 6f 76 65 20 70 61 72 65 |d to rem|ove pare|
|00005370| 6e 73 20 66 72 6f 6d 20 | 64 65 73 74 62 75 66 2e |ns from |destbuf.|
|00005380| 0a 20 2a 20 0a 20 2a 20 | 52 65 76 69 73 69 6f 6e |. * . * |Revision|
|00005390| 20 31 2e 31 20 20 38 36 | 2f 30 32 2f 31 37 20 20 | 1.1 86|/02/17 |
|000053a0| 31 37 3a 34 35 3a 31 30 | 20 20 73 6f 62 0a 20 2a |17:45:10| sob. *|
|000053b0| 20 49 6e 69 74 69 61 6c | 20 72 65 76 69 73 69 6f | Initial| revisio|
|000053c0| 6e 0a 20 2a 20 0a 20 2a | 0a 20 2a 2f 0a 0a 23 64 |n. * . *|. */..#d|
|000053d0| 65 66 69 6e 65 20 5f 44 | 45 46 49 4e 45 0a 0a 23 |efine _D|EFINE..#|
|000053e0| 69 6e 63 6c 75 64 65 20 | 22 75 75 63 6f 6e 66 2e |include |"uuconf.|
|000053f0| 68 22 0a 73 74 61 74 69 | 63 20 63 68 61 72 20 72 |h".stati|c char r|
|00005400| 63 73 69 64 5b 5d 20 3d | 20 22 24 48 65 61 64 65 |csid[] =| "$Heade|
|00005410| 72 3a 20 75 75 78 2e 63 | 2c 76 20 33 2e 30 20 38 |r: uux.c|,v 3.0 8|
|00005420| 36 2f 30 33 2f 31 34 20 | 31 32 3a 30 35 3a 30 36 |6/03/14 |12:05:06|
|00005430| 20 73 6f 62 20 52 45 4c | 45 41 53 45 5f 33 20 24 | sob REL|EASE_3 $|
|00005440| 22 3b 0a 0a 65 78 74 65 | 72 6e 20 46 49 4c 45 20 |";..exte|rn FILE |
|00005450| 2a 70 6f 70 65 6e 28 29 | 3b 0a 65 78 74 65 72 6e |*popen()|;.extern|
|00005460| 20 63 68 61 72 20 2a 69 | 6e 64 65 78 28 29 3b 0a | char *i|ndex();.|
|00005470| 65 78 74 65 72 6e 20 73 | 74 72 75 63 74 20 70 61 |extern s|truct pa|
|00005480| 73 73 77 64 20 2a 67 65 | 74 70 77 6e 61 6d 28 29 |sswd *ge|tpwnam()|
|00005490| 3b 0a 0a 63 68 61 72 20 | 73 79 73 62 75 66 5b 42 |;..char |sysbuf[B|
|000054a0| 55 46 53 49 5a 5d 3b 0a | 63 68 61 72 20 64 65 73 |UFSIZ];.|char des|
|000054b0| 74 62 75 66 5b 42 55 46 | 53 49 5a 5d 3b 0a 0a 6d |tbuf[BUF|SIZ];..m|
|000054c0| 61 69 6e 28 61 72 67 63 | 2c 20 61 72 67 76 29 0a |ain(argc|, argv).|
|000054d0| 69 6e 74 20 61 72 67 63 | 3b 0a 63 68 61 72 20 2a |int argc|;.char *|
|000054e0| 2a 61 72 67 76 3b 0a 7b | 0a 09 63 68 61 72 20 2a |*argv;.{|..char *|
|000054f0| 63 6f 6d 6d 61 6e 64 3b | 0a 09 73 74 72 75 63 74 |command;|..struct|
|00005500| 20 70 61 73 73 77 64 20 | 2a 70 77 64 3b 0a 09 63 | passwd |*pwd;..c|
|00005510| 68 61 72 20 63 6d 64 5b | 42 55 46 53 49 5a 5d 3b |har cmd[|BUFSIZ];|
|00005520| 0a 09 63 68 61 72 20 2a | 73 79 73 74 65 6d 20 3d |..char *|system =|
|00005530| 20 73 79 73 62 75 66 3b | 0a 09 63 68 61 72 20 2a | sysbuf;|..char *|
|00005540| 2a 70 73 79 73 74 65 6d | 20 3d 20 26 73 79 73 74 |*psystem| = &syst|
|00005550| 65 6d 3b 0a 09 46 49 4c | 45 20 2a 6e 65 74 66 3b |em;..FIL|E *netf;|
|00005560| 0a 09 69 6e 74 20 63 3b | 0a 0a 09 69 66 20 28 28 |..int c;|...if ((|
|00005570| 61 72 67 63 20 21 3d 20 | 34 29 20 7c 7c 20 73 74 |argc != |4) || st|
|00005580| 72 63 6d 70 28 22 2d 22 | 2c 20 61 72 67 76 5b 31 |rcmp("-"|, argv[1|
|00005590| 5d 29 29 20 20 2f 2a 20 | 6c 6f 6f 6b 20 66 6f 72 |])) /* |look for|
|000055a0| 20 66 6f 72 6d 20 0a 09 | 09 09 09 09 09 09 6f 66 | form ..|......of|
|000055b0| 20 75 75 78 20 63 6f 6d | 6d 61 6e 64 20 2a 2f 0a | uux com|mand */.|
|000055c0| 09 09 72 65 61 6c 75 75 | 78 28 61 72 67 76 29 3b |..realuu|x(argv);|
|000055d0| 09 0a 0a 09 73 74 72 63 | 70 79 28 73 79 73 62 75 |....strc|py(sysbu|
|000055e0| 66 2c 20 61 72 67 76 5b | 32 5d 29 3b 09 2f 2a 20 |f, argv[|2]);./* |
|000055f0| 73 61 76 65 20 64 65 73 | 74 69 6e 61 74 69 6f 6e |save des|tination|
|00005600| 20 73 79 73 74 65 6d 20 | 2a 2f 0a 0a 09 69 66 20 | system |*/...if |
|00005610| 28 28 63 6f 6d 6d 61 6e | 64 20 3d 20 69 6e 64 65 |((comman|d = inde|
|00005620| 78 28 73 79 73 62 75 66 | 2c 20 27 21 27 29 29 20 |x(sysbuf|, '!')) |
|00005630| 3d 3d 20 4e 55 4c 4c 29 | 0a 09 09 72 65 61 6c 75 |== NULL)|...realu|
|00005640| 75 78 28 61 72 67 76 29 | 3b 20 09 0a 09 2a 63 6f |ux(argv)|; ...*co|
|00005650| 6d 6d 61 6e 64 2b 2b 20 | 3d 20 30 3b 0a 09 69 66 |mmand++ |= 0;..if|
|00005660| 20 28 73 74 72 63 6d 70 | 28 22 72 6d 61 69 6c 22 | (strcmp|("rmail"|
|00005670| 2c 20 63 6f 6d 6d 61 6e | 64 29 29 09 2f 2a 20 6c |, comman|d))./* l|
|00005680| 6f 6f 6b 20 66 6f 72 20 | 72 6d 61 69 6c 20 69 6e |ook for |rmail in|
|00005690| 20 63 6f 6d 6d 61 6e 64 | 20 2a 2f 0a 09 09 72 65 | command| */...re|
|000056a0| 61 6c 75 75 78 28 61 72 | 67 76 29 3b 09 09 0a 0a |aluux(ar|gv);....|
|000056b0| 09 6d 79 73 74 72 63 70 | 79 28 64 65 73 74 62 75 |.mystrcp|y(destbu|
|000056c0| 66 2c 20 61 72 67 76 5b | 33 5d 29 3b 20 20 20 20 |f, argv[|3]); |
|000056d0| 20 20 2f 2a 73 61 76 65 | 20 64 65 73 74 69 6e 61 | /*save| destina|
|000056e0| 74 69 6f 6e 20 70 61 74 | 68 20 2a 2f 0a 09 09 09 |tion pat|h */....|
|000056f0| 09 09 2f 2a 20 62 75 74 | 20 67 65 74 20 72 69 64 |../* but| get rid|
|00005700| 20 6f 66 20 70 61 72 65 | 6e 73 20 2a 2f 0a 09 2f | of pare|ns */../|
|00005710| 2a 20 62 65 63 6f 6d 65 | 20 55 55 43 50 20 2a 2f |* become| UUCP */|
|00005720| 0a 09 73 65 74 70 77 65 | 6e 74 28 29 3b 0a 09 70 |..setpwe|nt();..p|
|00005730| 77 64 20 3d 20 67 65 74 | 70 77 6e 61 6d 28 22 75 |wd = get|pwnam("u|
|00005740| 75 63 70 22 29 3b 0a 09 | 69 66 20 28 70 77 64 20 |ucp");..|if (pwd |
|00005750| 3d 3d 20 4e 55 4c 4c 29 | 20 7b 0a 09 09 66 70 72 |== NULL)| {...fpr|
|00005760| 69 6e 74 66 28 73 74 64 | 65 72 72 2c 20 22 43 61 |intf(std|err, "Ca|
|00005770| 6e 27 74 20 73 75 69 64 | 20 74 6f 20 5c 22 75 75 |n't suid| to \"uu|
|00005780| 63 70 5c 22 20 69 6e 20 | 25 73 5c 6e 22 2c 20 52 |cp\" in |%s\n", R|
|00005790| 45 41 4c 55 55 58 29 3b | 0a 09 09 65 78 69 74 28 |EALUUX);|...exit(|
|000057a0| 31 29 3b 09 2f 2a 20 73 | 69 67 68 20 2a 2f 0a 09 |1);./* s|igh */..|
|000057b0| 7d 0a 09 65 6e 64 70 77 | 65 6e 74 28 29 3b 0a 09 |}..endpw|ent();..|
|000057c0| 73 65 74 75 69 64 28 70 | 77 64 2d 3e 70 77 5f 75 |setuid(p|wd->pw_u|
|000057d0| 69 64 29 3b 0a 0a 09 2f | 2a 20 73 65 6e 64 20 74 |id);.../|* send t|
|000057e0| 68 65 20 6d 61 69 6c 20 | 74 6f 20 75 75 6d 61 69 |he mail |to uumai|
|000057f0| 6c 20 2a 2f 0a 09 73 70 | 72 69 6e 74 66 28 63 6d |l */..sp|rintf(cm|
|00005800| 64 2c 20 22 75 75 6d 61 | 69 6c 20 25 73 21 25 73 |d, "uuma|il %s!%s|
|00005810| 22 2c 20 55 55 4d 41 49 | 4c 2c 20 73 79 73 62 75 |", UUMAI|L, sysbu|
|00005820| 66 2c 64 65 73 74 62 75 | 66 29 3b 0a 09 69 66 20 |f,destbu|f);..if |
|00005830| 28 28 6e 65 74 66 20 3d | 20 70 6f 70 65 6e 28 63 |((netf =| popen(c|
|00005840| 6d 64 2c 20 22 77 22 29 | 29 20 3d 3d 20 4e 55 4c |md, "w")|) == NUL|
|00005850| 4c 29 0a 09 09 65 78 69 | 74 28 45 58 5f 54 45 4d |L)...exi|t(EX_TEM|
|00005860| 50 46 41 49 4c 29 3b 09 | 2f 2a 20 66 61 69 6c 75 |PFAIL);.|/* failu|
|00005870| 72 65 20 2a 2f 0a 0a 09 | 2f 2a 20 73 65 6e 64 20 |re */...|/* send |
|00005880| 74 68 65 20 61 63 74 75 | 61 6c 20 6d 61 69 6c 20 |the actu|al mail |
|00005890| 2a 2f 0a 09 77 68 69 6c | 65 20 28 28 63 20 3d 20 |*/..whil|e ((c = |
|000058a0| 67 65 74 63 68 61 72 28 | 29 29 20 21 3d 20 45 4f |getchar(|)) != EO|
|000058b0| 46 29 0a 09 09 70 75 74 | 63 28 63 2c 20 6e 65 74 |F)...put|c(c, net|
|000058c0| 66 29 3b 0a 09 66 66 6c | 75 73 68 28 6e 65 74 66 |f);..ffl|ush(netf|
|000058d0| 29 3b 0a 09 65 78 69 74 | 20 28 70 63 6c 6f 73 65 |);..exit| (pclose|
|000058e0| 28 6e 65 74 66 29 3f 31 | 3a 30 29 3b 09 2f 2a 20 |(netf)?1|:0);./* |
|000058f0| 63 61 75 73 65 73 20 6d | 61 69 6c 20 74 6f 20 64 |causes m|ail to d|
|00005900| 6f 20 74 68 65 20 72 69 | 67 68 74 20 74 68 69 6e |o the ri|ght thin|
|00005910| 67 20 2a 2f 0a 7d 0a 0a | 72 65 61 6c 75 75 78 28 |g */.}..|realuux(|
|00005920| 61 72 67 76 29 0a 63 68 | 61 72 20 2a 2a 61 72 67 |argv).ch|ar **arg|
|00005930| 76 3b 0a 7b 0a 09 69 6e | 74 20 70 69 64 2c 20 73 |v;.{..in|t pid, s|
|00005940| 74 73 3b 0a 0a 09 2f 2a | 20 72 75 6e 6e 69 6e 67 |ts;.../*| running|
|00005950| 20 73 75 69 64 20 72 6f | 6f 74 2e 20 20 62 65 63 | suid ro|ot. bec|
|00005960| 6f 6d 65 20 75 73 20 61 | 67 61 69 6e 20 2a 2f 0a |ome us a|gain */.|
|00005970| 09 73 65 74 75 69 64 28 | 67 65 74 75 69 64 28 29 |.setuid(|getuid()|
|00005980| 29 3b 0a 0a 20 20 20 20 | 20 20 20 20 69 66 20 28 |);.. | if (|
|00005990| 28 70 69 64 20 3d 20 66 | 6f 72 6b 28 29 29 20 3d |(pid = f|ork()) =|
|000059a0| 3d 20 2d 31 29 20 7b 0a | 20 20 20 20 20 20 20 20 |= -1) {.| |
|000059b0| 20 20 20 20 20 20 20 20 | 66 70 72 69 6e 74 66 28 | |fprintf(|
|000059c0| 73 74 64 65 72 72 2c 20 | 22 75 75 78 3a 20 63 61 |stderr, |"uux: ca|
|000059d0| 6e 27 74 20 63 72 65 61 | 74 65 20 70 72 6f 63 20 |n't crea|te proc |
|000059e0| 66 6f 72 20 25 73 5c 6e | 22 2c 52 45 41 4c 55 55 |for %s\n|",REALUU|
|000059f0| 58 29 3b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |X);. | |
|00005a00| 20 20 20 20 65 78 69 74 | 28 31 29 3b 0a 20 20 20 | exit|(1);. |
|00005a10| 20 20 20 20 20 7d 0a 20 | 20 20 20 20 20 20 20 69 | }. | i|
|00005a20| 66 20 28 70 69 64 29 20 | 7b 0a 20 20 20 20 20 20 |f (pid) |{. |
|00005a30| 20 20 20 20 20 20 20 20 | 20 20 77 68 69 6c 65 20 | | while |
|00005a40| 28 77 61 69 74 28 26 73 | 74 73 29 20 21 3d 20 70 |(wait(&s|ts) != p|
|00005a50| 69 64 29 20 7b 0a 20 20 | 20 20 20 20 20 20 20 20 |id) {. | |
|00005a60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 69 66 | | if|
|00005a70| 20 28 77 61 69 74 28 26 | 73 74 73 29 3d 3d 2d 31 | (wait(&|sts)==-1|
|00005a80| 29 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |). | |
|00005a90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005aa0| 20 20 65 78 69 74 28 31 | 29 3b 0a 20 20 20 20 20 | exit(1|);. |
|00005ab0| 20 20 20 20 20 20 20 20 | 20 20 20 7d 0a 20 20 20 | | }. |
|00005ac0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 65 78 69 | | exi|
|00005ad0| 74 28 73 74 73 3f 31 3a | 30 29 3b 0a 20 20 20 20 |t(sts?1:|0);. |
|00005ae0| 20 20 20 20 7d 0a 09 65 | 78 65 63 76 28 52 45 41 | }..e|xecv(REA|
|00005af0| 4c 55 55 58 2c 20 61 72 | 67 76 29 3b 0a 09 66 70 |LUUX, ar|gv);..fp|
|00005b00| 72 69 6e 74 66 28 73 74 | 64 65 72 72 2c 20 22 75 |rintf(st|derr, "u|
|00005b10| 75 78 3a 20 63 61 6e 27 | 74 20 65 78 65 63 20 25 |ux: can'|t exec %|
|00005b20| 73 5c 6e 22 2c 52 45 41 | 4c 55 55 58 29 3b 0a 09 |s\n",REA|LUUX);..|
|00005b30| 65 78 69 74 20 28 31 29 | 3b 0a 7d 0a 0a 2f 2a 20 |exit (1)|;.}../* |
|00005b40| 72 65 6d 6f 76 65 20 70 | 61 72 65 6e 73 20 66 6f |remove p|arens fo|
|00005b50| 72 20 74 20 61 6e 64 20 | 70 75 74 20 77 68 61 74 |r t and |put what|
|00005b60| 27 73 20 6c 65 66 74 20 | 69 6e 20 73 20 2a 2f 0a |'s left |in s */.|
|00005b70| 6d 79 73 74 72 63 70 79 | 28 73 2c 74 29 0a 63 68 |mystrcpy|(s,t).ch|
|00005b80| 61 72 20 2a 20 73 2c 20 | 2a 74 3b 0a 7b 0a 09 69 |ar * s, |*t;.{..i|
|00005b90| 6e 74 20 78 3b 0a 09 77 | 68 69 6c 65 20 28 78 20 |nt x;..w|hile (x |
|00005ba0| 3d 20 2a 74 2b 2b 29 7b | 0a 09 09 69 66 20 28 28 |= *t++){|...if ((|
|00005bb0| 78 20 3d 3d 20 27 28 27 | 29 20 7c 7c 20 28 78 20 |x == '('|) || (x |
|00005bc0| 3d 3d 20 27 29 27 29 29 | 0a 09 09 09 63 6f 6e 74 |== ')'))|....cont|
|00005bd0| 69 6e 75 65 3b 0a 09 09 | 2a 73 2b 2b 20 3d 20 78 |inue;...|*s++ = x|
|00005be0| 3b 0a 09 7d 0a 09 0a 09 | 2a 73 20 3d 20 78 3b 0a |;..}....|*s = x;.|
|00005bf0| 7d 0a 53 48 41 52 5f 45 | 4f 46 0a 69 66 20 74 65 |}.SHAR_E|OF.if te|
|00005c00| 73 74 20 33 36 34 39 20 | 2d 6e 65 20 22 60 77 63 |st 3649 |-ne "`wc|
|00005c10| 20 2d 63 20 3c 20 27 75 | 75 78 2e 63 27 60 22 0a | -c < 'u|ux.c'`".|
|00005c20| 74 68 65 6e 0a 09 65 63 | 68 6f 20 73 68 61 72 3a |then..ec|ho shar:|
|00005c30| 20 65 72 72 6f 72 20 74 | 72 61 6e 73 6d 69 74 74 | error t|ransmitt|
|00005c40| 69 6e 67 20 22 27 75 75 | 78 2e 63 27 22 20 27 28 |ing "'uu|x.c'" '(|
|00005c50| 73 68 6f 75 6c 64 20 68 | 61 76 65 20 62 65 65 6e |should h|ave been|
|00005c60| 20 33 36 34 39 20 63 68 | 61 72 61 63 74 65 72 73 | 3649 ch|aracters|
|00005c70| 29 27 0a 66 69 0a 66 69 | 0a 65 63 68 6f 20 73 68 |)'.fi.fi|.echo sh|
|00005c80| 61 72 3a 20 65 78 74 72 | 61 63 74 69 6e 67 20 22 |ar: extr|acting "|
|00005c90| 27 75 75 6d 61 69 6c 2e | 31 27 22 20 27 28 32 38 |'uumail.|1'" '(28|
|00005ca0| 36 35 20 63 68 61 72 61 | 63 74 65 72 73 29 27 0a |65 chara|cters)'.|
|00005cb0| 69 66 20 74 65 73 74 20 | 2d 66 20 27 75 75 6d 61 |if test |-f 'uuma|
|00005cc0| 69 6c 2e 31 27 0a 74 68 | 65 6e 0a 09 65 63 68 6f |il.1'.th|en..echo|
|00005cd0| 20 73 68 61 72 3a 20 77 | 69 6c 6c 20 6e 6f 74 20 | shar: w|ill not |
|00005ce0| 6f 76 65 72 2d 77 72 69 | 74 65 20 65 78 69 73 74 |over-wri|te exist|
|00005cf0| 69 6e 67 20 66 69 6c 65 | 20 22 27 75 75 6d 61 69 |ing file| "'uumai|
|00005d00| 6c 2e 31 27 22 0a 65 6c | 73 65 0a 63 61 74 20 3c |l.1'".el|se.cat <|
|00005d10| 3c 20 5c 53 48 41 52 5f | 45 4f 46 20 3e 20 27 75 |< \SHAR_|EOF > 'u|
|00005d20| 75 6d 61 69 6c 2e 31 27 | 0a 2e 54 48 20 22 55 55 |umail.1'|..TH "UU|
|00005d30| 4d 41 49 4c 22 20 22 38 | 22 20 22 42 61 79 6c 6f |MAIL" "8|" "Baylo|
|00005d40| 72 20 43 6f 6c 6c 65 67 | 65 20 6f 66 20 4d 65 64 |r Colleg|e of Med|
|00005d50| 69 63 69 6e 65 22 0a 2e | 66 69 0a 2e 61 64 20 62 |icine"..|fi..ad b|
|00005d60| 0a 2e 53 48 20 4e 41 4d | 45 0a 75 75 6d 61 69 6c |..SH NAM|E.uumail|
|00005d70| 20 5c 2d 20 72 65 77 72 | 69 74 65 20 61 64 64 72 | \- rewr|ite addr|
|00005d80| 65 73 73 20 26 20 72 6f | 75 74 65 20 6d 61 69 6c |ess & ro|ute mail|
|00005d90| 20 75 73 69 6e 67 20 75 | 75 63 70 6d 61 70 20 64 | using u|ucpmap d|
|00005da0| 61 74 61 62 61 73 65 20 | 0a 2e 62 72 0a 75 75 70 |atabase |..br.uup|
|00005db0| 61 74 68 20 5c 2d 20 70 | 72 69 6e 74 20 74 68 65 |ath \- p|rint the|
|00005dc0| 20 75 75 63 70 20 70 61 | 74 68 20 74 6f 20 61 20 | uucp pa|th to a |
|00005dd0| 68 6f 73 74 0a 2e 53 48 | 20 53 59 4e 4f 50 53 49 |host..SH| SYNOPSI|
|00005de0| 53 0a 2e 42 20 75 75 6d | 61 69 6c 20 5b 20 5c 66 |S..B uum|ail [ \f|
|00005df0| 49 6f 70 74 69 6f 6e 73 | 5c 66 52 20 5d 20 5c 66 |Ioptions|\fR ] \f|
|00005e00| 49 61 64 64 72 65 73 73 | 5c 66 52 0a 2e 62 72 0a |Iaddress|\fR..br.|
|00005e10| 2e 42 20 75 75 70 61 74 | 68 20 5c 66 49 68 6f 73 |.B uupat|h \fIhos|
|00005e20| 74 6e 61 6d 65 5c 66 52 | 0a 2e 53 48 20 44 45 53 |tname\fR|..SH DES|
|00005e30| 43 52 49 50 54 49 4f 4e | 0a 2e 42 20 55 75 6d 61 |CRIPTION|..B Uuma|
|00005e40| 69 6c 0a 69 73 20 64 65 | 73 69 67 6e 65 64 20 74 |il.is de|signed t|
|00005e50| 6f 20 62 65 20 75 73 65 | 64 20 61 73 20 61 20 6d |o be use|d as a m|
|00005e60| 61 69 6c 20 64 65 6c 69 | 76 65 72 79 20 70 72 6f |ail deli|very pro|
|00005e70| 67 72 61 6d 20 74 6f 20 | 63 6f 72 72 65 63 74 6c |gram to |correctl|
|00005e80| 79 0a 72 6f 75 74 65 20 | 6d 61 69 6c 20 6f 76 65 |y.route |mail ove|
|00005e90| 72 20 75 75 63 70 20 63 | 6f 6e 6e 65 63 74 69 6f |r uucp c|onnectio|
|00005ea0| 6e 73 2e 0a 2e 53 53 20 | 53 74 61 6e 64 61 72 64 |ns...SS |Standard|
|00005eb0| 20 4f 70 74 69 6f 6e 73 | 0a 2e 49 50 20 22 2d 66 | Options|..IP "-f|
|00005ec0| 5c 66 49 61 64 64 72 65 | 73 73 5c 66 52 22 20 31 |\fIaddre|ss\fR" 1|
|00005ed0| 36 0a 54 68 65 0a 2e 49 | 20 2d 66 0a 6f 70 74 69 |6.The..I| -f.opti|
|00005ee0| 6f 6e 20 73 65 74 73 20 | 74 68 65 20 61 64 64 72 |on sets |the addr|
|00005ef0| 65 73 73 20 6f 66 20 74 | 68 65 20 73 65 6e 64 65 |ess of t|he sende|
|00005f00| 72 20 6f 66 20 74 68 65 | 20 6d 61 69 6c 2e 20 49 |r of the| mail. I|
|00005f10| 66 20 74 68 69 73 20 66 | 6c 61 67 20 0a 69 73 20 |f this f|lag .is |
|00005f20| 6e 6f 74 20 75 73 65 64 | 2c 20 74 68 65 20 73 65 |not used|, the se|
|00005f30| 6e 64 65 72 20 77 69 6c | 6c 20 62 65 20 65 73 74 |nder wil|l be est|
|00005f40| 61 62 6c 69 73 68 65 64 | 20 62 79 20 75 73 69 6e |ablished| by usin|
|00005f50| 67 73 20 65 6e 76 69 72 | 6f 6e 6d 65 6e 74 61 6c |gs envir|onmental|
|00005f60| 20 76 61 72 69 61 62 6c | 65 73 0a 28 6c 69 6b 65 | variabl|es.(like|
|00005f70| 20 0a 2e 42 20 4c 4f 47 | 4e 41 4d 45 0a 61 6e 64 | ..B LOG|NAME.and|
|00005f80| 0a 2e 42 20 55 53 45 52 | 0a 29 20 6f 72 20 75 73 |..B USER|.) or us|
|00005f90| 69 6e 67 20 67 65 74 6c | 6f 67 69 6e 28 33 29 2e |ing getl|ogin(3).|
|00005fa0| 0a 2e 49 50 20 22 2d 43 | 5c 66 49 63 6f 6e 66 69 |..IP "-C|\fIconfi|
|00005fb0| 67 66 69 6c 65 5c 66 52 | 22 20 31 36 0a 54 68 65 |gfile\fR|" 16.The|
|00005fc0| 0a 2e 49 20 2d 43 0a 6f | 70 74 69 6f 6e 20 61 6c |..I -C.o|ption al|
|00005fd0| 6c 6f 77 73 20 61 6e 20 | 61 6c 74 65 72 6e 61 74 |lows an |alternat|
|00005fe0| 69 76 65 20 63 6f 6e 66 | 69 67 75 72 61 74 69 6f |ive conf|iguratio|
|00005ff0| 6e 20 66 69 6c 65 20 74 | 6f 20 62 65 20 73 70 65 |n file t|o be spe|
|00006000| 63 69 66 69 65 64 2e 0a | 2e 49 50 20 22 2d 6f 6d |cified..|.IP "-om|
|00006010| 22 20 31 36 0a 54 68 65 | 0a 2e 49 20 2d 6f 6d 0a |" 16.The|..I -om.|
|00006020| 6f 70 74 69 6f 6e 20 63 | 61 75 73 65 73 20 74 68 |option c|auses th|
|00006030| 65 20 6d 61 69 6c 20 74 | 6f 20 61 6c 73 6f 20 62 |e mail t|o also b|
|00006040| 65 20 73 65 6e 74 20 74 | 6f 20 74 68 65 20 73 65 |e sent t|o the se|
|00006050| 6e 64 65 72 20 6f 66 20 | 74 68 65 20 6d 65 73 73 |nder of |the mess|
|00006060| 61 67 65 2e 0a 2e 49 50 | 20 22 2d 6f 63 22 20 31 |age...IP| "-oc" 1|
|00006070| 36 0a 54 68 65 20 0a 2e | 49 20 20 2d 6f 63 0a 6f |6.The ..|I -oc.o|
|00006080| 70 74 69 6f 6e 20 63 61 | 75 73 65 73 0a 2e 42 20 |ption ca|uses..B |
|00006090| 75 75 63 69 63 6f 20 0a | 74 6f 20 62 65 20 73 74 |uucico .|to be st|
|000060a0| 61 72 74 65 64 20 69 6d | 6d 65 64 69 61 74 65 6c |arted im|mediatel|
|000060b0| 79 20 61 66 74 65 72 20 | 71 75 65 75 69 6e 67 20 |y after |queuing |
|000060c0| 74 68 65 20 6d 61 69 6c | 2e 0a 54 68 65 20 64 65 |the mail|..The de|
|000060d0| 66 61 75 6c 74 20 6a 75 | 73 74 20 71 75 65 75 65 |fault ju|st queue|
|000060e0| 73 20 74 68 65 20 6d 61 | 69 6c 2e 0a 2e 49 50 20 |s the ma|il...IP |
|000060f0| 22 2d 68 22 20 31 36 0a | 54 68 65 20 2d 68 20 6f |"-h" 16.|The -h o|
|00006100| 70 74 69 6f 6e 20 63 61 | 75 73 65 73 20 6e 6f 20 |ption ca|uses no |
|00006110| 46 72 6f 6d 5f 20 6c 69 | 6e 65 20 74 6f 20 62 65 |From_ li|ne to be|
|00006120| 20 61 64 64 65 64 20 74 | 6f 20 74 68 65 20 62 65 | added t|o the be|
|00006130| 67 69 6e 6e 69 6e 67 20 | 6f 66 20 66 69 6c 65 2e |ginning |of file.|
|00006140| 0a 54 68 69 73 20 69 73 | 20 75 73 65 66 75 6c 20 |.This is| useful |
|00006150| 77 68 65 6e 20 75 75 6d | 61 69 6c 20 69 73 20 62 |when uum|ail is b|
|00006160| 65 69 6e 67 20 75 73 65 | 64 20 61 73 20 61 20 6d |eing use|d as a m|
|00006170| 61 69 6c 65 72 20 66 6f | 72 20 73 65 6e 64 6d 61 |ailer fo|r sendma|
|00006180| 69 6c 28 38 29 2e 0a 2e | 53 53 20 43 6f 6d 70 69 |il(8)...|SS Compi|
|00006190| 6c 65 2d 74 69 6d 65 20 | 43 6f 6e 66 69 67 75 72 |le-time |Configur|
|000061a0| 61 62 6c 65 20 4f 70 74 | 69 6f 6e 73 0a 2e 49 50 |able Opt|ions..IP|
|000061b0| 20 22 2d 64 5b 31 2d 36 | 5d 22 20 31 36 0a 54 68 | "-d[1-6|]" 16.Th|
|000061c0| 65 0a 2e 49 20 2d 64 20 | 0a 6f 70 74 69 6f 6e 20 |e..I -d |.option |
|000061d0| 74 75 72 6e 73 20 6f 6e | 20 74 68 65 20 6c 69 6d |turns on| the lim|
|000061e0| 69 74 65 64 20 64 65 62 | 75 67 67 69 6e 67 20 66 |ited deb|ugging f|
|000061f0| 61 63 69 6c 69 74 79 20 | 62 75 69 6c 74 20 69 6e |acility |built in|
|00006200| 74 6f 20 74 68 65 0a 6d | 61 69 6c 65 72 2e 20 20 |to the.m|ailer. |
|00006210| 49 6e 20 64 65 62 75 67 | 20 6d 6f 64 65 2c 20 74 |In debug| mode, t|
|00006220| 68 65 20 6d 61 69 6c 65 | 72 20 64 6f 65 73 20 6e |he maile|r does n|
|00006230| 6f 74 20 61 63 74 75 61 | 6c 6c 79 20 6d 61 69 6c |ot actua|lly mail|
|00006240| 20 61 6e 79 74 68 69 6e | 67 2c 20 62 75 74 0a 74 | anythin|g, but.t|
|00006250| 65 6c 6c 73 20 79 6f 75 | 20 77 68 61 74 20 69 74 |ells you| what it|
|00006260| 20 77 6f 75 6c 64 20 64 | 6f 20 69 66 20 69 74 20 | would d|o if it |
|00006270| 64 69 64 20 64 6f 20 69 | 74 2e 20 54 68 65 20 6c |did do i|t. The l|
|00006280| 65 76 65 6c 20 6f 66 20 | 64 65 62 75 67 67 69 6e |evel of |debuggin|
|00006290| 67 20 63 61 6e 0a 62 65 | 20 73 65 74 20 62 79 20 |g can.be| set by |
|000062a0| 66 6f 6c 6c 6f 77 69 6e | 67 20 74 68 65 20 0a 2e |followin|g the ..|
|000062b0| 49 20 2d 64 0a 66 6c 61 | 67 20 77 69 74 68 20 61 |I -d.fla|g with a|
|000062c0| 20 6e 75 6d 62 65 72 20 | 62 65 74 77 65 65 6e 20 | number |between |
|000062d0| 31 20 61 6e 64 20 36 2e | 0a 2e 49 50 20 22 2d 67 |1 and 6.|..IP "-g|
|000062e0| 5b 41 2d 5a 5d 22 20 31 | 36 0a 49 66 20 79 6f 75 |[A-Z]" 1|6.If you|
|000062f0| 72 20 0a 2e 42 20 75 75 | 78 28 31 29 0a 73 75 70 |r ..B uu|x(1).sup|
|00006300| 70 6f 72 74 73 20 67 72 | 61 64 69 6e 67 20 6f 66 |ports gr|ading of|
|00006310| 20 74 72 61 6e 73 61 63 | 74 69 6f 6e 73 2c 20 74 | transac|tions, t|
|00006320| 68 65 0a 2e 49 20 2d 67 | 20 0a 6f 70 74 69 6f 6e |he..I -g| .option|
|00006330| 20 63 61 6e 20 62 65 20 | 75 73 65 64 20 74 6f 20 | can be |used to |
|00006340| 73 65 74 20 74 68 65 0a | 67 72 61 64 65 20 6f 66 |set the.|grade of|
|00006350| 20 74 68 69 73 20 6d 61 | 69 6c 2e 20 41 20 67 72 | this ma|il. A gr|
|00006360| 61 64 65 20 6f 66 20 5c | 66 49 43 5c 66 52 20 69 |ade of \|fIC\fR i|
|00006370| 73 20 75 73 65 64 20 62 | 79 20 64 65 66 61 75 6c |s used b|y defaul|
|00006380| 74 2e 0a 2e 49 50 20 22 | 2d 6e 22 20 31 36 0a 54 |t...IP "|-n" 16.T|
|00006390| 68 65 0a 2e 49 20 2d 6e | 0a 6f 70 74 69 6f 6e 20 |he..I -n|.option |
|000063a0| 77 69 6c 6c 20 70 72 6f | 68 69 62 69 74 20 74 68 |will pro|hibit th|
|000063b0| 65 20 75 73 65 20 6f 66 | 20 69 6e 66 6f 6d 61 74 |e use of| infomat|
|000063c0| 69 6f 6e 20 70 72 6f 76 | 69 64 65 64 20 62 79 20 |ion prov|ided by |
|000063d0| 74 68 65 20 73 79 73 74 | 65 6d 20 61 6c 69 61 73 |the syst|em alias|
|000063e0| 0a 66 69 6c 65 2e 20 49 | 6e 66 6f 72 6d 61 74 69 |.file. I|nformati|
|000063f0| 6f 6e 20 69 6e 20 75 73 | 65 72 73 27 0a 2e 49 20 |on in us|ers'..I |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.