home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
You can browse this item here: 4108
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 73 6f 75 72 63 65 73 | 2e 6d 69 73 63 0a 50 61 |.sources|.misc.Pa|
|00000020| 74 68 3a 20 73 70 61 72 | 6b 79 21 6b 65 6e 74 0a |th: spar|ky!kent.|
|00000030| 46 72 6f 6d 3a 20 72 61 | 6d 40 65 69 66 66 65 6c |From: ra|m@eiffel|
|00000040| 2e 63 6f 6d 20 28 52 61 | 70 68 61 65 6c 20 4d 61 |.com (Ra|phael Ma|
|00000050| 6e 66 72 65 64 69 29 0a | 53 75 62 6a 65 63 74 3a |nfredi).|Subject:|
|00000060| 20 20 76 33 33 69 31 30 | 33 3a 20 20 6d 61 69 6c | v33i10|3: mail|
|00000070| 61 67 65 6e 74 20 2d 20 | 52 75 6c 65 20 42 61 73 |agent - |Rule Bas|
|00000080| 65 64 20 4d 61 69 6c 20 | 46 69 6c 74 65 72 69 6e |ed Mail |Filterin|
|00000090| 67 2c 20 50 61 72 74 31 | 31 2f 31 37 0a 4d 65 73 |g, Part1|1/17.Mes|
|000000a0| 73 61 67 65 2d 49 44 3a | 20 3c 31 39 39 32 4e 6f |sage-ID:| <1992No|
|000000b0| 76 32 30 2e 32 33 30 36 | 33 39 2e 32 36 37 36 38 |v20.2306|39.26768|
|000000c0| 40 73 70 61 72 6b 79 2e | 69 6d 64 2e 73 74 65 72 |@sparky.|imd.ster|
|000000d0| 6c 69 6e 67 2e 63 6f 6d | 3e 0a 46 6f 6c 6c 6f 77 |ling.com|>.Follow|
|000000e0| 75 70 2d 54 6f 3a 20 63 | 6f 6d 70 2e 73 6f 75 72 |up-To: c|omp.sour|
|000000f0| 63 65 73 2e 64 0a 58 2d | 4d 64 34 2d 53 69 67 6e |ces.d.X-|Md4-Sign|
|00000100| 61 74 75 72 65 3a 20 37 | 34 34 65 31 63 30 32 33 |ature: 7|44e1c023|
|00000110| 36 62 37 39 37 63 61 39 | 31 33 64 37 30 63 34 64 |6b797ca9|13d70c4d|
|00000120| 62 38 30 38 30 62 66 0a | 53 65 6e 64 65 72 3a 20 |b8080bf.|Sender: |
|00000130| 6b 65 6e 74 40 73 70 61 | 72 6b 79 2e 69 6d 64 2e |kent@spa|rky.imd.|
|00000140| 73 74 65 72 6c 69 6e 67 | 2e 63 6f 6d 20 28 4b 65 |sterling|.com (Ke|
|00000150| 6e 74 20 4c 61 6e 64 66 | 69 65 6c 64 29 0a 4f 72 |nt Landf|ield).Or|
|00000160| 67 61 6e 69 7a 61 74 69 | 6f 6e 3a 20 53 74 65 72 |ganizati|on: Ster|
|00000170| 6c 69 6e 67 20 53 6f 66 | 74 77 61 72 65 0a 52 65 |ling Sof|tware.Re|
|00000180| 66 65 72 65 6e 63 65 73 | 3a 20 3c 63 73 6d 2d 76 |ferences|: <csm-v|
|00000190| 33 33 69 30 39 33 3d 6d | 61 69 6c 61 67 65 6e 74 |33i093=m|ailagent|
|000001a0| 2e 32 33 30 31 31 37 40 | 73 70 61 72 6b 79 2e 49 |.230117@|sparky.I|
|000001b0| 4d 44 2e 53 74 65 72 6c | 69 6e 67 2e 43 4f 4d 3e |MD.Sterl|ing.COM>|
|000001c0| 0a 44 61 74 65 3a 20 46 | 72 69 2c 20 32 30 20 4e |.Date: F|ri, 20 N|
|000001d0| 6f 76 20 31 39 39 32 20 | 32 33 3a 30 36 3a 33 39 |ov 1992 |23:06:39|
|000001e0| 20 47 4d 54 0a 41 70 70 | 72 6f 76 65 64 3a 20 6b | GMT.App|roved: k|
|000001f0| 65 6e 74 40 73 70 61 72 | 6b 79 2e 69 6d 64 2e 73 |ent@spar|ky.imd.s|
|00000200| 74 65 72 6c 69 6e 67 2e | 63 6f 6d 0a 4c 69 6e 65 |terling.|com.Line|
|00000210| 73 3a 20 31 36 35 36 0a | 0a 53 75 62 6d 69 74 74 |s: 1656.|.Submitt|
|00000220| 65 64 2d 62 79 3a 20 72 | 61 6d 40 65 69 66 66 65 |ed-by: r|am@eiffe|
|00000230| 6c 2e 63 6f 6d 20 28 52 | 61 70 68 61 65 6c 20 4d |l.com (R|aphael M|
|00000240| 61 6e 66 72 65 64 69 29 | 0a 50 6f 73 74 69 6e 67 |anfredi)|.Posting|
|00000250| 2d 6e 75 6d 62 65 72 3a | 20 56 6f 6c 75 6d 65 20 |-number:| Volume |
|00000260| 33 33 2c 20 49 73 73 75 | 65 20 31 30 33 0a 41 72 |33, Issu|e 103.Ar|
|00000270| 63 68 69 76 65 2d 6e 61 | 6d 65 3a 20 6d 61 69 6c |chive-na|me: mail|
|00000280| 61 67 65 6e 74 2f 70 61 | 72 74 31 31 0a 45 6e 76 |agent/pa|rt11.Env|
|00000290| 69 72 6f 6e 6d 65 6e 74 | 3a 20 50 65 72 6c 2c 20 |ironment|: Perl, |
|000002a0| 53 65 6e 64 6d 61 69 6c | 2c 20 55 4e 49 58 0a 0a |Sendmail|, UNIX..|
|000002b0| 23 21 20 2f 62 69 6e 2f | 73 68 0a 23 20 54 68 69 |#! /bin/|sh.# Thi|
|000002c0| 73 20 69 73 20 61 20 73 | 68 65 6c 6c 20 61 72 63 |s is a s|hell arc|
|000002d0| 68 69 76 65 2e 20 20 52 | 65 6d 6f 76 65 20 61 6e |hive. R|emove an|
|000002e0| 79 74 68 69 6e 67 20 62 | 65 66 6f 72 65 20 74 68 |ything b|efore th|
|000002f0| 69 73 20 6c 69 6e 65 2c | 20 74 68 65 6e 20 66 65 |is line,| then fe|
|00000300| 65 64 20 69 74 0a 23 20 | 69 6e 74 6f 20 61 20 73 |ed it.# |into a s|
|00000310| 68 65 6c 6c 20 76 69 61 | 20 22 73 68 20 66 69 6c |hell via| "sh fil|
|00000320| 65 22 20 6f 72 20 73 69 | 6d 69 6c 61 72 2e 20 20 |e" or si|milar. |
|00000330| 54 6f 20 6f 76 65 72 77 | 72 69 74 65 20 65 78 69 |To overw|rite exi|
|00000340| 73 74 69 6e 67 20 66 69 | 6c 65 73 2c 0a 23 20 74 |sting fi|les,.# t|
|00000350| 79 70 65 20 22 73 68 20 | 66 69 6c 65 20 2d 63 22 |ype "sh |file -c"|
|00000360| 2e 0a 23 20 43 6f 6e 74 | 65 6e 74 73 3a 20 20 61 |..# Cont|ents: a|
|00000370| 67 65 6e 74 2f 65 78 61 | 6d 70 6c 65 73 2f 72 75 |gent/exa|mples/ru|
|00000380| 6c 65 73 20 61 67 65 6e | 74 2f 66 69 6c 65 73 2f |les agen|t/files/|
|00000390| 66 69 6c 74 65 72 2e 73 | 68 0a 23 20 20 20 61 67 |filter.s|h.# ag|
|000003a0| 65 6e 74 2f 66 69 6c 74 | 65 72 2f 4d 61 6b 65 66 |ent/filt|er/Makef|
|000003b0| 69 6c 65 2e 53 48 20 61 | 67 65 6e 74 2f 6d 61 69 |ile.SH a|gent/mai|
|000003c0| 6c 6c 69 73 74 2e 53 48 | 20 61 67 65 6e 74 2f 70 |llist.SH| agent/p|
|000003d0| 6c 2f 68 6f 6f 6b 2e 70 | 6c 0a 23 20 20 20 61 67 |l/hook.p|l.# ag|
|000003e0| 65 6e 74 2f 70 6c 2f 72 | 75 6c 65 73 2e 70 6c 20 |ent/pl/r|ules.pl |
|000003f0| 63 6f 6e 66 69 67 2e 68 | 2e 53 48 0a 23 20 57 72 |config.h|.SH.# Wr|
|00000400| 61 70 70 65 64 20 62 79 | 20 6b 65 6e 74 40 73 70 |apped by| kent@sp|
|00000410| 61 72 6b 79 20 6f 6e 20 | 57 65 64 20 4e 6f 76 20 |arky on |Wed Nov |
|00000420| 31 38 20 32 32 3a 34 32 | 3a 32 35 20 31 39 39 32 |18 22:42|:25 1992|
|00000430| 0a 50 41 54 48 3d 2f 62 | 69 6e 3a 2f 75 73 72 2f |.PATH=/b|in:/usr/|
|00000440| 62 69 6e 3a 2f 75 73 72 | 2f 75 63 62 3a 2f 75 73 |bin:/usr|/ucb:/us|
|00000450| 72 2f 6c 6f 63 61 6c 2f | 62 69 6e 3a 2f 75 73 72 |r/local/|bin:/usr|
|00000460| 2f 6c 62 69 6e 20 3b 20 | 65 78 70 6f 72 74 20 50 |/lbin ; |export P|
|00000470| 41 54 48 0a 65 63 68 6f | 20 49 66 20 74 68 69 73 |ATH.echo| If this|
|00000480| 20 61 72 63 68 69 76 65 | 20 69 73 20 63 6f 6d 70 | archive| is comp|
|00000490| 6c 65 74 65 2c 20 79 6f | 75 20 77 69 6c 6c 20 73 |lete, yo|u will s|
|000004a0| 65 65 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |ee the f|ollowing|
|000004b0| 20 6d 65 73 73 61 67 65 | 3a 0a 65 63 68 6f 20 27 | message|:.echo '|
|000004c0| 20 20 20 20 20 20 20 20 | 20 20 22 73 68 61 72 3a | | "shar:|
|000004d0| 20 45 6e 64 20 6f 66 20 | 61 72 63 68 69 76 65 20 | End of |archive |
|000004e0| 31 31 20 28 6f 66 20 31 | 37 29 2e 22 27 0a 69 66 |11 (of 1|7)."'.if|
|000004f0| 20 74 65 73 74 20 2d 66 | 20 27 61 67 65 6e 74 2f | test -f| 'agent/|
|00000500| 65 78 61 6d 70 6c 65 73 | 2f 72 75 6c 65 73 27 20 |examples|/rules' |
|00000510| 2d 61 20 22 24 7b 31 7d | 22 20 21 3d 20 22 2d 63 |-a "${1}|" != "-c|
|00000520| 22 20 3b 20 74 68 65 6e | 20 0a 20 20 65 63 68 6f |" ; then| . echo|
|00000530| 20 73 68 61 72 3a 20 57 | 69 6c 6c 20 6e 6f 74 20 | shar: W|ill not |
|00000540| 63 6c 6f 62 62 65 72 20 | 65 78 69 73 74 69 6e 67 |clobber |existing|
|00000550| 20 66 69 6c 65 20 5c 22 | 27 61 67 65 6e 74 2f 65 | file \"|'agent/e|
|00000560| 78 61 6d 70 6c 65 73 2f | 72 75 6c 65 73 27 5c 22 |xamples/|rules'\"|
|00000570| 0a 65 6c 73 65 0a 20 20 | 65 63 68 6f 20 73 68 61 |.else. |echo sha|
|00000580| 72 3a 20 45 78 74 72 61 | 63 74 69 6e 67 20 5c 22 |r: Extra|cting \"|
|00000590| 27 61 67 65 6e 74 2f 65 | 78 61 6d 70 6c 65 73 2f |'agent/e|xamples/|
|000005a0| 72 75 6c 65 73 27 5c 22 | 20 5c 28 37 32 33 39 20 |rules'\"| \(7239 |
|000005b0| 63 68 61 72 61 63 74 65 | 72 73 5c 29 0a 20 20 73 |characte|rs\). s|
|000005c0| 65 64 20 22 73 2f 5e 58 | 2f 2f 22 20 3e 27 61 67 |ed "s/^X|//" >'ag|
|000005d0| 65 6e 74 2f 65 78 61 6d | 70 6c 65 73 2f 72 75 6c |ent/exam|ples/rul|
|000005e0| 65 73 27 20 3c 3c 27 45 | 4e 44 5f 4f 46 5f 46 49 |es' <<'E|ND_OF_FI|
|000005f0| 4c 45 27 0a 58 23 0a 58 | 23 20 52 75 6c 65 20 66 |LE'.X#.X|# Rule f|
|00000600| 69 6c 65 20 66 6f 72 20 | 6d 61 69 6c 61 67 65 6e |ile for |mailagen|
|00000610| 74 0a 58 23 0a 58 0a 58 | 23 20 54 68 65 20 27 6d |t.X#.X.X|# The 'm|
|00000620| 61 69 6c 64 69 72 27 20 | 76 61 72 69 61 62 6c 65 |aildir' |variable|
|00000630| 20 74 65 6c 6c 73 20 74 | 68 65 20 6d 61 69 6c 61 | tells t|he maila|
|00000640| 67 65 6e 74 20 77 68 65 | 72 65 20 74 68 65 20 66 |gent whe|re the f|
|00000650| 6f 6c 64 65 72 73 20 61 | 72 65 20 6c 6f 63 61 74 |olders a|re locat|
|00000660| 65 64 2e 0a 58 23 20 42 | 79 20 64 65 66 61 75 6c |ed..X# B|y defaul|
|00000670| 74 2c 20 69 74 20 69 73 | 20 73 65 74 20 74 6f 20 |t, it is| set to |
|00000680| 7e 2f 4d 61 69 6c 20 28 | 62 65 63 61 75 73 65 20 |~/Mail (|because |
|00000690| 69 74 20 69 73 20 61 20 | 63 6f 6e 76 65 6e 74 69 |it is a |conventi|
|000006a0| 6f 6e 20 75 73 65 64 20 | 62 79 20 6f 74 68 65 72 |on used |by other|
|000006b0| 0a 58 23 20 6d 61 69 6c | 2d 72 65 6c 61 74 65 64 |.X# mail|-related|
|000006c0| 20 70 72 6f 67 72 61 6d | 73 29 2c 20 62 75 74 20 | program|s), but |
|000006d0| 74 68 65 20 61 75 74 68 | 6f 72 20 70 72 65 66 65 |the auth|or prefe|
|000006e0| 72 73 20 74 6f 20 75 73 | 65 20 7e 2f 6d 61 69 6c |rs to us|e ~/mail|
|000006f0| 2e 0a 58 0a 58 6d 61 69 | 6c 64 69 72 20 3d 20 7e |..X.Xmai|ldir = ~|
|00000700| 2f 6d 61 69 6c 3b 0a 58 | 0a 58 23 20 54 68 65 20 |/mail;.X|.X# The |
|00000710| 27 6d 61 69 6c 66 69 6c | 74 65 72 27 20 76 61 72 |'mailfil|ter' var|
|00000720| 69 61 62 6c 65 20 70 6f | 69 6e 74 73 20 74 6f 20 |iable po|ints to |
|00000730| 74 68 65 20 70 6c 61 63 | 65 20 77 68 65 72 65 20 |the plac|e where |
|00000740| 61 6c 6c 20 74 68 65 20 | 6c 6f 61 64 65 64 20 66 |all the |loaded f|
|00000750| 69 6c 65 73 0a 58 23 20 | 61 72 65 20 73 74 6f 72 |iles.X# |are stor|
|00000760| 65 64 20 28 65 2e 67 2e | 20 6c 6f 61 64 65 64 20 |ed (e.g.| loaded |
|00000770| 70 61 74 74 65 72 6e 73 | 20 6f 72 20 61 64 64 72 |patterns| or addr|
|00000780| 65 73 73 65 73 29 20 61 | 6e 64 20 69 73 20 75 73 |esses) a|nd is us|
|00000790| 65 64 20 6f 6e 6c 79 20 | 77 68 65 6e 20 61 0a 58 |ed only |when a.X|
|000007a0| 23 20 72 65 6c 61 74 69 | 76 65 20 70 61 74 68 20 |# relati|ve path |
|000007b0| 69 73 20 73 70 65 63 69 | 66 69 65 64 2e 0a 58 0a |is speci|fied..X.|
|000007c0| 58 6d 61 69 6c 66 69 6c | 74 65 72 20 3d 20 7e 2f |Xmailfil|ter = ~/|
|000007d0| 6d 61 69 6c 3b 0a 58 0a | 58 23 20 54 68 69 73 20 |mail;.X.|X# This |
|000007e0| 73 65 74 20 6f 66 20 72 | 75 6c 65 73 20 63 61 74 |set of r|ules cat|
|000007f0| 63 68 65 73 20 63 6f 6d | 6d 61 6e 64 20 6d 61 69 |ches com|mand mai|
|00000800| 6c 73 20 65 61 72 6c 79 | 20 69 6e 20 74 68 65 20 |ls early| in the |
|00000810| 70 72 6f 63 65 73 73 2e | 0a 58 23 20 43 75 72 72 |process.|.X# Curr|
|00000820| 65 6e 74 6c 79 2c 20 6f | 6e 6c 79 20 74 68 65 20 |ently, o|nly the |
|00000830| 61 75 74 68 6f 72 2c 20 | 77 68 6f 73 65 20 6c 6f |author, |whose lo|
|00000840| 67 69 6e 20 6e 61 6d 65 | 20 69 73 20 27 72 61 6d |gin name| is 'ram|
|00000850| 27 2c 20 69 73 20 61 6c | 6c 6f 77 65 64 20 74 6f |', is al|lowed to|
|00000860| 20 75 73 65 0a 58 23 20 | 74 68 69 73 20 66 65 61 | use.X# |this fea|
|00000870| 74 75 72 65 2e 20 41 6c | 6c 20 6f 74 68 65 72 73 |ture. Al|l others|
|00000880| 20 67 65 74 20 61 20 6d | 65 73 73 61 67 65 20 65 | get a m|essage e|
|00000890| 78 70 6c 61 69 6e 69 6e | 67 20 77 68 79 20 74 68 |xplainin|g why th|
|000008a0| 65 69 72 20 63 6f 6d 6d | 61 6e 64 20 77 61 73 0a |eir comm|and was.|
|000008b0| 58 23 20 72 65 6a 65 63 | 74 65 64 20 28 70 6f 6c |X# rejec|ted (pol|
|000008c0| 69 74 69 63 61 6c 20 72 | 65 61 73 6f 6e 73 29 2c |itical r|easons),|
|000008d0| 20 61 6e 64 20 74 68 65 | 6e 20 74 68 65 20 6d 65 | and the|n the me|
|000008e0| 73 73 61 67 65 20 69 73 | 20 70 72 6f 63 65 73 73 |ssage is| process|
|000008f0| 65 64 20 6e 6f 72 6d 61 | 6c 6c 79 0a 58 23 20 62 |ed norma|lly.X# b|
|00000900| 79 20 74 68 65 20 6f 74 | 68 65 72 20 73 65 74 20 |y the ot|her set |
|00000910| 6f 66 20 72 75 6c 65 73 | 2e 20 4e 6f 74 65 20 68 |of rules|. Note h|
|00000920| 6f 77 20 74 68 65 20 42 | 45 47 49 4e 20 61 6e 64 |ow the B|EGIN and|
|00000930| 20 52 45 4a 45 43 54 20 | 63 6f 6d 6d 61 6e 64 73 | REJECT |commands|
|00000940| 0a 58 23 20 69 6e 65 66 | 66 69 63 69 65 6e 74 6c |.X# inef|ficientl|
|00000950| 79 20 72 65 70 6c 61 63 | 65 20 74 68 65 20 6d 69 |y replac|e the mi|
|00000960| 73 73 69 6e 67 20 69 66 | 2f 65 6c 73 65 20 73 74 |ssing if|/else st|
|00000970| 72 75 63 74 75 72 65 2e | 0a 58 0a 58 41 6c 6c 3a |ructure.|.X.XAll:|
|00000980| 20 2f 5e 53 75 62 6a 65 | 63 74 3a 5c 73 2a 5b 43 | /^Subje|ct:\s*[C|
|00000990| 63 5d 6f 6d 6d 61 6e 64 | 2f 09 7b 20 42 45 47 49 |c]ommand|/.{ BEGI|
|000009a0| 4e 20 43 4d 44 3b 20 52 | 45 4a 45 43 54 20 7d 3b |N CMD; R|EJECT };|
|000009b0| 0a 58 3c 43 4d 44 3e 20 | 46 72 6f 6d 3a 20 72 61 |.X<CMD> |From: ra|
|000009c0| 6d 09 09 09 7b 20 53 54 | 52 49 50 20 52 65 63 65 |m...{ ST|RIP Rece|
|000009d0| 69 76 65 64 3b 20 53 41 | 56 45 20 63 6d 64 73 3b |ived; SA|VE cmds;|
|000009e0| 20 50 52 4f 43 45 53 53 | 20 7d 3b 0a 58 3c 43 4d | PROCESS| };.X<CM|
|000009f0| 44 3e 20 2a 09 09 09 09 | 09 7b 20 42 45 47 49 4e |D> *....|.{ BEGIN|
|00000a00| 20 49 4e 49 54 49 41 4c | 3b 20 4d 45 53 53 41 47 | INITIAL|; MESSAG|
|00000a10| 45 20 7e 2f 74 6d 70 2f | 6e 6f 63 6d 64 73 3b 20 |E ~/tmp/|nocmds; |
|00000a20| 52 45 4a 45 43 54 20 7d | 3b 0a 58 0a 58 23 20 48 |REJECT }|;.X.X# H|
|00000a30| 65 72 65 2c 20 49 20 61 | 6d 20 74 75 72 6e 69 6e |ere, I a|m turnin|
|00000a40| 67 20 61 20 6d 61 69 6c | 69 6e 67 20 6c 69 73 74 |g a mail|ing list|
|00000a50| 20 69 6e 74 6f 20 61 20 | 6e 65 77 73 67 72 6f 75 | into a |newsgrou|
|00000a60| 70 20 62 79 20 6c 6f 63 | 61 6c 6c 79 20 70 6f 73 |p by loc|ally pos|
|00000a70| 74 69 6e 67 20 74 68 65 | 0a 58 23 20 6d 65 73 73 |ting the|.X# mess|
|00000a80| 61 67 65 73 20 49 20 67 | 65 74 2c 20 73 6f 20 74 |ages I g|et, so t|
|00000a90| 68 61 74 20 6f 74 68 65 | 72 73 20 63 61 6e 20 72 |hat othe|rs can r|
|00000aa0| 65 61 64 20 74 68 65 6d | 20 74 6f 6f 2e 20 49 20 |ead them| too. I |
|00000ab0| 68 61 76 65 20 63 6f 6e | 66 69 67 75 72 65 64 20 |have con|figured |
|00000ac0| 69 6e 65 77 73 20 74 6f | 0a 58 23 20 6d 61 69 6c |inews to|.X# mail|
|00000ad0| 20 6d 65 20 61 6e 79 20 | 66 6f 6c 6c 6f 77 2d 75 | me any |follow-u|
|00000ae0| 70 20 6d 61 64 65 20 69 | 6e 74 6f 20 74 68 69 73 |p made i|nto this|
|00000af0| 20 67 72 6f 75 70 2c 20 | 61 6e 64 20 74 68 6f 73 | group, |and thos|
|00000b00| 65 20 61 72 65 20 63 61 | 75 67 68 74 20 77 69 74 |e are ca|ught wit|
|00000b10| 68 20 74 68 65 0a 58 23 | 20 6e 65 78 74 20 72 75 |h the.X#| next ru|
|00000b20| 6c 65 20 61 6e 64 20 62 | 6f 75 6e 63 65 64 20 64 |le and b|ounced d|
|00000b30| 69 72 65 63 74 6c 79 20 | 74 6f 20 74 68 65 20 6d |irectly |to the m|
|00000b40| 61 69 6c 69 6e 67 20 6c | 69 73 74 2e 2e 2e 20 77 |ailing l|ist... w|
|00000b50| 68 69 63 68 20 77 69 6c | 6c 20 6f 66 20 63 6f 75 |hich wil|l of cou|
|00000b60| 72 73 65 0a 58 23 20 72 | 65 73 65 6e 64 20 74 68 |rse.X# r|esend th|
|00000b70| 65 20 6d 65 73 73 61 67 | 65 20 74 6f 20 6d 65 2e |e messag|e to me.|
|00000b80| 20 42 75 74 20 74 68 65 | 20 42 4f 55 4e 43 45 20 | But the| BOUNCE |
|00000b90| 6f 70 65 72 61 74 69 6f | 6e 20 6c 65 66 74 20 61 |operatio|n left a|
|00000ba0| 6e 20 60 60 58 2d 46 69 | 6c 74 65 72 27 27 20 66 |n ``X-Fi|lter'' f|
|00000bb0| 69 65 6c 64 0a 58 23 20 | 69 6e 20 74 68 65 20 6d |ield.X# |in the m|
|00000bc0| 65 73 73 61 67 65 20 61 | 6e 64 20 74 68 65 20 6d |essage a|nd the m|
|00000bd0| 61 69 6c 61 67 65 6e 74 | 20 65 6e 74 65 72 73 20 |ailagent| enters |
|00000be0| 69 6e 20 74 68 65 20 73 | 70 65 63 69 61 6c 20 73 |in the s|pecial s|
|00000bf0| 65 65 6e 20 6d 6f 64 65 | 2c 20 72 65 63 6f 67 6e |een mode|, recogn|
|00000c00| 69 7a 69 6e 67 0a 58 23 | 20 61 6e 20 61 6c 72 65 |izing.X#| an alre|
|00000c10| 61 64 79 20 66 69 6c 74 | 65 72 65 64 20 6d 65 73 |ady filt|ered mes|
|00000c20| 73 61 67 65 2e 20 54 68 | 65 20 74 68 69 72 64 20 |sage. Th|e third |
|00000c30| 72 75 6c 65 20 74 68 65 | 6e 20 73 69 6d 70 6c 79 |rule the|n simply|
|00000c40| 20 64 65 6c 65 74 65 73 | 20 74 68 6f 73 65 0a 58 | deletes| those.X|
|00000c50| 23 20 64 75 70 6c 69 63 | 61 74 65 73 2e 0a 58 0a |# duplic|ates..X.|
|00000c60| 58 54 6f 20 43 63 3a 20 | 67 75 65 40 65 69 66 66 |XTo Cc: |gue@eiff|
|00000c70| 65 6c 2e 66 72 09 09 09 | 7b 20 50 4f 53 54 20 2d |el.fr...|{ POST -|
|00000c80| 6c 20 6d 61 69 6c 2e 67 | 75 65 20 7d 3b 0a 58 41 |l mail.g|ue };.XA|
|00000c90| 70 70 61 72 65 6e 74 6c | 79 2d 54 6f 3a 20 72 61 |pparentl|y-To: ra|
|00000ca0| 6d 2c 0a 58 4e 65 77 73 | 67 72 6f 75 70 73 3a 20 |m,.XNews|groups: |
|00000cb0| 6d 61 69 6c 2e 67 75 65 | 09 09 09 7b 20 53 54 52 |mail.gue|...{ STR|
|00000cc0| 49 50 20 41 70 70 61 72 | 65 6e 74 6c 79 2d 54 6f |IP Appar|ently-To|
|00000cd0| 3b 20 42 4f 55 4e 43 45 | 20 67 75 65 40 65 69 66 |; BOUNCE| gue@eif|
|00000ce0| 66 65 6c 2e 66 72 20 7d | 3b 0a 58 3c 5f 53 45 45 |fel.fr }|;.X<_SEE|
|00000cf0| 4e 5f 3e 20 4e 65 77 73 | 67 72 6f 75 70 73 3a 20 |N_> News|groups: |
|00000d00| 6d 61 69 6c 2e 67 75 65 | 09 7b 20 44 45 4c 45 54 |mail.gue|.{ DELET|
|00000d10| 45 20 7d 3b 0a 58 0a 58 | 23 20 54 68 65 20 4d 48 |E };.X.X|# The MH|
|00000d20| 20 75 73 65 72 73 20 6d | 61 69 6c 69 6e 67 20 6c | users m|ailing l|
|00000d30| 69 73 74 2e 20 49 20 61 | 6d 20 74 68 65 20 73 6f |ist. I a|m the so|
|00000d40| 6c 65 20 72 65 61 64 65 | 72 20 6f 66 20 74 68 69 |le reade|r of thi|
|00000d50| 73 20 6c 69 73 74 2e 20 | 49 6e 20 74 68 65 20 70 |s list. |In the p|
|00000d60| 61 73 74 2c 0a 58 23 20 | 49 20 75 73 65 64 20 74 |ast,.X# |I used t|
|00000d70| 6f 20 67 65 74 20 73 6f | 6d 65 20 64 75 70 6c 69 |o get so|me dupli|
|00000d80| 63 61 74 65 20 6d 65 73 | 73 61 67 65 73 2c 20 62 |cate mes|sages, b|
|00000d90| 75 74 20 73 69 6e 63 65 | 20 49 27 76 65 20 61 64 |ut since| I've ad|
|00000da0| 64 65 64 20 74 68 65 20 | 55 4e 49 51 55 45 0a 58 |ded the |UNIQUE.X|
|00000db0| 23 20 63 6f 6d 6d 61 6e | 64 2c 20 49 20 68 61 76 |# comman|d, I hav|
|00000dc0| 6e 27 74 20 73 65 65 6e | 20 61 6e 79 2e 2e 2e 20 |n't seen| any... |
|00000dd0| 77 65 69 72 64 21 20 3a | 2d 29 0a 58 0a 58 54 6f |weird! :|-).X.XTo|
|00000de0| 20 43 63 3a 20 2f 5e 6d | 68 2d 75 73 65 72 73 40 | Cc: /^m|h-users@|
|00000df0| 69 63 73 2e 75 63 69 2e | 65 64 75 24 2f 69 0a 58 |ics.uci.|edu$/i.X|
|00000e00| 09 7b 20 53 54 52 49 50 | 20 52 65 63 65 69 76 65 |.{ STRIP| Receive|
|00000e10| 64 3b 20 55 4e 49 51 55 | 45 20 2d 61 3b 20 53 41 |d; UNIQU|E -a; SA|
|00000e20| 56 45 20 63 6f 6d 70 2e | 6d 61 69 6c 2e 6d 68 20 |VE comp.|mail.mh |
|00000e30| 7d 3b 0a 58 0a 58 23 20 | 54 68 69 73 20 6d 61 69 |};.X.X# |This mai|
|00000e40| 6c 69 6e 67 20 6c 69 73 | 74 20 69 73 20 61 20 64 |ling lis|t is a d|
|00000e50| 69 67 65 73 74 20 76 65 | 72 73 69 6f 6e 20 6f 66 |igest ve|rsion of|
|00000e60| 20 74 68 65 20 63 6f 6d | 70 2e 75 6e 69 78 2e 77 | the com|p.unix.w|
|00000e70| 69 7a 61 72 64 73 20 6e | 65 77 73 67 72 6f 75 70 |izards n|ewsgroup|
|00000e80| 73 2e 0a 58 23 20 49 74 | 20 69 73 20 6e 6f 74 20 |s..X# It| is not |
|00000e90| 70 65 72 66 65 63 74 6c | 79 20 52 46 43 2d 39 33 |perfectl|y RFC-93|
|00000ea0| 34 2c 20 62 75 74 20 63 | 6c 6f 73 65 2c 20 73 6f |4, but c|lose, so|
|00000eb0| 20 49 20 73 69 6d 70 6c | 79 20 64 69 73 63 61 72 | I simpl|y discar|
|00000ec0| 64 20 74 68 65 20 6f 72 | 69 67 69 6e 61 6c 0a 58 |d the or|iginal.X|
|00000ed0| 23 20 6d 65 73 73 61 67 | 65 20 61 6e 64 20 64 65 |# messag|e and de|
|00000ee0| 6c 65 74 65 20 74 68 65 | 20 68 65 61 64 65 72 20 |lete the| header |
|00000ef0| 77 68 69 63 68 20 69 73 | 20 6f 6e 6c 79 20 74 68 |which is| only th|
|00000f00| 65 20 74 61 62 6c 65 20 | 6f 66 20 63 6f 6e 74 65 |e table |of conte|
|00000f10| 6e 74 73 2e 2e 2e 20 57 | 65 6c 6c 2c 0a 58 23 20 |nts... W|ell,.X# |
|00000f20| 49 27 6d 20 6e 6f 74 20 | 73 75 72 65 20 74 68 65 |I'm not |sure the|
|00000f30| 72 65 20 68 61 73 6e 27 | 74 20 62 65 65 6e 20 61 |re hasn'|t been a|
|00000f40| 6e 79 20 63 68 61 6e 67 | 65 73 2e 2e 2e 0a 58 0a |ny chang|es....X.|
|00000f50| 58 54 6f 20 43 63 3a 20 | 2f 5e 75 6e 69 78 2d 77 |XTo Cc: |/^unix-w|
|00000f60| 69 7a 61 72 64 73 40 2e | 2a 62 72 6c 2e 6d 69 6c |izards@.|*brl.mil|
|00000f70| 24 2f 69 0a 58 09 7b 20 | 53 54 52 49 50 20 52 65 |$/i.X.{ |STRIP Re|
|00000f80| 63 65 69 76 65 64 3b 20 | 53 50 4c 49 54 20 2d 69 |ceived; |SPLIT -i|
|00000f90| 64 20 75 6e 69 78 2d 77 | 69 7a 20 7d 3b 0a 58 0a |d unix-w|iz };.X.|
|00000fa0| 58 23 20 54 68 6f 73 65 | 20 61 72 65 20 6e 65 77 |X# Those| are new|
|00000fb0| 73 20 66 72 6f 6d 20 74 | 68 65 20 46 72 65 6e 63 |s from t|he Frenc|
|00000fc0| 68 20 65 6d 62 61 73 73 | 79 2c 20 77 68 69 63 68 |h embass|y, which|
|00000fd0| 20 61 72 65 20 66 6f 72 | 77 61 72 64 65 64 20 74 | are for|warded t|
|00000fe0| 6f 20 75 73 20 22 66 72 | 6f 67 67 69 65 73 22 2e |o us "fr|oggies".|
|00000ff0| 0a 58 23 20 49 20 61 6d | 20 66 6f 72 77 61 72 64 |.X# I am| forward|
|00001000| 69 6e 67 20 74 68 69 73 | 20 6c 69 73 74 20 74 6f |ing this| list to|
|00001010| 20 61 6c 6c 20 74 68 65 | 20 46 72 65 6e 63 68 20 | all the| French |
|00001020| 70 65 6f 70 6c 65 20 77 | 68 6f 20 61 72 65 20 77 |people w|ho are w|
|00001030| 6f 72 6b 69 6e 67 20 69 | 6e 20 74 68 69 73 0a 58 |orking i|n this.X|
|00001040| 23 20 63 6f 6d 70 61 6e | 79 20 28 74 68 65 79 20 |# compan|y (they |
|00001050| 61 72 65 20 61 6c 6c 20 | 6c 69 73 74 65 64 20 69 |are all |listed i|
|00001060| 6e 20 74 68 65 20 66 69 | 6c 65 20 7e 2f 6d 61 69 |n the fi|le ~/mai|
|00001070| 6c 2f 66 72 6f 67 2d 6c | 69 73 74 29 20 61 6e 64 |l/frog-l|ist) and|
|00001080| 20 49 20 6b 65 65 70 20 | 61 0a 58 23 20 63 6f 70 | I keep |a.X# cop|
|00001090| 79 20 66 6f 72 20 6d 79 | 73 65 6c 66 2c 20 6f 66 |y for my|self, of|
|000010a0| 20 63 6f 75 72 73 65 2e | 0a 58 0a 58 54 6f 20 43 | course.|.X.XTo C|
|000010b0| 63 3a 20 2f 5e 2e 2a 66 | 72 6f 67 3a 3b 40 67 75 |c: /^.*f|rog:;@gu|
|000010c0| 76 61 78 2e 67 65 6f 72 | 67 65 74 6f 77 6e 2e 65 |vax.geor|getown.e|
|000010d0| 64 75 24 2f 69 0a 58 09 | 7b 20 46 4f 52 57 41 52 |du$/i.X.|{ FORWAR|
|000010e0| 44 20 22 66 72 6f 67 2d | 6c 69 73 74 22 3b 20 53 |D "frog-|list"; S|
|000010f0| 54 52 49 50 20 52 65 63 | 65 69 76 65 64 3b 20 53 |TRIP Rec|eived; S|
|00001100| 41 56 45 20 66 72 6f 67 | 20 7d 3b 0a 58 0a 58 23 |AVE frog| };.X.X#|
|00001110| 20 54 68 69 73 20 6d 61 | 69 6c 69 6e 67 20 6c 69 | This ma|iling li|
|00001120| 73 74 20 69 73 20 6e 6f | 74 20 61 74 20 61 6c 6c |st is no|t at all|
|00001130| 20 52 46 43 2d 39 33 34 | 2c 20 62 75 74 20 69 74 | RFC-934|, but it|
|00001140| 20 75 73 75 61 6c 6c 79 | 20 68 61 73 20 6e 6f 20 | usually| has no |
|00001150| 68 65 61 64 65 72 73 2e | 20 54 68 65 0a 58 23 20 |headers.| The.X# |
|00001160| 6d 6f 64 65 72 61 74 6f | 72 20 70 72 65 66 65 72 |moderato|r prefer|
|00001170| 73 20 74 6f 20 61 64 64 | 20 73 6f 6d 65 20 63 6f |s to add| some co|
|00001180| 6d 6d 65 6e 74 73 20 61 | 74 20 74 68 65 20 65 6e |mments a|t the en|
|00001190| 64 20 6f 66 20 74 68 65 | 20 64 69 67 65 73 74 2c |d of the| digest,|
|000011a0| 20 68 65 6e 63 65 20 74 | 68 65 0a 58 23 20 2d 77 | hence t|he.X# -w|
|000011b0| 20 66 6c 61 67 2c 20 6d | 61 69 6e 6c 79 20 74 6f | flag, m|ainly to|
|000011c0| 20 6b 65 65 70 20 74 68 | 65 20 74 72 61 69 6c 69 | keep th|e traili|
|000011d0| 6e 67 20 67 61 72 62 61 | 67 65 2e 0a 58 0a 58 54 |ng garba|ge..X.XT|
|000011e0| 6f 20 43 63 3a 20 2f 5e | 6d 61 67 69 63 40 63 72 |o Cc: /^|magic@cr|
|000011f0| 64 67 77 31 2e 67 65 2e | 63 6f 6d 24 2f 69 0a 58 |dgw1.ge.|com$/i.X|
|00001200| 09 7b 20 53 54 52 49 50 | 20 52 65 63 65 69 76 65 |.{ STRIP| Receive|
|00001210| 64 3b 20 53 50 4c 49 54 | 20 2d 65 69 77 20 6d 61 |d; SPLIT| -eiw ma|
|00001220| 67 69 63 20 7d 3b 0a 58 | 0a 58 23 20 54 68 65 20 |gic };.X|.X# The |
|00001230| 66 6f 6c 6c 6f 77 69 6e | 67 20 6d 61 69 6c 69 6e |followin|g mailin|
|00001240| 67 20 6c 69 73 74 20 75 | 73 65 64 20 74 6f 20 66 |g list u|sed to f|
|00001250| 6f 72 77 61 72 64 20 6d | 65 73 73 61 67 65 73 20 |orward m|essages |
|00001260| 66 72 6f 6d 20 6d 61 6e | 79 20 6e 65 77 73 67 72 |from man|y newsgr|
|00001270| 6f 75 70 73 2c 0a 58 23 | 20 62 75 74 20 6e 6f 74 |oups,.X#| but not|
|00001280| 20 61 6c 6c 20 6f 66 20 | 74 68 65 6d 20 61 72 65 | all of |them are|
|00001290| 20 76 61 6c 69 64 20 6e | 6f 77 2c 20 61 6e 64 20 | valid n|ow, and |
|000012a0| 50 61 75 6c 20 56 69 78 | 69 65 20 69 73 20 74 61 |Paul Vix|ie is ta|
|000012b0| 6c 6b 69 6e 67 20 61 62 | 6f 75 74 20 6d 6f 76 69 |lking ab|out movi|
|000012c0| 6e 67 0a 58 23 20 74 68 | 65 20 73 72 63 20 6c 69 |ng.X# th|e src li|
|000012d0| 73 74 20 74 6f 20 70 61 | 2e 64 65 63 2e 63 6f 6d |st to pa|.dec.com|
|000012e0| 2e 20 41 6e 79 77 61 79 | 2c 20 49 20 61 6d 20 66 |. Anyway|, I am f|
|000012f0| 69 6c 74 65 72 69 6e 67 | 20 74 68 65 20 6d 65 73 |iltering| the mes|
|00001300| 73 61 67 65 73 20 61 63 | 63 6f 72 64 69 6e 67 0a |sages ac|cording.|
|00001310| 58 23 20 74 6f 20 74 68 | 65 20 60 60 4e 65 77 73 |X# to th|e ``News|
|00001320| 67 72 6f 75 70 73 27 27 | 20 66 69 65 6c 64 2e 0a |groups''| field..|
|00001330| 58 0a 58 54 6f 20 43 63 | 3a 20 2f 5e 75 6e 69 78 |X.XTo Cc|: /^unix|
|00001340| 2d 73 6f 75 72 63 65 73 | 2e 2a 40 2e 2a 62 72 6c |-sources|.*@.*brl|
|00001350| 2e 6d 69 6c 24 2f 69 0a | 58 09 7b 20 53 54 52 49 |.mil$/i.|X.{ STRI|
|00001360| 50 20 52 65 63 65 69 76 | 65 64 3b 20 42 45 47 49 |P Receiv|ed; BEGI|
|00001370| 4e 20 53 52 43 3b 20 52 | 45 4a 45 43 54 20 7d 3b |N SRC; R|EJECT };|
|00001380| 0a 58 0a 58 3c 53 52 43 | 3e 20 4e 65 77 73 67 72 |.X.X<SRC|> Newsgr|
|00001390| 6f 75 70 73 3a 0a 58 09 | 09 63 6f 6d 70 2e 73 6f |oups:.X.|.comp.so|
|000013a0| 75 72 63 65 73 2e 75 6e | 69 78 2c 0a 58 09 09 63 |urces.un|ix,.X..c|
|000013b0| 6f 6d 70 2e 73 6f 75 72 | 63 65 73 2e 6d 69 73 63 |omp.sour|ces.misc|
|000013c0| 09 09 7b 20 53 41 56 45 | 20 75 6e 69 78 2d 73 72 |..{ SAVE| unix-sr|
|000013d0| 63 2f 73 72 63 20 7d 0a | 58 09 09 63 6f 6d 70 2e |c/src }.|X..comp.|
|000013e0| 73 6f 75 72 63 65 73 2e | 67 61 6d 65 73 09 09 7b |sources.|games..{|
|000013f0| 20 53 41 56 45 20 75 6e | 69 78 2d 73 72 63 2f 67 | SAVE un|ix-src/g|
|00001400| 61 6d 65 73 20 7d 0a 58 | 09 09 63 6f 6d 70 2e 73 |ames }.X|..comp.s|
|00001410| 6f 75 72 63 65 73 2e 78 | 09 09 09 7b 20 53 41 56 |ources.x|...{ SAV|
|00001420| 45 20 75 6e 69 78 2d 73 | 72 63 2f 78 20 7d 0a 58 |E unix-s|rc/x }.X|
|00001430| 09 09 63 6f 6d 70 2e 73 | 6f 75 72 63 65 73 2e 62 |..comp.s|ources.b|
|00001440| 75 67 73 09 09 7b 20 53 | 41 56 45 20 75 6e 69 78 |ugs..{ S|AVE unix|
|00001450| 2d 73 72 63 2f 62 75 67 | 73 20 7d 0a 58 09 09 63 |-src/bug|s }.X..c|
|00001460| 6f 6d 70 2e 73 6f 75 72 | 63 65 73 2e 77 61 6e 74 |omp.sour|ces.want|
|00001470| 65 64 09 09 7b 20 53 41 | 56 45 20 75 6e 69 78 2d |ed..{ SA|VE unix-|
|00001480| 73 72 63 2f 77 61 6e 74 | 65 64 20 7d 3b 0a 58 3c |src/want|ed };.X<|
|00001490| 53 52 43 3e 20 2a 09 09 | 09 09 09 09 09 7b 20 53 |SRC> *..|.....{ S|
|000014a0| 41 56 45 20 75 6e 69 78 | 2d 73 72 63 2f 6f 74 68 |AVE unix|-src/oth|
|000014b0| 65 72 20 7d 3b 0a 58 0a | 58 23 20 4f 74 68 65 72 |er };.X.|X# Other|
|000014c0| 20 6d 61 69 6c 69 6e 67 | 20 6c 69 73 74 2c 20 77 | mailing| list, w|
|000014d0| 69 74 68 20 6e 6f 74 68 | 69 6e 67 20 70 61 72 74 |ith noth|ing part|
|000014e0| 69 63 75 6c 61 72 2e 20 | 46 74 70 6d 61 69 6c 20 |icular. |Ftpmail |
|000014f0| 69 73 20 6e 6f 74 20 72 | 65 61 6c 6c 79 20 61 20 |is not r|eally a |
|00001500| 6d 61 69 6c 69 6e 67 0a | 58 23 20 6c 69 73 74 2c |mailing.|X# list,|
|00001510| 20 6e 6f 72 20 69 73 20 | 69 74 20 61 20 76 61 6c | nor is |it a val|
|00001520| 69 64 20 75 73 65 72 20 | 6e 61 6d 65 2c 20 68 65 |id user |name, he|
|00001530| 6e 63 65 20 74 68 65 20 | 72 65 67 75 6c 61 72 20 |nce the |regular |
|00001540| 6e 6f 74 20 61 6e 63 68 | 6f 72 65 64 20 72 65 67 |not anch|ored reg|
|00001550| 75 6c 61 72 0a 58 23 20 | 65 78 70 72 65 73 73 69 |ular.X# |expressi|
|00001560| 6f 6e 2e 0a 58 0a 58 54 | 6f 20 43 63 3a 20 72 64 |on..X.XT|o Cc: rd|
|00001570| 62 2d 69 6e 74 65 72 65 | 73 74 09 09 7b 20 53 54 |b-intere|st..{ ST|
|00001580| 52 49 50 20 52 65 63 65 | 69 76 65 64 3b 20 53 41 |RIP Rece|ived; SA|
|00001590| 56 45 20 72 64 62 20 7d | 3b 0a 58 46 72 6f 6d 3a |VE rdb }|;.XFrom:|
|000015a0| 20 2f 66 74 70 6d 61 69 | 6c 2f 69 09 09 7b 20 53 | /ftpmai|l/i..{ S|
|000015b0| 54 52 49 50 20 52 65 63 | 65 69 76 65 64 3b 20 53 |TRIP Rec|eived; S|
|000015c0| 41 56 45 20 66 74 70 2e | 6d 61 69 6c 20 7d 3b 0a |AVE ftp.|mail };.|
|000015d0| 58 0a 58 23 20 49 20 61 | 6d 20 77 6f 72 6b 69 6e |X.X# I a|m workin|
|000015e0| 67 20 77 69 74 68 20 48 | 61 72 6c 61 6e 20 53 74 |g with H|arlan St|
|000015f0| 65 6e 6e 20 6f 6e 20 74 | 68 65 20 64 69 73 74 20 |enn on t|he dist |
|00001600| 33 2e 30 20 72 65 6c 65 | 61 73 65 2c 20 61 6e 64 |3.0 rele|ase, and|
|00001610| 20 49 20 61 75 74 6f 6d | 61 74 69 63 61 6c 6c 79 | I autom|atically|
|00001620| 0a 58 23 20 66 6f 72 77 | 61 72 64 20 74 6f 20 68 |.X# forw|ard to h|
|00001630| 69 6d 20 65 76 65 72 79 | 20 6d 61 69 6c 20 77 69 |im every| mail wi|
|00001640| 74 68 20 74 68 65 20 77 | 6f 72 64 20 60 60 6d 65 |th the w|ord ``me|
|00001650| 74 61 63 6f 6e 66 69 67 | 27 27 20 69 6e 20 74 68 |taconfig|'' in th|
|00001660| 65 20 73 75 62 6a 65 63 | 74 2e 0a 58 23 20 49 20 |e subjec|t..X# I |
|00001670| 61 76 6f 69 64 20 6d 61 | 69 6c 69 6e 67 20 68 69 |avoid ma|iling hi|
|00001680| 6d 20 62 61 63 6b 20 68 | 69 73 20 6f 77 6e 20 6d |m back h|is own m|
|00001690| 61 69 6c 73 20 74 68 6f | 75 67 68 2e 0a 58 0a 58 |ails tho|ugh..X.X|
|000016a0| 46 72 6f 6d 3a 20 68 61 | 72 6c 61 6e 2c 20 54 6f |From: ha|rlan, To|
|000016b0| 20 43 63 3a 20 72 61 6d | 09 7b 20 53 41 56 45 20 | Cc: ram|.{ SAVE |
|000016c0| 64 69 73 74 20 7d 3b 0a | 58 53 75 62 6a 65 63 74 |dist };.|XSubject|
|000016d0| 3a 20 2f 6d 65 74 61 63 | 6f 6e 66 69 67 2f 69 09 |: /metac|onfig/i.|
|000016e0| 09 7b 20 42 45 47 49 4e | 20 44 49 53 54 3b 20 52 |.{ BEGIN| DIST; R|
|000016f0| 45 4a 45 43 54 20 7d 3b | 0a 58 3c 44 49 53 54 3e |EJECT };|.X<DIST>|
|00001700| 20 46 72 6f 6d 3a 20 68 | 61 72 6c 61 6e 09 09 09 | From: h|arlan...|
|00001710| 7b 20 53 41 56 45 20 64 | 69 73 74 20 7d 3b 0a 58 |{ SAVE d|ist };.X|
|00001720| 3c 44 49 53 54 3e 09 09 | 09 09 09 09 7b 20 53 41 |<DIST>..|....{ SA|
|00001730| 56 45 20 64 69 73 74 3b | 20 46 4f 52 57 41 52 44 |VE dist;| FORWARD|
|00001740| 20 68 61 72 6c 61 6e 40 | 6d 75 6d 70 73 2e 70 66 | harlan@|mumps.pf|
|00001750| 63 73 2e 63 6f 6d 20 7d | 3b 0a 58 0a 58 23 20 54 |cs.com }|;.X.X# T|
|00001760| 68 69 73 20 69 73 20 61 | 64 6d 69 6e 69 73 74 72 |his is a|dministr|
|00001770| 61 74 69 76 65 20 73 74 | 75 66 66 2e 20 49 20 61 |ative st|uff. I a|
|00001780| 6d 20 61 20 73 79 73 74 | 65 6d 20 61 64 6d 69 6e |m a syst|em admin|
|00001790| 69 73 74 72 61 74 6f 72 | 20 68 65 72 65 2c 20 61 |istrator| here, a|
|000017a0| 6d 6f 6e 67 20 6f 74 68 | 65 72 0a 58 23 20 74 68 |mong oth|er.X# th|
|000017b0| 69 6e 67 73 2c 20 61 6e | 64 20 77 65 20 68 61 76 |ings, an|d we hav|
|000017c0| 65 20 73 65 76 65 72 61 | 6c 20 4d 49 50 53 20 6d |e severa|l MIPS m|
|000017d0| 61 63 68 69 6e 65 20 77 | 69 74 68 20 61 20 76 65 |achine w|ith a ve|
|000017e0| 72 62 6f 73 65 20 63 72 | 6f 6e 20 64 61 65 6d 6f |rbose cr|on daemo|
|000017f0| 6e 2e 20 49 20 68 61 76 | 65 0a 58 23 20 73 65 74 |n. I hav|e.X# set|
|00001800| 20 75 70 20 61 20 2f 2e | 66 6f 72 77 61 72 64 20 | up a /.|forward |
|00001810| 6f 6e 20 61 6c 6c 20 74 | 68 6f 73 65 20 6d 61 63 |on all t|hose mac|
|00001820| 68 69 6e 65 73 20 28 77 | 68 69 63 68 20 72 65 64 |hines (w|hich red|
|00001830| 69 72 65 63 74 20 61 6c | 6c 20 74 68 65 20 72 6f |irect al|l the ro|
|00001840| 6f 74 20 6d 61 69 6c 0a | 58 23 20 74 6f 20 6d 65 |ot mail.|X# to me|
|00001850| 29 20 61 6e 64 20 49 20 | 66 69 6c 74 65 72 20 74 |) and I |filter t|
|00001860| 68 65 20 6f 75 74 70 75 | 74 20 61 63 63 6f 72 64 |he outpu|t accord|
|00001870| 69 6e 67 20 74 6f 20 74 | 68 65 20 6d 61 63 68 69 |ing to t|he machi|
|00001880| 6e 65 20 6e 61 6d 65 2e | 0a 58 0a 58 46 72 6f 6d |ne name.|.X.XFrom|
|00001890| 3a 20 72 6f 6f 74 2c 20 | 54 6f 3a 20 72 6f 6f 74 |: root, |To: root|
|000018a0| 09 09 09 7b 20 42 45 47 | 49 4e 20 52 4f 4f 54 3b |...{ BEG|IN ROOT;|
|000018b0| 20 52 45 4a 45 43 54 20 | 7d 3b 0a 58 3c 52 4f 4f | REJECT |};.X<ROO|
|000018c0| 54 3e 20 53 75 62 6a 65 | 63 74 3a 20 2f 68 6f 73 |T> Subje|ct: /hos|
|000018d0| 74 20 28 5c 77 2b 29 2f | 09 7b 20 41 53 53 49 47 |t (\w+)/|.{ ASSIG|
|000018e0| 4e 20 68 6f 73 74 20 25 | 31 3b 20 52 45 4a 45 43 |N host %|1; REJEC|
|000018f0| 54 20 7d 3b 0a 58 3c 52 | 4f 4f 54 3e 20 2f 5e 44 |T };.X<R|OOT> /^D|
|00001900| 61 69 6c 79 20 72 75 6e | 20 6f 75 74 70 75 74 2f |aily run| output/|
|00001910| 09 09 7b 20 57 52 49 54 | 45 20 7e 2f 76 61 72 2f |..{ WRIT|E ~/var/|
|00001920| 6c 6f 67 2f 25 23 68 6f | 73 74 2f 64 61 69 6c 79 |log/%#ho|st/daily|
|00001930| 2e 25 44 20 7d 3b 0a 58 | 3c 52 4f 4f 54 3e 20 2f |.%D };.X|<ROOT> /|
|00001940| 5e 57 65 65 6b 6c 79 20 | 72 75 6e 20 6f 75 74 70 |^Weekly |run outp|
|00001950| 75 74 2f 09 09 7b 20 57 | 52 49 54 45 20 7e 2f 76 |ut/..{ W|RITE ~/v|
|00001960| 61 72 2f 6c 6f 67 2f 25 | 23 68 6f 73 74 2f 77 65 |ar/log/%|#host/we|
|00001970| 65 6b 6c 79 20 7d 3b 0a | 58 3c 52 4f 4f 54 3e 20 |ekly };.|X<ROOT> |
|00001980| 2f 5e 4d 6f 6e 74 68 6c | 79 20 72 75 6e 20 6f 75 |/^Monthl|y run ou|
|00001990| 74 70 75 74 2f 09 7b 20 | 57 52 49 54 45 20 7e 2f |tput/.{ |WRITE ~/|
|000019a0| 76 61 72 2f 6c 6f 67 2f | 25 23 68 6f 73 74 2f 6d |var/log/|%#host/m|
|000019b0| 6f 6e 74 68 6c 79 20 7d | 3b 0a 58 0a 58 23 20 49 |onthly }|;.X.X# I|
|000019c0| 20 68 61 76 65 20 61 20 | 63 72 6f 6e 20 6a 6f 62 | have a |cron job|
|000019d0| 20 65 76 65 72 79 20 64 | 61 79 20 61 20 35 3a 30 | every d|ay a 5:0|
|000019e0| 30 20 61 2e 6d 2e 20 77 | 68 69 63 68 20 63 6c 65 |0 a.m. w|hich cle|
|000019f0| 61 6e 73 20 75 70 20 6d | 79 20 6d 61 69 6c 20 66 |ans up m|y mail f|
|00001a00| 6f 6c 64 65 72 73 2e 20 | 49 0a 58 23 20 61 6d 20 |olders. |I.X# am |
|00001a10| 75 73 69 6e 67 20 74 68 | 65 20 63 72 6f 6e 20 70 |using th|e cron p|
|00001a20| 72 6f 67 72 61 6d 20 66 | 72 6f 6d 20 50 61 75 6c |rogram f|rom Paul|
|00001a30| 20 56 69 78 69 65 2c 20 | 68 65 6e 63 65 20 74 68 | Vixie, |hence th|
|00001a40| 65 20 72 75 6c 65 20 74 | 65 73 74 69 6e 67 20 61 |e rule t|esting a|
|00001a50| 67 61 69 6e 73 74 0a 58 | 23 20 74 68 65 20 60 60 |gainst.X|# the ``|
|00001a60| 58 2d 43 72 6f 6e 2d 43 | 6d 64 27 27 20 68 65 61 |X-Cron-C|md'' hea|
|00001a70| 64 65 72 2e 20 54 68 69 | 73 20 69 73 20 61 20 6e |der. Thi|s is a n|
|00001a80| 69 63 65 20 66 65 61 74 | 75 72 65 20 66 72 6f 6d |ice feat|ure from|
|00001a90| 20 50 61 75 6c 27 73 20 | 63 72 6f 6e 2e 0a 58 0a | Paul's |cron..X.|
|00001aa0| 58 54 6f 3a 20 72 61 6d | 2c 20 58 2d 43 72 6f 6e |XTo: ram|, X-Cron|
|00001ab0| 2d 43 6d 64 3a 20 2f 6d | 68 63 6c 65 61 6e 2f 09 |-Cmd: /m|hclean/.|
|00001ac0| 7b 20 57 52 49 54 45 20 | 7e 2f 76 61 72 2f 6c 6f |{ WRITE |~/var/lo|
|00001ad0| 67 2f 6d 68 2f 6d 68 2e | 25 44 20 7d 3b 0a 58 0a |g/mh/mh.|%D };.X.|
|00001ae0| 58 23 20 49 20 62 65 6c | 6f 6e 67 20 74 6f 20 6d |X# I bel|ong to m|
|00001af0| 75 6c 74 69 70 6c 65 20 | 69 6e 74 65 72 6e 61 6c |ultiple |internal|
|00001b00| 20 6d 61 69 6c 69 6e 67 | 20 6c 69 73 74 73 20 61 | mailing| lists a|
|00001b10| 74 20 49 53 45 2c 20 61 | 6e 64 20 77 68 65 6e 20 |t ISE, a|nd when |
|00001b20| 49 20 73 65 6e 64 20 61 | 20 6d 61 69 6c 0a 58 23 |I send a| mail.X#|
|00001b30| 20 74 6f 20 74 68 69 73 | 20 6c 69 73 74 2c 20 49 | to this| list, I|
|00001b40| 20 64 6f 20 6e 6f 74 20 | 77 69 73 68 20 74 6f 20 | do not |wish to |
|00001b50| 67 65 74 20 61 20 63 6f | 70 79 20 6f 66 20 69 74 |get a co|py of it|
|00001b60| 2c 20 61 73 20 49 20 61 | 6c 72 65 61 64 79 20 73 |, as I a|lready s|
|00001b70| 61 76 65 64 20 6d 69 6e | 65 0a 58 23 20 76 69 61 |aved min|e.X# via|
|00001b80| 20 74 68 65 20 60 60 46 | 63 63 27 20 66 69 65 6c | the ``F|cc' fiel|
|00001b90| 64 20 70 72 6f 76 69 64 | 65 64 20 62 79 20 4d 48 |d provid|ed by MH|
|00001ba0| 2e 20 54 68 65 72 65 66 | 6f 72 65 2c 20 49 20 64 |. Theref|ore, I d|
|00001bb0| 65 6c 65 74 65 20 65 76 | 65 72 79 74 68 69 6e 67 |elete ev|erything|
|00001bc0| 20 77 68 69 63 68 0a 58 | 23 20 63 6f 6d 65 73 20 | which.X|# comes |
|00001bd0| 66 72 6f 6d 20 6d 65 20 | 61 6e 64 20 69 73 20 6e |from me |and is n|
|00001be0| 6f 74 20 65 78 70 6c 69 | 63 69 74 65 6c 79 20 64 |ot expli|citely d|
|00001bf0| 69 72 65 63 74 65 64 20 | 74 6f 20 6d 65 2c 20 77 |irected |to me, w|
|00001c00| 69 74 68 20 74 68 65 20 | 65 78 63 65 70 74 69 6f |ith the |exceptio|
|00001c10| 6e 20 6f 66 0a 58 23 20 | 74 68 65 20 6d 61 69 6c |n of.X# |the mail|
|00001c20| 67 65 6e 74 20 65 72 72 | 6f 72 20 6d 65 73 73 61 |gent err|or messa|
|00001c30| 67 65 73 20 77 68 69 63 | 68 20 49 20 72 65 63 65 |ges whic|h I rece|
|00001c40| 69 76 65 20 61 73 20 60 | 60 42 63 63 27 27 2e 0a |ive as `|`Bcc''..|
|00001c50| 58 0a 58 46 72 6f 6d 3a | 20 72 61 6d 09 09 7b 20 |X.XFrom:| ram..{ |
|00001c60| 42 45 47 49 4e 20 52 41 | 4d 3b 20 52 45 4a 45 43 |BEGIN RA|M; REJEC|
|00001c70| 54 20 7d 3b 0a 58 3c 52 | 41 4d 3e 20 54 6f 3a 20 |T };.X<R|AM> To: |
|00001c80| 72 61 6d 09 7b 20 4c 45 | 41 56 45 20 7d 3b 0a 58 |ram.{ LE|AVE };.X|
|00001c90| 3c 52 41 4d 3e 20 58 2d | 4d 61 69 6c 65 72 3a 20 |<RAM> X-|Mailer: |
|00001ca0| 2f 6d 61 69 6c 61 67 65 | 6e 74 2f 69 09 7b 20 4c |/mailage|nt/i.{ L|
|00001cb0| 45 41 56 45 20 7d 3b 0a | 58 3c 52 41 4d 3e 09 09 |EAVE };.|X<RAM>..|
|00001cc0| 09 7b 20 44 45 4c 45 54 | 45 20 7d 3b 0a 58 0a 58 |.{ DELET|E };.X.X|
|00001cd0| 23 20 45 76 65 72 79 20 | 73 79 73 74 65 6d 2d 72 |# Every |system-r|
|00001ce0| 65 6c 61 74 65 64 20 6d | 61 69 6c 20 69 73 20 73 |elated m|ail is s|
|00001cf0| 61 76 65 64 20 69 6e 20 | 61 20 73 70 65 63 69 61 |aved in |a specia|
|00001d00| 6c 20 66 6f 6c 64 65 72 | 2e 20 4e 6f 74 65 20 74 |l folder|. Note t|
|00001d10| 68 61 74 20 74 68 65 20 | 70 61 74 74 65 72 6e 0a |hat the |pattern.|
|00001d20| 58 23 20 6d 61 74 63 68 | 69 6e 67 20 69 73 20 64 |X# match|ing is d|
|00001d30| 6f 6e 65 20 69 6e 20 61 | 20 63 61 73 65 20 69 6e |one in a| case in|
|00001d40| 73 65 6e 73 69 74 69 76 | 65 20 6d 61 6e 6e 65 72 |sensitiv|e manner|
|00001d50| 20 62 65 63 61 75 73 65 | 20 61 6c 6c 20 74 68 65 | because| all the|
|00001d60| 73 65 20 70 61 74 74 65 | 72 6e 73 20 61 72 65 0a |se patte|rns are.|
|00001d70| 58 23 20 69 6d 70 6c 69 | 63 69 74 20 6d 61 74 63 |X# impli|cit matc|
|00001d80| 68 65 73 20 6f 6e 20 74 | 68 65 20 60 60 6c 6f 67 |hes on t|he ``log|
|00001d90| 69 6e 20 6e 61 6d 65 27 | 27 20 6f 66 20 74 68 65 |in name'|' of the|
|00001da0| 20 73 65 6e 64 65 72 2e | 0a 58 0a 58 54 6f 20 43 | sender.|.X.XTo C|
|00001db0| 63 3a 0a 58 09 70 6f 73 | 74 6d 61 73 74 65 72 2c |c:.X.pos|tmaster,|
|00001dc0| 0a 58 09 6e 65 77 73 6d | 61 73 74 65 72 2c 0a 58 |.X.newsm|aster,.X|
|00001dd0| 09 75 73 65 6e 65 74 2c | 20 6e 65 77 73 2c 0a 58 |.usenet,| news,.X|
|00001de0| 09 6d 61 69 6c 65 72 2d | 64 61 65 6d 6f 6e 2c 0a |.mailer-|daemon,.|
|00001df0| 58 09 75 75 63 70 2c 20 | 64 61 65 6d 6f 6e 2c 0a |X.uucp, |daemon,.|
|00001e00| 58 09 73 79 73 74 65 6d | 2c 0a 58 09 75 6e 6b 6e |X.system|,.X.unkn|
|00001e10| 6f 77 6e 2d 75 73 65 72 | 09 7b 20 53 41 56 45 20 |own-user|.{ SAVE |
|00001e20| 61 64 6d 69 6e 20 7d 3b | 0a 58 0a 58 23 20 48 65 |admin };|.X.X# He|
|00001e30| 72 65 2c 20 49 20 61 6d | 20 64 65 74 65 63 74 69 |re, I am| detecti|
|00001e40| 6e 67 20 6d 61 69 6c 73 | 20 73 65 6e 74 20 62 79 |ng mails| sent by|
|00001e50| 20 73 6f 6d 65 6f 6e 65 | 20 61 74 20 49 53 45 2c | someone| at ISE,|
|00001e60| 20 69 2e 65 2e 20 6d 61 | 69 6c 73 20 77 69 74 68 | i.e. ma|ils with|
|00001e70| 20 74 68 65 0a 58 23 20 | 64 6f 6d 61 69 6e 20 6e | the.X# |domain n|
|00001e80| 61 6d 65 20 60 60 65 69 | 66 66 65 6c 2e 63 6f 6d |ame ``ei|ffel.com|
|00001e90| 27 27 20 61 70 70 65 6e | 64 65 64 20 6f 72 20 73 |'' appen|ded or s|
|00001ea0| 69 6d 70 6c 79 20 6d 61 | 69 6c 73 20 77 69 74 68 |imply ma|ils with|
|00001eb0| 20 6e 6f 20 64 6f 6d 61 | 69 6e 20 6e 61 6d 65 2e | no doma|in name.|
|00001ec0| 0a 58 23 20 49 20 61 6c | 73 6f 20 74 75 72 6e 20 |.X# I al|so turn |
|00001ed0| 6f 66 66 20 76 61 63 61 | 74 69 6f 6e 20 6d 65 73 |off vaca|tion mes|
|00001ee0| 73 61 67 65 73 2c 20 66 | 6f 72 20 77 68 65 6e 20 |sages, f|or when |
|00001ef0| 49 20 61 6d 20 61 77 61 | 79 2c 20 70 65 6f 70 6c |I am awa|y, peopl|
|00001f00| 65 20 61 74 20 49 53 45 | 20 75 73 75 61 6c 6c 79 |e at ISE| usually|
|00001f10| 0a 58 23 20 6b 6e 6f 77 | 20 61 62 6f 75 74 20 69 |.X# know| about i|
|00001f20| 74 20 3a 2d 29 2e 0a 58 | 0a 58 46 72 6f 6d 3a 0a |t :-)..X|.XFrom:.|
|00001f30| 58 09 2f 5e 5c 77 2b 40 | 2e 2a 65 69 66 66 65 6c |X./^\w+@|.*eiffel|
|00001f40| 5c 2e 63 6f 6d 24 2f 69 | 0a 58 09 2f 5e 5c 77 2b |\.com$/i|.X./^\w+|
|00001f50| 40 5c 77 2b 24 2f 69 0a | 58 09 09 7b 20 42 45 47 |@\w+$/i.|X..{ BEG|
|00001f60| 49 4e 20 49 53 45 3b 20 | 53 54 52 49 50 20 52 65 |IN ISE; |STRIP Re|
|00001f70| 63 65 69 76 65 64 3b 20 | 56 41 43 41 54 49 4f 4e |ceived; |VACATION|
|00001f80| 20 6f 66 66 3b 20 52 45 | 4a 45 43 54 20 7d 3b 0a | off; RE|JECT };.|
|00001f90| 58 0a 58 23 20 41 20 6d | 61 69 6c 20 65 78 70 6c |X.X# A m|ail expl|
|00001fa0| 69 63 69 74 65 6c 79 20 | 73 65 6e 74 20 74 6f 20 |icitely |sent to |
|00001fb0| 6d 65 2c 20 6c 65 61 76 | 65 20 69 74 20 69 6e 20 |me, leav|e it in |
|00001fc0| 74 68 65 20 6d 61 69 6c | 62 6f 78 2e 0a 58 0a 58 |the mail|box..X.X|
|00001fd0| 3c 49 53 45 3e 20 54 6f | 3a 20 72 61 6d 09 09 09 |<ISE> To|: ram...|
|00001fe0| 7b 20 4c 45 41 56 45 20 | 7d 3b 0a 58 0a 58 23 20 |{ LEAVE |};.X.X# |
|00001ff0| 56 61 72 69 6f 75 73 20 | 69 6e 74 65 72 6e 61 6c |Various |internal|
|00002000| 20 6d 61 69 6c 69 6e 67 | 20 6c 69 73 74 2e 20 4e | mailing| list. N|
|00002010| 6f 74 65 20 74 68 65 20 | 60 60 2a 65 69 66 66 65 |ote the |``*eiffe|
|00002020| 6c 2a 27 27 20 70 61 74 | 74 65 72 6e 20 77 68 69 |l*'' pat|tern whi|
|00002030| 63 68 20 74 61 6b 65 73 | 20 63 61 72 65 0a 58 23 |ch takes| care.X#|
|00002040| 20 6f 66 20 76 61 72 69 | 6f 75 73 20 61 6c 69 61 | of vari|ous alia|
|00002050| 73 65 73 20 69 6e 63 6c | 75 64 69 6e 67 20 74 68 |ses incl|uding th|
|00002060| 65 20 77 6f 72 64 20 60 | 60 65 69 66 66 65 6c 27 |e word `|`eiffel'|
|00002070| 27 2c 20 61 73 20 69 6e | 20 65 69 66 66 65 6c 2c |', as in| eiffel,|
|00002080| 20 65 69 66 66 65 6c 67 | 72 6f 75 70 2c 0a 58 23 | eiffelg|roup,.X#|
|00002090| 20 75 65 69 66 66 65 6c | 2c 20 65 74 63 2e 2e 2e | ueiffel|, etc...|
|000020a0| 0a 58 0a 58 3c 49 53 45 | 3e 20 54 6f 20 43 63 3a |.X.X<ISE|> To Cc:|
|000020b0| 0a 58 09 63 6f 6d 70 69 | 6c 65 72 09 7b 20 53 41 |.X.compi|ler.{ SA|
|000020c0| 56 45 20 69 73 65 2f 63 | 6f 6d 70 69 6c 65 72 20 |VE ise/c|ompiler |
|000020d0| 7d 0a 58 09 2a 65 69 66 | 66 65 6c 2a 09 7b 20 53 |}.X.*eif|fel*.{ S|
|000020e0| 41 56 45 20 69 73 65 2f | 65 69 66 66 65 6c 20 7d |AVE ise/|eiffel }|
|000020f0| 0a 58 09 6c 6f 63 61 6c | 09 09 7b 20 53 41 56 45 |.X.local|..{ SAVE|
|00002100| 20 69 73 65 2f 6c 6f 63 | 61 6c 20 7d 3b 0a 58 0a | ise/loc|al };.X.|
|00002110| 58 23 20 54 61 6b 65 20 | 63 61 72 65 20 6f 66 20 |X# Take |care of |
|00002120| 61 6c 6c 20 74 68 65 20 | 22 6a 75 6e 6b 22 20 6d |all the |"junk" m|
|00002130| 61 69 6c 73 2e 20 55 73 | 75 61 6c 6c 79 2c 20 49 |ails. Us|ually, I|
|00002140| 20 63 68 65 63 6b 20 74 | 68 69 73 20 6d 61 69 6c | check t|his mail|
|00002150| 62 6f 78 20 6f 6e 63 65 | 20 61 20 77 65 65 6b 2e |box once| a week.|
|00002160| 0a 58 23 20 54 68 65 72 | 65 20 69 73 20 6e 65 76 |.X# Ther|e is nev|
|00002170| 65 72 20 61 6e 79 74 68 | 69 6e 67 20 69 6e 74 65 |er anyth|ing inte|
|00002180| 72 65 73 74 69 6e 67 20 | 69 6e 20 74 68 65 72 65 |resting |in there|
|00002190| 2c 20 74 72 75 73 74 20 | 6d 65 2e 2e 2e 0a 58 0a |, trust |me....X.|
|000021a0| 58 3c 49 53 45 3e 09 09 | 09 7b 20 53 41 56 45 20 |X<ISE>..|.{ SAVE |
|000021b0| 69 73 65 2f 6f 74 68 65 | 72 20 7d 3b 0a 58 0a 58 |ise/othe|r };.X.X|
|000021c0| 23 20 46 69 6e 61 6c 6c | 79 2c 20 6d 61 69 6c 73 |# Finall|y, mails|
|000021d0| 20 63 6f 6d 69 6e 67 20 | 66 72 6f 6d 20 74 68 65 | coming |from the|
|000021e0| 20 6f 75 74 73 69 64 65 | 20 77 6f 72 6c 64 20 61 | outside| world a|
|000021f0| 72 65 20 61 6c 73 6f 20 | 66 69 6c 74 65 72 65 64 |re also |filtered|
|00002200| 20 69 6e 74 6f 20 73 70 | 65 63 69 66 69 63 0a 58 | into sp|ecific.X|
|00002210| 23 20 66 6f 6c 64 65 72 | 73 2e 20 54 68 69 73 20 |# folder|s. This |
|00002220| 65 6e 64 73 20 74 68 65 | 20 72 75 6c 65 20 66 69 |ends the| rule fi|
|00002230| 6c 65 2e 20 41 6e 79 74 | 68 69 6e 67 20 6e 6f 74 |le. Anyt|hing not|
|00002240| 20 6d 61 74 63 68 65 64 | 20 70 61 73 74 20 74 68 | matched| past th|
|00002250| 69 73 20 70 6f 69 6e 74 | 20 77 69 6c 6c 0a 58 23 |is point| will.X#|
|00002260| 20 73 69 6d 70 6c 79 20 | 62 65 20 6c 65 66 74 20 | simply |be left |
|00002270| 69 6e 20 74 68 65 20 6d | 61 69 6c 62 6f 78 2e 0a |in the m|ailbox..|
|00002280| 58 0a 58 54 6f 20 43 63 | 3a 0a 58 09 2a 65 69 66 |X.XTo Cc|:.X.*eif|
|00002290| 66 65 6c 2a 2c 0a 58 09 | 75 73 65 72 73 09 09 7b |fel*,.X.|users..{|
|000022a0| 20 53 41 56 45 20 69 73 | 65 2f 65 78 74 65 72 6e | SAVE is|e/extern|
|000022b0| 20 7d 0a 58 09 65 76 65 | 72 79 6f 6e 65 09 7b 20 | }.X.eve|ryone.{ |
|000022c0| 53 41 56 45 20 69 73 65 | 2f 6c 6f 63 61 6c 20 7d |SAVE ise|/local }|
|000022d0| 3b 0a 58 0a 58 23 0a 58 | 23 20 45 6e 64 20 6f 66 |;.X.X#.X|# End of|
|000022e0| 20 6d 61 69 6c 61 67 65 | 6e 74 20 72 75 6c 65 73 | mailage|nt rules|
|000022f0| 0a 58 23 0a 45 4e 44 5f | 4f 46 5f 46 49 4c 45 0a |.X#.END_|OF_FILE.|
|00002300| 20 20 69 66 20 74 65 73 | 74 20 37 32 33 39 20 2d | if tes|t 7239 -|
|00002310| 6e 65 20 60 77 63 20 2d | 63 20 3c 27 61 67 65 6e |ne `wc -|c <'agen|
|00002320| 74 2f 65 78 61 6d 70 6c | 65 73 2f 72 75 6c 65 73 |t/exampl|es/rules|
|00002330| 27 60 3b 20 74 68 65 6e | 0a 20 20 20 20 65 63 68 |'`; then|. ech|
|00002340| 6f 20 73 68 61 72 3a 20 | 5c 22 27 61 67 65 6e 74 |o shar: |\"'agent|
|00002350| 2f 65 78 61 6d 70 6c 65 | 73 2f 72 75 6c 65 73 27 |/example|s/rules'|
|00002360| 5c 22 20 75 6e 70 61 63 | 6b 65 64 20 77 69 74 68 |\" unpac|ked with|
|00002370| 20 77 72 6f 6e 67 20 73 | 69 7a 65 21 0a 20 20 66 | wrong s|ize!. f|
|00002380| 69 0a 20 20 23 20 65 6e | 64 20 6f 66 20 27 61 67 |i. # en|d of 'ag|
|00002390| 65 6e 74 2f 65 78 61 6d | 70 6c 65 73 2f 72 75 6c |ent/exam|ples/rul|
|000023a0| 65 73 27 0a 66 69 0a 69 | 66 20 74 65 73 74 20 2d |es'.fi.i|f test -|
|000023b0| 66 20 27 61 67 65 6e 74 | 2f 66 69 6c 65 73 2f 66 |f 'agent|/files/f|
|000023c0| 69 6c 74 65 72 2e 73 68 | 27 20 2d 61 20 22 24 7b |ilter.sh|' -a "${|
|000023d0| 31 7d 22 20 21 3d 20 22 | 2d 63 22 20 3b 20 74 68 |1}" != "|-c" ; th|
|000023e0| 65 6e 20 0a 20 20 65 63 | 68 6f 20 73 68 61 72 3a |en . ec|ho shar:|
|000023f0| 20 57 69 6c 6c 20 6e 6f | 74 20 63 6c 6f 62 62 65 | Will no|t clobbe|
|00002400| 72 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |r existi|ng file |
|00002410| 5c 22 27 61 67 65 6e 74 | 2f 66 69 6c 65 73 2f 66 |\"'agent|/files/f|
|00002420| 69 6c 74 65 72 2e 73 68 | 27 5c 22 0a 65 6c 73 65 |ilter.sh|'\".else|
|00002430| 0a 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 45 78 |. echo |shar: Ex|
|00002440| 74 72 61 63 74 69 6e 67 | 20 5c 22 27 61 67 65 6e |tracting| \"'agen|
|00002450| 74 2f 66 69 6c 65 73 2f | 66 69 6c 74 65 72 2e 73 |t/files/|filter.s|
|00002460| 68 27 5c 22 20 5c 28 37 | 34 35 33 20 63 68 61 72 |h'\" \(7|453 char|
|00002470| 61 63 74 65 72 73 5c 29 | 0a 20 20 73 65 64 20 22 |acters\)|. sed "|
|00002480| 73 2f 5e 58 2f 2f 22 20 | 3e 27 61 67 65 6e 74 2f |s/^X//" |>'agent/|
|00002490| 66 69 6c 65 73 2f 66 69 | 6c 74 65 72 2e 73 68 27 |files/fi|lter.sh'|
|000024a0| 20 3c 3c 27 45 4e 44 5f | 4f 46 5f 46 49 4c 45 27 | <<'END_|OF_FILE'|
|000024b0| 0a 58 23 21 2f 62 69 6e | 2f 73 68 0a 58 0a 58 23 |.X#!/bin|/sh.X.X#|
|000024c0| 20 24 49 64 3a 20 66 69 | 6c 74 65 72 2e 73 68 2c | $Id: fi|lter.sh,|
|000024d0| 76 20 32 2e 39 20 39 32 | 2f 30 37 2f 31 34 20 31 |v 2.9 92|/07/14 1|
|000024e0| 36 3a 34 37 3a 34 39 20 | 72 61 6d 20 45 78 70 20 |6:47:49 |ram Exp |
|000024f0| 24 0a 58 23 0a 58 23 20 | 20 43 6f 70 79 72 69 67 |$.X#.X# | Copyrig|
|00002500| 68 74 20 28 63 29 20 31 | 39 39 31 2c 20 31 39 39 |ht (c) 1|991, 199|
|00002510| 32 2c 20 52 61 70 68 61 | 65 6c 20 4d 61 6e 66 72 |2, Rapha|el Manfr|
|00002520| 65 64 69 0a 58 23 0a 58 | 23 20 20 59 6f 75 20 6d |edi.X#.X|# You m|
|00002530| 61 79 20 72 65 64 69 73 | 74 72 69 62 75 74 65 20 |ay redis|tribute |
|00002540| 6f 6e 6c 79 20 75 6e 64 | 65 72 20 74 68 65 20 74 |only und|er the t|
|00002550| 65 72 6d 73 20 6f 66 20 | 74 68 65 20 47 4e 55 20 |erms of |the GNU |
|00002560| 47 65 6e 65 72 61 6c 20 | 50 75 62 6c 69 63 0a 58 |General |Public.X|
|00002570| 23 20 20 4c 69 63 65 6e | 63 65 20 61 73 20 73 70 |# Licen|ce as sp|
|00002580| 65 63 69 66 69 65 64 20 | 69 6e 20 74 68 65 20 52 |ecified |in the R|
|00002590| 45 41 44 4d 45 20 66 69 | 6c 65 20 74 68 61 74 20 |EADME fi|le that |
|000025a0| 63 6f 6d 65 73 20 77 69 | 74 68 20 64 69 73 74 2e |comes wi|th dist.|
|000025b0| 0a 58 23 0a 58 23 20 24 | 4c 6f 67 3a 09 66 69 6c |.X#.X# $|Log:.fil|
|000025c0| 74 65 72 2e 73 68 2c 76 | 20 24 0a 58 23 20 52 65 |ter.sh,v| $.X# Re|
|000025d0| 76 69 73 69 6f 6e 20 32 | 2e 39 20 20 39 32 2f 30 |vision 2|.9 92/0|
|000025e0| 37 2f 31 34 20 20 31 36 | 3a 34 37 3a 34 39 20 20 |7/14 16|:47:49 |
|000025f0| 72 61 6d 0a 58 23 20 33 | 2e 30 20 62 65 74 61 20 |ram.X# 3|.0 beta |
|00002600| 62 61 73 65 6c 69 6e 65 | 2e 0a 58 23 20 0a 58 0a |baseline|..X# .X.|
|00002610| 58 23 20 59 6f 75 27 6c | 6c 20 68 61 76 65 20 74 |X# You'l|l have t|
|00002620| 6f 20 64 65 6c 65 74 65 | 20 63 6f 6d 6d 65 6e 74 |o delete| comment|
|00002630| 73 20 62 79 20 79 6f 75 | 72 73 65 6c 66 20 69 66 |s by you|rself if|
|00002640| 20 79 6f 75 72 20 73 68 | 65 6c 6c 20 64 6f 65 73 | your sh|ell does|
|00002650| 6e 27 74 20 67 72 6f 6b | 20 74 68 65 6d 0a 58 0a |n't grok| them.X.|
|00002660| 58 23 20 59 6f 75 20 73 | 68 6f 75 6c 64 20 69 6e |X# You s|hould in|
|00002670| 73 74 61 6c 6c 20 61 20 | 2e 66 6f 72 77 61 72 64 |stall a |.forward|
|00002680| 20 69 6e 20 79 6f 75 72 | 20 68 6f 6d 65 20 64 69 | in your| home di|
|00002690| 72 65 63 74 6f 72 79 20 | 74 6f 20 61 63 74 69 76 |rectory |to activ|
|000026a0| 61 74 65 20 74 68 65 0a | 58 23 20 70 72 6f 63 65 |ate the.|X# proce|
|000026b0| 73 73 20 28 73 65 6e 64 | 6d 61 69 6c 20 6d 75 73 |ss (send|mail mus|
|000026c0| 74 20 62 65 20 75 73 65 | 64 20 61 73 20 61 20 4d |t be use|d as a M|
|000026d0| 54 41 29 2e 20 4d 69 6e | 65 20 6c 6f 6f 6b 73 20 |TA). Min|e looks |
|000026e0| 6c 69 6b 65 20 74 68 69 | 73 3a 0a 58 23 20 20 20 |like thi|s:.X# |
|000026f0| 20 22 7c 65 78 65 63 20 | 2f 75 73 65 72 73 2f 72 | "|exec |/users/r|
|00002700| 61 6d 2f 6d 61 69 6c 2f | 66 69 6c 74 65 72 20 3e |am/mail/|filter >|
|00002710| 3e 2f 75 73 65 72 73 2f | 72 61 6d 2f 2e 62 61 6b |>/users/|ram/.bak|
|00002720| 20 32 3e 26 31 22 0a 58 | 0a 58 23 20 56 61 72 69 | 2>&1".X|.X# Vari|
|00002730| 61 62 6c 65 20 48 4f 4d | 45 20 2a 6d 75 73 74 2a |able HOM|E *must*|
|00002740| 20 63 6f 72 72 65 63 74 | 6c 79 20 62 65 20 73 65 | correct|ly be se|
|00002750| 74 20 74 6f 20 79 6f 75 | 72 20 68 6f 6d 65 20 64 |t to you|r home d|
|00002760| 69 72 65 63 74 6f 72 79 | 0a 58 48 4f 4d 45 3d 2f |irectory|.XHOME=/|
|00002770| 79 6f 72 6b 2f 72 61 6d | 0a 58 65 78 70 6f 72 74 |york/ram|.Xexport|
|00002780| 20 48 4f 4d 45 0a 58 0a | 58 23 20 54 68 65 20 50 | HOME.X.|X# The P|
|00002790| 41 54 48 20 76 61 72 69 | 61 62 6c 65 20 6d 75 73 |ATH vari|able mus|
|000027a0| 74 20 61 6c 73 6f 20 63 | 6f 72 72 65 63 74 6c 79 |t also c|orrectly|
|000027b0| 20 62 65 20 73 65 74 2e | 20 54 68 69 73 20 76 61 | be set.| This va|
|000027c0| 72 69 61 62 6c 65 20 77 | 69 6c 6c 20 62 65 0a 58 |riable w|ill be.X|
|000027d0| 23 20 75 73 65 64 20 62 | 79 20 61 6c 6c 20 74 68 |# used b|y all th|
|000027e0| 65 20 6d 61 69 6c 61 67 | 65 6e 74 2d 72 65 6c 61 |e mailag|ent-rela|
|000027f0| 74 65 64 20 70 72 6f 67 | 72 61 6d 73 2e 20 49 66 |ted prog|rams. If|
|00002800| 20 79 6f 75 20 68 61 76 | 65 20 63 68 6f 73 65 6e | you hav|e chosen|
|00002810| 20 74 6f 20 70 75 74 0a | 58 23 20 74 68 65 20 6d | to put.|X# the m|
|00002820| 61 69 6c 61 67 65 6e 74 | 20 73 63 72 69 70 74 73 |ailagent| scripts|
|00002830| 20 69 6e 20 61 20 64 65 | 64 69 63 61 74 65 64 20 | in a de|dicated |
|00002840| 64 69 72 65 63 74 6f 72 | 79 20 28 65 2e 67 2e 20 |director|y (e.g. |
|00002850| 24 48 4f 4d 45 2f 6d 61 | 69 6c 61 67 65 6e 74 29 |$HOME/ma|ilagent)|
|00002860| 2c 0a 58 23 20 62 65 20 | 73 75 72 65 20 74 6f 20 |,.X# be |sure to |
|00002870| 70 75 74 20 74 68 61 74 | 20 64 69 72 65 63 74 6f |put that| directo|
|00002880| 72 79 20 69 6e 20 74 68 | 65 20 50 41 54 48 20 76 |ry in th|e PATH v|
|00002890| 61 72 69 61 62 6c 65 2e | 0a 58 23 20 54 68 65 20 |ariable.|.X# The |
|000028a0| 6d 61 69 6c 61 67 65 6e | 74 20 73 63 72 69 70 74 |mailagen|t script|
|000028b0| 73 20 63 6f 75 6c 64 20 | 61 6c 73 6f 20 68 61 76 |s could |also hav|
|000028c0| 65 20 62 65 65 6e 20 73 | 74 6f 72 65 64 20 69 6e |e been s|tored in|
|000028d0| 20 61 20 64 69 72 65 63 | 74 6f 72 79 20 6c 69 6b | a direc|tory lik|
|000028e0| 65 0a 58 23 20 2f 75 73 | 72 2f 6c 6f 63 61 6c 2f |e.X# /us|r/local/|
|000028f0| 73 63 72 69 70 74 73 20 | 62 79 20 79 6f 75 72 20 |scripts |by your |
|00002900| 73 79 73 74 65 6d 20 61 | 64 6d 69 6e 69 73 74 72 |system a|dministr|
|00002910| 61 74 6f 72 2c 20 62 65 | 63 61 75 73 65 20 65 61 |ator, be|cause ea|
|00002920| 63 68 20 75 73 65 72 20 | 64 6f 65 73 0a 58 23 20 |ch user |does.X# |
|00002930| 6e 6f 74 20 6e 65 65 64 | 20 74 6f 20 68 61 76 65 |not need| to have|
|00002940| 20 61 20 70 72 69 76 61 | 74 65 20 63 6f 70 79 20 | a priva|te copy |
|00002950| 6f 66 20 74 68 65 65 73 | 65 20 73 63 72 69 70 73 |of thees|e scrips|
|00002960| 2e 0a 58 50 41 54 48 3d | 22 2f 62 69 6e 3a 2f 75 |..XPATH=|"/bin:/u|
|00002970| 73 72 2f 62 69 6e 3a 2f | 75 73 72 2f 75 63 62 3a |sr/bin:/|usr/ucb:|
|00002980| 24 48 4f 4d 45 2f 62 69 | 6e 2f 6d 61 69 6c 61 67 |$HOME/bi|n/mailag|
|00002990| 65 6e 74 3a 24 48 4f 4d | 45 2f 62 69 6e 22 0a 58 |ent:$HOM|E/bin".X|
|000029a0| 0a 58 23 20 54 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |.X# The |followin|
|000029b0| 67 20 77 69 6c 6c 20 73 | 65 74 20 74 68 65 20 72 |g will s|et the r|
|000029c0| 69 67 68 74 20 70 61 74 | 68 20 66 6f 72 20 73 6f |ight pat|h for so|
|000029d0| 6d 65 20 61 72 63 68 69 | 74 65 63 74 75 72 65 2d |me archi|tecture-|
|000029e0| 73 70 65 63 69 66 69 63 | 0a 58 23 20 64 69 72 65 |specific|.X# dire|
|000029f0| 63 74 6f 72 69 65 73 2e | 20 46 6f 72 20 69 6e 73 |ctories.| For ins|
|00002a00| 74 61 6e 63 65 2c 20 69 | 66 20 79 6f 75 20 68 61 |tance, i|f you ha|
|00002a10| 76 65 20 79 6f 75 72 20 | 68 6f 6d 65 20 64 69 72 |ve your |home dir|
|00002a20| 65 63 74 6f 72 79 20 76 | 69 65 77 65 64 20 6f 6e |ectory v|iewed on|
|00002a30| 0a 58 23 20 73 6f 6d 65 | 20 64 69 66 66 65 72 65 |.X# some| differe|
|00002a40| 6e 74 20 6d 61 63 68 69 | 6e 65 73 20 28 65 2e 67 |nt machi|nes (e.g|
|00002a50| 2e 20 69 74 20 69 73 20 | 4e 46 53 2d 6d 6f 75 6e |. it is |NFS-moun|
|00002a60| 74 65 64 29 2c 20 74 68 | 65 6e 20 79 6f 75 20 6d |ted), th|en you m|
|00002a70| 75 73 74 20 62 65 0a 58 | 23 20 73 75 72 65 20 74 |ust be.X|# sure t|
|00002a80| 68 65 20 6d 61 69 6c 61 | 67 65 6e 74 20 77 69 6c |he maila|gent wil|
|00002a90| 6c 20 62 65 20 69 6e 76 | 6f 6b 65 64 20 77 69 74 |l be inv|oked wit|
|00002aa0| 68 20 74 68 65 20 72 69 | 67 68 74 20 65 78 65 63 |h the ri|ght exec|
|00002ab0| 75 74 61 62 6c 65 73 2e | 0a 58 48 4f 53 54 3d 60 |utables.|.XHOST=`|
|00002ac0| 28 75 6e 61 6d 65 20 2d | 6e 20 7c 7c 20 68 6f 73 |(uname -|n || hos|
|00002ad0| 74 6e 61 6d 65 29 20 32 | 3e 2f 64 65 76 2f 6e 75 |tname) 2|>/dev/nu|
|00002ae0| 6c 6c 60 0a 58 63 61 73 | 65 20 22 24 48 4f 53 54 |ll`.Xcas|e "$HOST|
|00002af0| 22 20 69 6e 0a 58 79 6f | 72 6b 29 20 50 41 54 48 |" in.Xyo|rk) PATH|
|00002b00| 3d 22 24 48 4f 4d 45 2f | 62 69 6e 2f 72 73 32 30 |="$HOME/|bin/rs20|
|00002b10| 33 30 3a 24 50 41 54 48 | 22 20 3b 3b 0a 58 65 69 |30:$PATH|" ;;.Xei|
|00002b20| 66 66 65 6c 29 20 50 41 | 54 48 3d 22 2f 62 61 73 |ffel) PA|TH="/bas|
|00002b30| 65 2f 63 6f 6d 6d 6f 6e | 2f 73 75 6e 34 2f 62 69 |e/common|/sun4/bi|
|00002b40| 6e 3a 24 50 41 54 48 22 | 20 3b 3b 0a 58 2a 29 20 |n:$PATH"| ;;.X*) |
|00002b50| 3b 3b 0a 58 65 73 61 63 | 0a 58 65 78 70 6f 72 74 |;;.Xesac|.Xexport|
|00002b60| 20 50 41 54 48 0a 58 0a | 58 23 20 54 68 65 20 54 | PATH.X.|X# The T|
|00002b70| 5a 20 6d 61 79 20 6e 6f | 74 20 63 6f 72 72 65 63 |Z may no|t correc|
|00002b80| 74 6c 79 20 62 65 20 73 | 65 74 20 77 68 65 6e 20 |tly be s|et when |
|00002b90| 73 65 6e 64 6d 61 69 6c | 20 69 73 20 69 6e 76 6f |sendmail| is invo|
|00002ba0| 6b 69 6e 67 20 74 68 65 | 20 66 69 6c 74 65 72 2c |king the| filter,|
|00002bb0| 20 68 65 6e 63 65 0a 58 | 23 20 66 75 6e 6e 79 20 | hence.X|# funny |
|00002bc0| 64 61 74 65 20 63 6f 75 | 6c 64 20 61 70 70 65 61 |date cou|ld appea|
|00002bd0| 72 20 69 6e 20 74 68 65 | 20 6c 6f 67 20 6d 65 73 |r in the| log mes|
|00002be0| 73 61 67 65 20 28 66 72 | 6f 6d 20 47 4d 54 20 7a |sage (fr|om GMT z|
|00002bf0| 6f 6e 65 20 75 73 75 61 | 6c 6c 79 29 2e 0a 58 54 |one usua|lly)..XT|
|00002c00| 5a 3d 27 50 53 54 38 50 | 44 54 27 0a 58 65 78 70 |Z='PST8P|DT'.Xexp|
|00002c10| 6f 72 74 20 54 5a 0a 58 | 0a 58 23 20 59 6f 75 20 |ort TZ.X|.X# You |
|00002c20| 73 68 6f 75 6c 64 20 6e | 6f 74 20 68 61 76 65 20 |should n|ot have |
|00002c30| 74 6f 20 65 64 69 74 20 | 62 65 6c 6f 77 20 74 68 |to edit |below th|
|00002c40| 69 73 20 6c 69 6e 65 0a | 58 0a 58 23 20 54 68 69 |is line.|X.X# Thi|
|00002c50| 73 20 76 61 72 69 61 62 | 6c 65 2c 20 77 68 65 6e |s variab|le, when|
|00002c60| 20 65 76 61 6c 27 65 64 | 2c 20 61 64 64 73 20 61 | eval'ed|, adds a|
|00002c70| 20 6c 6f 67 20 6d 65 73 | 73 61 67 65 20 61 74 20 | log mes|sage at |
|00002c80| 74 68 65 20 65 6e 64 20 | 6f 66 20 74 68 65 20 6c |the end |of the l|
|00002c90| 6f 67 20 66 69 6c 65 0a | 58 23 20 69 66 20 61 6e |og file.|X# if an|
|00002ca0| 79 2e 20 41 73 73 75 6d | 65 73 20 74 68 65 20 7e |y. Assum|es the ~|
|00002cb0| 2f 2e 6d 61 69 6c 61 67 | 65 6e 74 20 66 69 6c 65 |/.mailag|ent file|
|00002cc0| 20 77 61 73 20 73 75 63 | 63 65 73 73 66 75 6c 6c | was suc|cessfull|
|00002cd0| 79 20 70 61 72 73 65 64 | 2e 0a 58 61 64 64 6c 6f |y parsed|..Xaddlo|
|00002ce0| 67 3d 27 75 6d 61 73 6b | 20 30 37 37 3b 20 69 66 |g='umask| 077; if|
|00002cf0| 20 74 65 73 74 20 2d 66 | 20 24 6c 6f 67 64 69 72 | test -f| $logdir|
|00002d00| 2f 24 6c 6f 67 3b 0a 58 | 74 68 65 6e 20 2f 62 69 |/$log;.X|then /bi|
|00002d10| 6e 2f 65 63 68 6f 20 22 | 60 64 61 74 65 20 5c 22 |n/echo "|`date \"|
|00002d20| 2b 25 79 2f 25 6d 2f 25 | 64 20 25 48 3a 25 4d 3a |+%y/%m/%|d %H:%M:|
|00002d30| 25 53 5c 22 60 20 66 69 | 6c 74 65 72 5b 24 24 5d |%S\"` fi|lter[$$]|
|00002d40| 3a 20 24 31 22 20 3e 3e | 20 24 6c 6f 67 64 69 72 |: $1" >>| $logdir|
|00002d50| 2f 24 6c 6f 67 3b 0a 58 | 65 6c 73 65 20 65 63 68 |/$log;.X|else ech|
|00002d60| 6f 20 22 60 64 61 74 65 | 20 5c 22 2b 25 79 2f 25 |o "`date| \"+%y/%|
|00002d70| 6d 2f 25 64 20 25 48 3a | 25 4d 3a 25 53 5c 22 60 |m/%d %H:|%M:%S\"`|
|00002d80| 20 66 69 6c 74 65 72 5b | 24 24 5d 3a 20 24 31 22 | filter[|$$]: $1"|
|00002d90| 3b 0a 58 66 69 3b 20 75 | 6d 61 73 6b 20 32 37 37 |;.Xfi; u|mask 277|
|00002da0| 0a 58 27 0a 58 0a 58 23 | 20 54 68 69 73 20 76 61 |.X'.X.X#| This va|
|00002db0| 72 69 61 62 6c 65 2c 20 | 77 68 65 6e 20 65 76 61 |riable, |when eva|
|00002dc0| 6c 27 65 64 2c 20 64 75 | 6d 70 73 20 74 68 65 20 |l'ed, du|mps the |
|00002dd0| 6d 65 73 73 61 67 65 20 | 6f 6e 20 73 74 64 6f 75 |message |on stdou|
|00002de0| 74 2e 20 46 6f 72 20 74 | 68 69 73 0a 58 23 20 72 |t. For t|his.X# r|
|00002df0| 65 61 73 6f 6e 2c 20 65 | 72 72 6f 72 20 6d 65 73 |eason, e|rror mes|
|00002e00| 73 61 67 65 73 20 73 68 | 6f 75 6c 64 20 62 65 20 |sages sh|ould be |
|00002e10| 72 65 64 69 72 65 63 74 | 65 64 20 69 6e 74 6f 20 |redirect|ed into |
|00002e20| 61 20 66 69 6c 65 2e 0a | 58 65 6d 65 72 67 65 6e |a file..|Xemergen|
|00002e30| 63 79 3d 27 65 63 68 6f | 20 22 2a 2a 2a 20 43 6f |cy='echo| "*** Co|
|00002e40| 75 6c 64 20 6e 6f 74 20 | 70 72 6f 63 65 73 73 20 |uld not |process |
|00002e50| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 28 24 |the foll|owing ($|
|00002e60| 31 29 20 2a 2a 2a 22 3b | 0a 58 63 61 74 20 24 74 |1) ***";|.Xcat $t|
|00002e70| 65 6d 70 3b 0a 58 65 63 | 68 6f 20 22 2d 2d 2d 2d |emp;.Xec|ho "----|
|00002e80| 2d 2d 2d 2d 2d 2d 2d 20 | 60 64 61 74 65 60 20 2d |------- |`date` -|
|00002e90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 22 3b 0a 58 73 65 |--------|--";.Xse|
|00002ea0| 74 20 22 46 41 54 41 4c | 20 24 31 22 3b 0a 58 65 |t "FATAL| $1";.Xe|
|00002eb0| 76 61 6c 20 24 61 64 64 | 6c 6f 67 3b 0a 58 72 6d |val $add|log;.Xrm|
|00002ec0| 20 2d 66 20 24 73 70 6f | 6f 6c 2f 66 69 6c 74 65 | -f $spo|ol/filte|
|00002ed0| 72 2e 6c 6f 63 6b 20 24 | 74 6f 72 6d 0a 58 27 0a |r.lock $|torm.X'.|
|00002ee0| 58 0a 58 23 20 54 68 69 | 73 20 69 73 20 66 6f 72 |X.X# Thi|s is for|
|00002ef0| 20 73 61 66 65 74 79 20 | 72 65 61 73 6f 6e 73 20 | safety |reasons |
|00002f00| 28 6d 61 69 6c 61 67 65 | 6e 74 20 6d 61 79 20 61 |(mailage|nt may a|
|00002f10| 62 6f 72 74 20 73 75 64 | 64 65 6e 6c 79 29 2e 20 |bort sud|denly). |
|00002f20| 53 61 76 65 20 74 68 65 | 0a 58 23 20 77 68 6f 6c |Save the|.X# whol|
|00002f30| 65 20 6d 61 69 6c 20 69 | 6e 20 61 20 74 65 6d 70 |e mail i|n a temp|
|00002f40| 6f 72 61 72 79 20 66 69 | 6c 65 2c 20 77 68 69 63 |orary fi|le, whic|
|00002f50| 68 20 68 61 73 20 76 65 | 72 79 20 72 65 73 74 72 |h has ve|ry restr|
|00002f60| 69 63 74 69 76 65 20 70 | 65 72 6d 69 73 73 69 6f |ictive p|ermissio|
|00002f70| 6e 73 0a 58 23 20 28 70 | 72 65 76 65 6e 74 73 20 |ns.X# (p|revents |
|00002f80| 75 6e 77 61 6e 74 65 64 | 20 72 65 6d 6f 76 61 6c |unwanted| removal|
|00002f90| 29 2e 20 54 68 69 73 20 | 77 69 6c 6c 20 62 65 20 |). This |will be |
|00002fa0| 65 76 65 6e 74 75 61 6c | 6c 79 20 6d 6f 76 65 64 |eventual|ly moved|
|00002fb0| 20 74 6f 20 74 68 65 0a | 58 23 20 6d 61 69 6c 61 | to the.|X# maila|
|00002fc0| 67 65 6e 74 27 73 20 71 | 75 65 75 65 20 69 66 20 |gent's q|ueue if |
|00002fd0| 77 65 20 63 61 6e 20 6c | 6f 63 61 74 65 20 69 74 |we can l|ocate it|
|00002fe0| 2e 0a 58 75 6d 61 73 6b | 20 32 37 37 0a 58 74 65 |..Xumask| 277.Xte|
|00002ff0| 6d 70 3d 2f 74 6d 70 2f | 46 6d 6c 24 24 0a 58 74 |mp=/tmp/|Fml$$.Xt|
|00003000| 6f 72 6d 3d 22 24 74 65 | 6d 70 22 0a 58 0a 58 23 |orm="$te|mp".X.X#|
|00003010| 20 54 68 65 20 6d 61 67 | 69 63 20 6e 75 6d 62 65 | The mag|ic numbe|
|00003020| 72 20 27 37 34 27 20 69 | 73 20 45 58 5f 49 4f 45 |r '74' i|s EX_IOE|
|00003030| 52 52 20 61 73 20 75 6e | 64 65 72 73 74 6f 6f 64 |RR as un|derstood|
|00003040| 20 62 79 20 73 65 6e 64 | 6d 61 69 6c 20 61 6e 64 | by send|mail and|
|00003050| 20 6d 65 61 6e 73 20 74 | 68 61 74 0a 58 23 20 61 | means t|hat.X# a|
|00003060| 6e 20 49 2f 4f 20 65 72 | 72 6f 72 20 6f 63 63 75 |n I/O er|ror occu|
|00003070| 72 72 65 64 2e 20 54 68 | 65 20 6d 61 69 6c 20 69 |rred. Th|e mail i|
|00003080| 73 20 6c 65 66 74 20 69 | 6e 20 73 65 6e 64 6d 61 |s left i|n sendma|
|00003090| 69 6c 27 73 20 71 75 65 | 75 65 2e 20 49 20 65 78 |il's que|ue. I ex|
|000030a0| 70 65 63 74 20 22 63 61 | 74 22 0a 58 23 20 74 6f |pect "ca|t".X# to|
|000030b0| 20 67 69 76 65 20 61 20 | 6d 65 61 6e 69 6e 67 66 | give a |meaningf|
|000030c0| 75 6c 20 65 78 69 74 20 | 63 6f 64 65 2e 0a 58 63 |ul exit |code..Xc|
|000030d0| 61 74 20 3e 20 24 74 65 | 6d 70 20 7c 7c 20 65 78 |at > $te|mp || ex|
|000030e0| 69 74 20 37 34 0a 58 0a | 58 23 20 54 68 65 20 66 |it 74.X.|X# The f|
|000030f0| 6f 6c 6c 6f 77 69 6e 67 | 20 69 73 20 64 6f 6e 65 |ollowing| is done|
|00003100| 20 69 6e 20 61 20 73 75 | 62 73 68 65 6c 6c 20 70 | in a su|bshell p|
|00003110| 75 74 20 69 6e 20 62 61 | 63 6b 67 72 6f 75 6e 64 |ut in ba|ckground|
|00003120| 2c 20 73 6f 20 74 68 61 | 74 20 74 68 69 73 0a 58 |, so tha|t this.X|
|00003130| 23 20 70 72 6f 63 65 73 | 73 20 63 61 6e 20 65 78 |# proces|s can ex|
|00003140| 69 74 20 77 69 74 68 20 | 61 20 7a 65 72 6f 20 73 |it with |a zero s|
|00003150| 74 61 74 75 73 20 69 6d | 6d 65 64 69 61 74 65 6c |tatus im|mediatel|
|00003160| 79 2c 20 77 68 69 63 68 | 20 77 69 6c 6c 20 6d 61 |y, which| will ma|
|00003170| 6b 65 0a 58 23 20 73 65 | 6e 64 6d 61 69 6c 20 74 |ke.X# se|ndmail t|
|00003180| 68 69 6e 6b 20 74 68 61 | 74 20 74 68 65 20 64 65 |hink tha|t the de|
|00003190| 6c 69 76 65 72 79 20 77 | 61 73 20 73 75 63 63 65 |livery w|as succe|
|000031a0| 73 73 66 75 6c 2e 20 48 | 6f 70 65 66 75 6c 6c 79 |ssful. H|opefully|
|000031b0| 20 77 65 20 63 61 6e 0a | 58 23 20 64 6f 20 6f 75 | we can.|X# do ou|
|000031c0| 72 20 6f 77 6e 20 65 72 | 72 6f 72 20 72 65 63 6f |r own er|ror reco|
|000031d0| 76 65 72 79 20 6e 6f 77 | 2e 0a 58 0a 58 28 0a 58 |very now|..X.X(.X|
|000031e0| 23 20 53 63 72 69 70 74 | 20 75 73 65 64 20 74 6f |# Script| used to|
|000031f0| 20 73 61 76 65 20 74 68 | 65 20 70 72 6f 63 65 73 | save th|e proces|
|00003200| 73 65 64 20 6d 61 69 6c | 20 69 6e 20 61 6e 20 65 |sed mail| in an e|
|00003210| 6d 65 72 67 65 6e 63 79 | 20 73 69 74 75 61 74 69 |mergency| situati|
|00003220| 6f 6e 0a 58 73 61 76 65 | 72 3d 27 75 6d 61 73 6b |on.Xsave|r='umask|
|00003230| 20 30 37 37 3b 20 69 66 | 20 28 63 61 74 20 24 74 | 077; if| (cat $t|
|00003240| 65 6d 70 3b 20 65 63 68 | 6f 20 22 22 3b 20 65 63 |emp; ech|o ""; ec|
|00003250| 68 6f 20 22 22 29 20 3e | 3e 20 24 48 4f 4d 45 2f |ho "") >|> $HOME/|
|00003260| 6d 62 6f 78 2e 66 69 6c | 74 65 72 3b 20 74 68 65 |mbox.fil|ter; the|
|00003270| 6e 0a 58 09 73 65 74 20 | 22 44 55 4d 50 45 44 20 |n.X.set |"DUMPED |
|00003280| 69 6e 20 7e 2f 6d 62 6f | 78 2e 66 69 6c 74 65 72 |in ~/mbo|x.filter|
|00003290| 22 3b 20 65 76 61 6c 20 | 24 61 64 64 6c 6f 67 3b |"; eval |$addlog;|
|000032a0| 20 72 6d 20 2d 66 20 24 | 74 6f 72 6d 3b 20 65 6c | rm -f $|torm; el|
|000032b0| 73 65 0a 58 09 73 65 74 | 20 22 75 6e 61 62 6c 65 |se.X.set| "unable|
|000032c0| 20 74 6f 20 64 75 6d 70 | 20 69 6e 20 7e 2f 6d 62 | to dump| in ~/mb|
|000032d0| 6f 78 2e 66 69 6c 74 65 | 72 22 3b 20 65 76 61 6c |ox.filte|r"; eval|
|000032e0| 20 24 65 6d 65 72 67 65 | 6e 63 79 3b 0a 58 66 69 | $emerge|ncy;.Xfi|
|000032f0| 27 0a 58 0a 58 23 20 53 | 65 74 20 61 20 74 72 61 |'.X.X# S|et a tra|
|00003300| 70 20 69 6e 20 63 61 73 | 65 20 6f 66 20 69 6e 74 |p in cas|e of int|
|00003310| 65 72 72 75 70 74 69 6f | 6e 2e 20 4d 61 69 6c 20 |erruptio|n. Mail |
|00003320| 77 69 6c 6c 20 62 65 20 | 64 75 6d 70 65 64 20 69 |will be |dumped i|
|00003330| 6e 20 7e 2f 6d 62 6f 78 | 2e 66 69 6c 74 65 72 0a |n ~/mbox|.filter.|
|00003340| 58 74 72 61 70 20 27 65 | 76 61 6c 20 24 73 61 76 |Xtrap 'e|val $sav|
|00003350| 65 72 3b 20 65 78 69 74 | 20 30 27 20 31 20 32 20 |er; exit| 0' 1 2 |
|00003360| 33 20 31 35 0a 58 0a 58 | 23 20 4c 6f 6f 6b 20 66 |3 15.X.X|# Look f|
|00003370| 6f 72 20 74 68 65 20 7e | 2f 2e 6d 61 69 6c 61 67 |or the ~|/.mailag|
|00003380| 65 6e 74 20 66 69 6c 65 | 2c 20 65 78 69 74 20 69 |ent file|, exit i|
|00003390| 66 20 6e 6f 6e 65 20 66 | 6f 75 6e 64 0a 58 69 66 |f none f|ound.Xif|
|000033a0| 20 74 65 73 74 20 21 20 | 2d 66 20 24 48 4f 4d 45 | test ! |-f $HOME|
|000033b0| 2f 2e 6d 61 69 6c 61 67 | 65 6e 74 3b 20 74 68 65 |/.mailag|ent; the|
|000033c0| 6e 0a 58 09 73 65 74 20 | 27 46 41 54 41 4c 20 6e |n.X.set |'FATAL n|
|000033d0| 6f 20 7e 2f 2e 6d 61 69 | 6c 61 67 65 6e 74 27 0a |o ~/.mai|lagent'.|
|000033e0| 58 09 65 76 61 6c 20 24 | 61 64 64 6c 6f 67 0a 58 |X.eval $|addlog.X|
|000033f0| 09 65 76 61 6c 20 24 73 | 61 76 65 72 0a 58 09 65 |.eval $s|aver.X.e|
|00003400| 78 69 74 20 30 0a 58 66 | 69 0a 58 0a 58 23 20 50 |xit 0.Xf|i.X.X# P|
|00003410| 61 72 73 65 20 7e 2f 2e | 6d 61 69 6c 61 67 65 6e |arse ~/.|mailagen|
|00003420| 74 20 74 6f 20 67 65 74 | 20 74 68 65 20 71 75 65 |t to get| the que|
|00003430| 75 65 20 6c 6f 63 61 74 | 69 6f 6e 0a 58 73 65 74 |ue locat|ion.Xset|
|00003440| 20 58 20 60 3c 24 48 4f | 4d 45 2f 2e 6d 61 69 6c | X `<$HO|ME/.mail|
|00003450| 61 67 65 6e 74 20 73 65 | 64 20 2d 6e 20 5c 0a 58 |agent se|d -n \.X|
|00003460| 09 2d 65 20 27 2f 5e 5b | 20 09 5d 2a 23 2f 64 27 |.-e '/^[| .]*#/d'|
|00003470| 20 5c 0a 58 09 2d 65 20 | 27 73 2f 5e 5b 20 09 5d | \.X.-e |'s/^[ .]|
|00003480| 2a 5c 28 5b 5e 20 09 3a | 5c 2f 5d 2a 5c 29 5b 20 |*\([^ .:|\/]*\)[ |
|00003490| 09 5d 2a 3a 5b 20 09 5d | 2a 5c 28 5b 5e 23 5d 2a |.]*:[ .]|*\([^#]*|
|000034a0| 5c 29 2e 2a 2f 5c 31 3d | 22 5c 32 22 3b 2f 70 27 |\).*/\1=|"\2";/p'|
|000034b0| 60 0a 58 73 68 69 66 74 | 0a 58 0a 58 23 20 44 65 |`.Xshift|.X.X# De|
|000034c0| 61 6c 20 77 69 74 68 20 | 70 6f 73 73 69 62 6c 65 |al with |possible|
|000034d0| 20 77 68 69 74 65 20 73 | 70 61 63 65 73 20 69 6e | white s|paces in|
|000034e0| 20 76 61 72 69 61 62 6c | 65 73 0a 58 63 6d 64 3d | variabl|es.Xcmd=|
|000034f0| 27 27 0a 58 66 6f 72 20 | 6c 69 6e 65 20 69 6e 20 |''.Xfor |line in |
|00003500| 24 2a 3b 20 64 6f 0a 58 | 09 63 6d 64 3d 22 24 63 |$*; do.X|.cmd="$c|
|00003510| 6d 64 24 6c 69 6e 65 22 | 0a 58 64 6f 6e 65 0a 58 |md$line"|.Xdone.X|
|00003520| 63 6d 64 3d 60 65 63 68 | 6f 20 24 63 6d 64 20 7c |cmd=`ech|o $cmd ||
|00003530| 20 73 65 64 20 2d 65 20 | 22 73 7c 7e 7c 24 48 4f | sed -e |"s|~|$HO|
|00003540| 4d 45 7c 67 22 60 0a 58 | 65 76 61 6c 20 24 63 6d |ME|g"`.X|eval $cm|
|00003550| 64 0a 58 0a 58 23 20 49 | 74 20 77 6f 75 6c 64 20 |d.X.X# I|t would |
|00003560| 62 65 20 74 6f 6f 20 68 | 61 7a 61 72 64 6f 75 73 |be too h|azardous|
|00003570| 20 74 6f 20 63 6f 6e 74 | 69 6e 75 65 20 77 69 74 | to cont|inue wit|
|00003580| 68 6f 75 74 20 61 20 76 | 61 6c 69 64 20 71 75 65 |hout a v|alid que|
|00003590| 75 65 20 64 69 72 65 63 | 74 6f 72 79 0a 58 69 66 |ue direc|tory.Xif|
|000035a0| 20 74 65 73 74 20 21 20 | 2d 64 20 22 24 71 75 65 | test ! |-d "$que|
|000035b0| 75 65 22 3b 20 74 68 65 | 6e 0a 58 09 73 65 74 20 |ue"; the|n.X.set |
|000035c0| 27 46 41 54 41 4c 20 6e | 6f 20 76 61 6c 69 64 20 |'FATAL n|o valid |
|000035d0| 71 75 65 75 65 20 64 69 | 72 65 63 74 6f 72 79 27 |queue di|rectory'|
|000035e0| 0a 58 09 65 76 61 6c 20 | 24 61 64 64 6c 6f 67 0a |.X.eval |$addlog.|
|000035f0| 58 09 65 76 61 6c 20 24 | 73 61 76 65 72 0a 58 09 |X.eval $|saver.X.|
|00003600| 65 78 69 74 20 30 0a 58 | 66 69 0a 58 0a 58 23 20 |exit 0.X|fi.X.X# |
|00003610| 49 66 20 74 68 65 72 65 | 20 69 73 20 61 6c 72 65 |If there| is alre|
|00003620| 61 64 79 20 61 20 66 69 | 6c 74 65 72 2e 6c 6f 63 |ady a fi|lter.loc|
|00003630| 6b 20 66 69 6c 65 2c 20 | 74 68 65 6e 20 77 65 20 |k file, |then we |
|00003640| 73 65 74 20 62 75 73 79 | 20 74 6f 20 74 72 75 65 |set busy| to true|
|00003650| 2e 20 4f 74 68 65 72 77 | 69 73 65 2c 0a 58 23 20 |. Otherw|ise,.X# |
|00003660| 77 65 20 63 72 65 61 74 | 65 20 74 68 65 20 6c 6f |we creat|e the lo|
|00003670| 63 6b 20 66 69 6c 65 2e | 20 4e 6f 74 65 20 74 68 |ck file.| Note th|
|00003680| 61 74 20 74 68 69 73 20 | 73 63 68 65 6d 65 20 69 |at this |scheme i|
|00003690| 73 20 61 20 6c 69 74 74 | 6c 65 20 6c 6f 75 73 79 |s a litt|le lousy|
|000036a0| 20 28 72 61 63 65 0a 58 | 23 20 63 6f 6e 64 69 74 | (race.X|# condit|
|000036b0| 69 6f 6e 73 20 6d 61 79 | 20 6f 63 63 75 72 29 2c |ions may| occur),|
|000036c0| 20 62 75 74 20 74 68 61 | 74 27 73 20 6e 6f 74 20 | but tha|t's not |
|000036d0| 72 65 61 6c 6c 79 20 69 | 6d 70 6f 72 74 61 6e 74 |really i|mportant|
|000036e0| 20 62 65 63 61 75 73 65 | 20 74 68 65 20 6d 61 69 | because| the mai|
|000036f0| 6c 61 67 65 6e 74 0a 58 | 23 20 77 69 6c 6c 20 64 |lagent.X|# will d|
|00003700| 6f 20 69 74 73 20 6f 77 | 6e 20 74 65 73 74 73 20 |o its ow|n tests |
|00003710| 77 69 74 68 20 74 68 65 | 20 70 65 72 6c 2e 6c 6f |with the| perl.lo|
|00003720| 63 6b 20 66 69 6c 65 2e | 54 68 65 20 6d 6f 74 69 |ck file.|The moti|
|00003730| 76 61 74 69 6f 6e 20 68 | 65 72 65 20 69 73 20 74 |vation h|ere is t|
|00003740| 6f 20 61 76 6f 69 64 0a | 58 23 20 61 20 6d 79 72 |o avoid.|X# a myr|
|00003750| 69 61 64 20 6f 66 20 66 | 69 6c 74 65 72 2b 70 65 |iad of f|ilter+pe|
|00003760| 72 6c 20 70 72 6f 63 65 | 73 73 65 73 20 73 70 61 |rl proce|sses spa|
|00003770| 77 6e 65 64 20 77 68 65 | 6e 20 61 20 6c 6f 74 20 |wned whe|n a lot |
|00003780| 6f 66 20 6d 61 69 6c 20 | 69 73 20 64 65 6c 69 76 |of mail |is deliv|
|00003790| 65 72 65 64 0a 58 23 20 | 76 69 61 20 53 4d 54 50 |ered.X# |via SMTP|
|000037a0| 20 28 66 6f 72 20 69 6e | 73 74 61 6e 63 65 20 61 | (for in|stance a|
|000037b0| 66 74 65 72 20 61 20 75 | 75 63 70 20 63 6f 6e 6e |fter a u|ucp conn|
|000037c0| 65 63 74 69 6f 6e 29 2e | 0a 58 62 75 73 79 3d 27 |ection).|.Xbusy='|
|000037d0| 27 0a 58 69 66 20 74 65 | 73 74 20 2d 66 20 24 73 |'.Xif te|st -f $s|
|000037e0| 70 6f 6f 6c 2f 66 69 6c | 74 65 72 2e 6c 6f 63 6b |pool/fil|ter.lock|
|000037f0| 3b 20 74 68 65 6e 0a 58 | 09 62 75 73 79 3d 27 74 |; then.X|.busy='t|
|00003800| 72 75 65 27 0a 58 65 6c | 73 65 0a 58 09 23 20 52 |rue'.Xel|se.X.# R|
|00003810| 61 63 65 20 63 6f 6e 64 | 69 74 69 6f 6e 20 6d 61 |ace cond|ition ma|
|00003820| 79 20 28 61 6e 64 20 77 | 69 6c 6c 29 20 6f 63 63 |y (and w|ill) occ|
|00003830| 75 72 2c 20 62 75 74 20 | 74 68 65 20 70 65 72 6d |ur, but |the perm|
|00003840| 69 73 73 69 6f 6e 73 20 | 61 72 65 20 6b 65 70 74 |issions |are kept|
|00003850| 20 62 79 20 27 63 70 27 | 2c 0a 58 09 23 20 73 6f | by 'cp'|,.X.# so|
|00003860| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 77 | the fol|lowing w|
|00003870| 69 6c 6c 20 6e 6f 74 20 | 72 61 69 73 65 20 61 6e |ill not |raise an|
|00003880| 79 20 65 72 72 6f 72 20 | 6d 65 73 73 61 67 65 2e |y error |message.|
|00003890| 0a 58 09 63 70 20 2f 64 | 65 76 2f 6e 75 6c 6c 20 |.X.cp /d|ev/null |
|000038a0| 24 73 70 6f 6f 6c 2f 66 | 69 6c 74 65 72 2e 6c 6f |$spool/f|ilter.lo|
|000038b0| 63 6b 20 3e 2f 64 65 76 | 2f 6e 75 6c 6c 20 32 3e |ck >/dev|/null 2>|
|000038c0| 26 31 20 7c 7c 20 62 75 | 73 79 3d 27 74 72 75 65 |&1 || bu|sy='true|
|000038d0| 27 0a 58 66 69 0a 58 0a | 58 23 20 43 6f 70 79 20 |'.Xfi.X.|X# Copy |
|000038e0| 74 6d 70 20 66 69 6c 65 | 20 74 6f 20 74 68 65 20 |tmp file| to the |
|000038f0| 71 75 65 75 65 20 64 69 | 72 65 63 74 6f 72 79 20 |queue di|rectory |
|00003900| 61 6e 64 20 63 61 6c 6c | 20 74 68 65 20 6d 61 69 |and call| the mai|
|00003910| 6c 61 67 65 6e 74 2e 20 | 49 66 20 74 68 65 20 66 |lagent. |If the f|
|00003920| 69 6c 65 0a 58 23 20 61 | 6c 72 65 61 64 79 20 65 |ile.X# a|lready e|
|00003930| 78 69 73 74 73 20 28 76 | 65 72 79 20 75 6e 6c 69 |xists (v|ery unli|
|00003940| 6b 65 6c 79 2c 20 62 75 | 74 2e 2e 2e 29 2c 20 77 |kely, bu|t...), w|
|00003950| 65 20 61 70 70 65 6e 64 | 20 61 20 27 62 27 20 66 |e append| a 'b' f|
|00003960| 6f 72 20 62 69 73 2e 0a | 58 71 74 65 6d 70 3d 24 |or bis..|Xqtemp=$|
|00003970| 71 75 65 75 65 2f 71 6d | 24 24 0a 58 74 71 74 65 |queue/qm|$$.Xtqte|
|00003980| 6d 70 3d 24 71 75 65 75 | 65 2f 54 71 6d 24 24 0a |mp=$queu|e/Tqm$$.|
|00003990| 58 69 66 20 74 65 73 74 | 20 2d 66 20 24 71 74 65 |Xif test| -f $qte|
|000039a0| 6d 70 3b 20 74 68 65 6e | 0a 58 09 71 74 65 6d 70 |mp; then|.X.qtemp|
|000039b0| 3d 24 71 75 65 75 65 2f | 71 6d 62 24 24 0a 58 09 |=$queue/|qmb$$.X.|
|000039c0| 74 71 74 65 6d 70 3d 24 | 71 75 65 75 65 2f 54 71 |tqtemp=$|queue/Tq|
|000039d0| 6d 62 24 24 0a 58 66 69 | 0a 58 0a 58 23 20 44 6f |mb$$.Xfi|.X.X# Do|
|000039e0| 20 6e 6f 74 20 77 72 69 | 74 65 20 69 6e 20 61 20 | not wri|te in a |
|000039f0| 27 71 6d 27 20 66 69 6c | 65 20 64 69 72 65 63 74 |'qm' fil|e direct|
|00003a00| 6c 79 2c 20 6f 72 20 74 | 68 65 20 6d 61 69 6c 61 |ly, or t|he maila|
|00003a10| 67 65 6e 74 20 6d 69 67 | 68 74 20 73 74 61 72 74 |gent mig|ht start|
|00003a20| 0a 58 23 20 69 74 73 20 | 70 72 6f 63 65 73 73 69 |.X# its |processi|
|00003a30| 6e 67 20 6f 6e 20 61 6e | 20 69 6e 63 6f 6d 70 6c |ng on an| incompl|
|00003a40| 65 74 65 20 66 69 6c 65 | 2e 0a 58 69 66 20 63 70 |ete file|..Xif cp|
|00003a50| 20 24 74 65 6d 70 20 24 | 74 71 74 65 6d 70 3b 20 | $temp $|tqtemp; |
|00003a60| 74 68 65 6e 0a 58 09 6d | 76 20 24 74 71 74 65 6d |then.X.m|v $tqtem|
|00003a70| 70 20 24 71 74 65 6d 70 | 0a 58 09 69 66 20 74 65 |p $qtemp|.X.if te|
|00003a80| 73 74 20 78 20 3d 20 22 | 78 24 62 75 73 79 22 3b |st x = "|x$busy";|
|00003a90| 20 74 68 65 6e 0a 58 09 | 09 73 6c 65 65 70 20 36 | then.X.|.sleep 6|
|00003aa0| 30 0a 58 09 09 69 66 20 | 70 65 72 6c 20 2d 53 20 |0.X..if |perl -S |
|00003ab0| 6d 61 69 6c 61 67 65 6e | 74 20 24 71 74 65 6d 70 |mailagen|t $qtemp|
|00003ac0| 3b 20 74 68 65 6e 0a 58 | 09 09 09 72 6d 20 2d 66 |; then.X|...rm -f|
|00003ad0| 20 24 74 65 6d 70 20 24 | 71 74 65 6d 70 20 24 73 | $temp $|qtemp $s|
|00003ae0| 70 6f 6f 6c 2f 66 69 6c | 74 65 72 2e 6c 6f 63 6b |pool/fil|ter.lock|
|00003af0| 0a 58 09 09 09 65 78 69 | 74 20 30 0a 58 09 09 66 |.X...exi|t 0.X..f|
|00003b00| 69 0a 58 09 66 69 0a 58 | 65 6c 73 65 0a 58 09 73 |i.X.fi.X|else.X.s|
|00003b10| 65 74 20 27 45 52 52 4f | 52 20 75 6e 61 62 6c 65 |et 'ERRO|R unable|
|00003b20| 20 74 6f 20 71 75 65 75 | 65 20 6d 61 69 6c 20 62 | to queu|e mail b|
|00003b30| 65 66 6f 72 65 20 70 72 | 6f 63 65 73 73 69 6e 67 |efore pr|ocessing|
|00003b40| 27 0a 58 09 65 76 61 6c | 20 24 61 64 64 6c 6f 67 |'.X.eval| $addlog|
|00003b50| 0a 58 09 69 66 20 74 65 | 73 74 20 78 20 3d 20 22 |.X.if te|st x = "|
|00003b60| 78 24 62 75 73 79 22 3b | 20 74 68 65 6e 0a 58 09 |x$busy";| then.X.|
|00003b70| 09 73 6c 65 65 70 20 36 | 30 0a 58 09 09 69 66 20 |.sleep 6|0.X..if |
|00003b80| 70 65 72 6c 20 2d 53 20 | 6d 61 69 6c 61 67 65 6e |perl -S |mailagen|
|00003b90| 74 20 24 74 65 6d 70 3b | 20 74 68 65 6e 0a 58 09 |t $temp;| then.X.|
|00003ba0| 09 09 72 6d 20 2d 66 20 | 24 74 65 6d 70 20 24 73 |..rm -f |$temp $s|
|00003bb0| 70 6f 6f 6c 2f 66 69 6c | 74 65 72 2e 6c 6f 63 6b |pool/fil|ter.lock|
|00003bc0| 0a 58 09 09 09 65 78 69 | 74 20 30 0a 58 09 09 66 |.X...exi|t 0.X..f|
|00003bd0| 69 0a 58 09 66 69 0a 58 | 66 69 0a 58 0a 58 23 20 |i.X.fi.X|fi.X.X# |
|00003be0| 57 65 20 63 6f 6d 65 20 | 68 65 72 65 20 6f 6e 6c |We come |here onl|
|00003bf0| 79 20 69 66 20 74 68 65 | 20 6d 61 69 6c 61 67 65 |y if the| mailage|
|00003c00| 6e 74 20 66 61 69 6c 65 | 64 20 69 74 73 20 70 72 |nt faile|d its pr|
|00003c10| 6f 63 65 73 73 69 6e 67 | 2e 20 54 68 65 20 75 6e |ocessing|. The un|
|00003c20| 70 72 6f 63 65 73 73 65 | 64 0a 58 23 20 6d 61 69 |processe|d.X# mai|
|00003c30| 6c 20 65 69 74 68 65 72 | 20 6c 65 66 74 20 69 6e |l either| left in|
|00003c40| 20 74 68 65 20 71 75 65 | 75 65 20 6f 72 20 69 73 | the que|ue or is|
|00003c50| 20 67 69 76 65 6e 20 61 | 20 6d 65 61 6e 69 6e 67 | given a| meaning|
|00003c60| 66 75 6c 20 6e 61 6d 65 | 2e 0a 58 69 66 20 63 6d |ful name|..Xif cm|
|00003c70| 70 20 24 74 65 6d 70 20 | 24 71 74 65 6d 70 20 3e |p $temp |$qtemp >|
|00003c80| 2f 64 65 76 2f 6e 75 6c | 6c 20 32 3e 26 31 3b 20 |/dev/nul|l 2>&1; |
|00003c90| 74 68 65 6e 0a 58 09 62 | 61 73 65 3d 60 65 63 68 |then.X.b|ase=`ech|
|00003ca0| 6f 20 24 71 74 65 6d 70 | 20 7c 20 73 65 64 20 2d |o $qtemp| | sed -|
|00003cb0| 65 20 27 73 2f 2e 2a 5c | 2f 5c 28 2e 2a 5c 29 2f |e 's/.*\|/\(.*\)/|
|00003cc0| 5c 31 2f 27 60 0a 58 09 | 69 66 20 74 65 73 74 20 |\1/'`.X.|if test |
|00003cd0| 78 20 3d 20 22 78 24 62 | 75 73 79 22 3b 20 74 68 |x = "x$b|usy"; th|
|00003ce0| 65 6e 0a 58 09 09 73 65 | 74 20 22 45 52 52 4f 52 |en.X..se|t "ERROR|
|00003cf0| 20 6d 61 69 6c 61 67 65 | 6e 74 20 66 61 69 6c 65 | mailage|nt faile|
|00003d00| 64 2c 20 5b 24 62 61 73 | 65 5d 20 6c 65 66 74 20 |d, [$bas|e] left |
|00003d10| 69 6e 20 71 75 65 75 65 | 22 0a 58 09 09 72 6d 20 |in queue|".X..rm |
|00003d20| 2d 66 20 24 73 70 6f 6f | 6c 2f 66 69 6c 74 65 72 |-f $spoo|l/filter|
|00003d30| 2e 6c 6f 63 6b 0a 58 09 | 65 6c 73 65 0a 58 09 09 |.lock.X.|else.X..|
|00003d40| 23 20 4d 61 6b 65 20 66 | 69 6c 65 20 61 20 66 6d |# Make f|ile a fm|
|00003d50| 2a 20 6f 6e 65 2c 20 73 | 6f 20 74 68 61 74 20 69 |* one, s|o that i|
|00003d60| 74 20 77 69 6c 6c 20 67 | 65 74 20 70 72 6f 63 65 |t will g|et proce|
|00003d70| 73 73 65 64 20 69 6d 6d | 65 64 69 61 74 65 6c 79 |ssed imm|ediately|
|00003d80| 20 62 79 0a 58 09 09 23 | 20 74 68 65 20 6d 61 69 | by.X..#| the mai|
|00003d90| 6e 20 6d 61 69 6c 61 67 | 65 6e 74 20 77 68 65 6e |n mailag|ent when|
|00003da0| 20 69 74 20 69 73 20 72 | 65 61 64 79 20 74 6f 20 | it is r|eady to |
|00003db0| 64 65 61 6c 20 77 69 74 | 68 20 74 68 65 20 71 75 |deal wit|h the qu|
|00003dc0| 65 75 65 2e 0a 58 09 09 | 66 6d 62 61 73 65 3d 60 |eue..X..|fmbase=`|
|00003dd0| 65 63 68 6f 20 24 62 61 | 73 65 20 7c 20 73 65 64 |echo $ba|se | sed|
|00003de0| 20 2d 65 20 27 73 2f 71 | 6d 2f 66 6d 78 2f 27 60 | -e 's/q|m/fmx/'`|
|00003df0| 0a 58 09 09 69 66 20 6d | 76 20 24 71 75 65 75 65 |.X..if m|v $queue|
|00003e00| 2f 24 62 61 73 65 20 24 | 71 75 65 75 65 2f 24 66 |/$base $|queue/$f|
|00003e10| 6d 62 61 73 65 3b 20 74 | 68 65 6e 0a 58 09 09 09 |mbase; t|hen.X...|
|00003e20| 73 65 74 20 22 4e 4f 54 | 49 43 45 20 66 69 6c 74 |set "NOT|ICE filt|
|00003e30| 65 72 20 62 75 73 79 2c | 20 5b 24 66 6d 62 61 73 |er busy,| [$fmbas|
|00003e40| 65 5d 20 6c 65 66 74 20 | 69 6e 20 71 75 65 75 65 |e] left |in queue|
|00003e50| 22 0a 58 09 09 65 6c 73 | 65 0a 58 09 09 09 73 65 |".X..els|e.X...se|
|00003e60| 74 20 22 4e 4f 54 49 43 | 45 20 66 69 6c 74 65 72 |t "NOTIC|E filter|
|00003e70| 20 62 75 73 79 2c 20 5b | 24 62 61 73 65 5d 20 6c | busy, [|$base] l|
|00003e80| 65 66 74 20 69 6e 20 71 | 75 65 75 65 22 0a 58 09 |eft in q|ueue".X.|
|00003e90| 09 66 69 0a 58 09 66 69 | 0a 58 09 65 76 61 6c 20 |.fi.X.fi|.X.eval |
|00003ea0| 24 61 64 64 6c 6f 67 0a | 58 09 72 6d 20 2d 66 20 |$addlog.|X.rm -f |
|00003eb0| 24 74 65 6d 70 0a 58 09 | 65 78 69 74 20 30 0a 58 |$temp.X.|exit 0.X|
|00003ec0| 66 69 0a 58 0a 58 23 20 | 43 68 61 6e 67 65 20 74 |fi.X.X# |Change t|
|00003ed0| 68 65 20 6e 61 6d 65 20 | 6f 66 20 74 68 65 20 74 |he name |of the t|
|00003ee0| 65 6d 70 6f 72 61 72 79 | 20 66 69 6c 65 2e 0a 58 |emporary| file..X|
|00003ef0| 75 73 65 72 3d 60 28 6c | 6f 67 6e 61 6d 65 20 7c |user=`(l|ogname ||
|00003f00| 7c 20 77 68 6f 61 6d 69 | 29 20 32 3e 2f 64 65 76 || whoami|) 2>/dev|
|00003f10| 2f 6e 75 6c 6c 60 0a 58 | 74 6d 70 64 69 72 3d 60 |/null`.X|tmpdir=`|
|00003f20| 65 63 68 6f 20 24 74 65 | 6d 70 20 7c 20 73 65 64 |echo $te|mp | sed|
|00003f30| 20 2d 65 20 27 73 2f 5c | 28 2e 2a 5c 29 5c 2f 2e | -e 's/\|(.*\)\/.|
|00003f40| 2a 2f 5c 31 2f 27 60 0a | 58 6d 76 20 24 74 65 6d |*/\1/'`.|Xmv $tem|
|00003f50| 70 20 24 74 6d 70 64 69 | 72 2f 24 75 73 65 72 2e |p $tmpdi|r/$user.|
|00003f60| 24 24 0a 58 74 65 6d 70 | 3d 22 24 74 6d 70 64 69 |$$.Xtemp|="$tmpdi|
|00003f70| 72 2f 24 75 73 65 72 2e | 24 24 22 0a 58 69 66 20 |r/$user.|$$".Xif |
|00003f80| 74 65 73 74 20 78 20 3d | 20 22 78 24 62 75 73 79 |test x =| "x$busy|
|00003f90| 22 3b 20 74 68 65 6e 0a | 58 09 73 65 74 20 22 45 |"; then.|X.set "E|
|00003fa0| 52 52 4f 52 20 6d 61 69 | 6c 61 67 65 6e 74 20 66 |RROR mai|lagent f|
|00003fb0| 61 69 6c 65 64 2c 20 6d | 61 69 6c 20 6c 65 66 74 |ailed, m|ail left|
|00003fc0| 20 69 6e 20 24 74 65 6d | 70 22 0a 58 09 72 6d 20 | in $tem|p".X.rm |
|00003fd0| 2d 66 20 24 73 70 6f 6f | 6c 2f 66 69 6c 74 65 72 |-f $spoo|l/filter|
|00003fe0| 2e 6c 6f 63 6b 0a 58 65 | 6c 73 65 0a 58 09 73 65 |.lock.Xe|lse.X.se|
|00003ff0| 74 20 22 57 41 52 4e 49 | 4e 47 20 66 69 6c 74 65 |t "WARNI|NG filte|
|00004000| 72 20 62 75 73 79 2c 20 | 6d 61 69 6c 20 6c 65 66 |r busy, |mail lef|
|00004010| 74 20 69 6e 20 24 74 65 | 6d 70 22 0a 58 66 69 0a |t in $te|mp".Xfi.|
|00004020| 58 65 76 61 6c 20 24 61 | 64 64 6c 6f 67 0a 58 0a |Xeval $a|ddlog.X.|
|00004030| 58 23 20 47 69 76 65 20 | 74 68 65 20 6d 61 69 6c |X# Give |the mail|
|00004040| 61 67 65 6e 74 20 61 20 | 63 6c 75 65 20 61 73 20 |agent a |clue as |
|00004050| 74 6f 20 77 68 65 72 65 | 20 74 68 65 20 6d 61 69 |to where| the mai|
|00004060| 6c 20 68 61 73 20 62 65 | 65 6e 20 73 74 6f 72 65 |l has be|en store|
|00004070| 64 2e 20 41 73 20 74 68 | 69 73 0a 58 23 20 73 68 |d. As th|is.X# sh|
|00004080| 6f 75 6c 64 20 62 65 20 | 76 65 72 79 20 76 65 72 |ould be |very ver|
|00004090| 79 20 75 6e 6c 69 6b 65 | 6c 79 2c 20 6e 6f 20 74 |y unlike|ly, no t|
|000040a0| 65 73 74 20 69 73 20 64 | 6f 6e 65 20 74 6f 20 73 |est is d|one to s|
|000040b0| 65 65 20 77 68 65 74 68 | 65 72 20 61 20 6d 61 69 |ee wheth|er a mai|
|000040c0| 6c 61 67 65 6e 74 0a 58 | 23 20 69 73 20 61 6c 72 |lagent.X|# is alr|
|000040d0| 65 61 64 79 20 75 70 64 | 61 74 69 6e 67 20 74 68 |eady upd|ating th|
|000040e0| 65 20 61 67 65 6e 74 2e | 77 61 69 74 20 66 69 6c |e agent.|wait fil|
|000040f0| 65 2e 20 54 68 65 20 77 | 6f 72 73 65 20 74 68 61 |e. The w|orse tha|
|00004100| 74 20 63 6f 75 6c 64 20 | 72 65 73 75 6c 74 20 66 |t could |result f|
|00004110| 72 6f 6d 0a 58 23 20 74 | 68 69 73 20 73 68 61 6c |rom.X# t|his shal|
|00004120| 6c 6f 77 6e 65 73 73 20 | 77 6f 75 6c 64 20 62 65 |lowness |would be|
|00004130| 20 68 61 76 69 6e 67 20 | 61 6e 20 75 6e 70 72 6f | having |an unpro|
|00004140| 63 65 73 73 65 64 20 6d | 61 69 6c 2e 0a 58 75 6d |cessed m|ail..Xum|
|00004150| 61 73 6b 20 30 37 37 0a | 58 73 65 74 20 27 57 41 |ask 077.|Xset 'WA|
|00004160| 52 4e 49 4e 47 20 6d 61 | 69 6c 61 67 65 6e 74 20 |RNING ma|ilagent |
|00004170| 69 67 6e 6f 72 65 73 20 | 77 68 65 72 65 20 6d 61 |ignores |where ma|
|00004180| 69 6c 20 77 61 73 20 6c | 65 66 74 27 0a 58 69 66 |il was l|eft'.Xif|
|00004190| 20 2f 62 69 6e 2f 65 63 | 68 6f 20 22 24 74 65 6d | /bin/ec|ho "$tem|
|000041a0| 70 22 20 3e 3e 20 24 71 | 75 65 75 65 2f 61 67 65 |p" >> $q|ueue/age|
|000041b0| 6e 74 2e 77 61 69 74 3b | 20 74 68 65 6e 0a 58 09 |nt.wait;| then.X.|
|000041c0| 69 66 20 67 72 65 70 20 | 22 24 74 65 6d 70 22 20 |if grep |"$temp" |
|000041d0| 24 71 75 65 75 65 2f 61 | 67 65 6e 74 2e 77 61 69 |$queue/a|gent.wai|
|000041e0| 74 20 3e 2f 64 65 76 2f | 6e 75 6c 6c 20 32 3e 26 |t >/dev/|null 2>&|
|000041f0| 31 3b 20 74 68 65 6e 0a | 58 09 09 73 65 74 20 22 |1; then.|X..set "|
|00004200| 4e 4f 54 49 43 45 20 24 | 74 65 6d 70 20 6d 65 6d |NOTICE $|temp mem|
|00004210| 6f 72 69 7a 65 64 20 69 | 6e 74 6f 20 61 67 65 6e |orized i|nto agen|
|00004220| 74 2e 77 61 69 74 22 0a | 58 09 66 69 0a 58 66 69 |t.wait".|X.fi.Xfi|
|00004230| 0a 58 65 76 61 6c 20 24 | 61 64 64 6c 6f 67 0a 58 |.Xeval $|addlog.X|
|00004240| 72 6d 20 2d 66 20 24 71 | 74 65 6d 70 0a 58 0a 58 |rm -f $q|temp.X.X|
|00004250| 23 20 41 74 74 65 6d 70 | 74 20 61 6e 20 65 6d 65 |# Attemp|t an eme|
|00004260| 72 67 65 6e 63 79 20 73 | 61 76 69 6e 67 0a 58 65 |rgency s|aving.Xe|
|00004270| 76 61 6c 20 24 73 61 76 | 65 72 0a 58 65 78 69 74 |val $sav|er.Xexit|
|00004280| 20 30 0a 58 29 20 26 0a | 58 0a 58 23 20 44 65 6c | 0.X) &.|X.X# Del|
|00004290| 69 76 65 72 79 20 77 61 | 73 20 6f 6b 20 2d 2d 20 |ivery wa|s ok -- |
|000042a0| 66 6f 72 20 73 65 6e 64 | 6d 61 69 6c 0a 58 65 78 |for send|mail.Xex|
|000042b0| 69 74 20 30 0a 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |it 0.END|_OF_FILE|
|000042c0| 0a 20 20 69 66 20 74 65 | 73 74 20 37 34 35 33 20 |. if te|st 7453 |
|000042d0| 2d 6e 65 20 60 77 63 20 | 2d 63 20 3c 27 61 67 65 |-ne `wc |-c <'age|
|000042e0| 6e 74 2f 66 69 6c 65 73 | 2f 66 69 6c 74 65 72 2e |nt/files|/filter.|
|000042f0| 73 68 27 60 3b 20 74 68 | 65 6e 0a 20 20 20 20 65 |sh'`; th|en. e|
|00004300| 63 68 6f 20 73 68 61 72 | 3a 20 5c 22 27 61 67 65 |cho shar|: \"'age|
|00004310| 6e 74 2f 66 69 6c 65 73 | 2f 66 69 6c 74 65 72 2e |nt/files|/filter.|
|00004320| 73 68 27 5c 22 20 75 6e | 70 61 63 6b 65 64 20 77 |sh'\" un|packed w|
|00004330| 69 74 68 20 77 72 6f 6e | 67 20 73 69 7a 65 21 0a |ith wron|g size!.|
|00004340| 20 20 66 69 0a 20 20 63 | 68 6d 6f 64 20 2b 78 20 | fi. c|hmod +x |
|00004350| 27 61 67 65 6e 74 2f 66 | 69 6c 65 73 2f 66 69 6c |'agent/f|iles/fil|
|00004360| 74 65 72 2e 73 68 27 0a | 20 20 23 20 65 6e 64 20 |ter.sh'.| # end |
|00004370| 6f 66 20 27 61 67 65 6e | 74 2f 66 69 6c 65 73 2f |of 'agen|t/files/|
|00004380| 66 69 6c 74 65 72 2e 73 | 68 27 0a 66 69 0a 69 66 |filter.s|h'.fi.if|
|00004390| 20 74 65 73 74 20 2d 66 | 20 27 61 67 65 6e 74 2f | test -f| 'agent/|
|000043a0| 66 69 6c 74 65 72 2f 4d | 61 6b 65 66 69 6c 65 2e |filter/M|akefile.|
|000043b0| 53 48 27 20 2d 61 20 22 | 24 7b 31 7d 22 20 21 3d |SH' -a "|${1}" !=|
|000043c0| 20 22 2d 63 22 20 3b 20 | 74 68 65 6e 20 0a 20 20 | "-c" ; |then . |
|000043d0| 65 63 68 6f 20 73 68 61 | 72 3a 20 57 69 6c 6c 20 |echo sha|r: Will |
|000043e0| 6e 6f 74 20 63 6c 6f 62 | 62 65 72 20 65 78 69 73 |not clob|ber exis|
|000043f0| 74 69 6e 67 20 66 69 6c | 65 20 5c 22 27 61 67 65 |ting fil|e \"'age|
|00004400| 6e 74 2f 66 69 6c 74 65 | 72 2f 4d 61 6b 65 66 69 |nt/filte|r/Makefi|
|00004410| 6c 65 2e 53 48 27 5c 22 | 0a 65 6c 73 65 0a 20 20 |le.SH'\"|.else. |
|00004420| 65 63 68 6f 20 73 68 61 | 72 3a 20 45 78 74 72 61 |echo sha|r: Extra|
|00004430| 63 74 69 6e 67 20 5c 22 | 27 61 67 65 6e 74 2f 66 |cting \"|'agent/f|
|00004440| 69 6c 74 65 72 2f 4d 61 | 6b 65 66 69 6c 65 2e 53 |ilter/Ma|kefile.S|
|00004450| 48 27 5c 22 20 5c 28 34 | 38 30 37 20 63 68 61 72 |H'\" \(4|807 char|
|00004460| 61 63 74 65 72 73 5c 29 | 0a 20 20 73 65 64 20 22 |acters\)|. sed "|
|00004470| 73 2f 5e 58 2f 2f 22 20 | 3e 27 61 67 65 6e 74 2f |s/^X//" |>'agent/|
|00004480| 66 69 6c 74 65 72 2f 4d | 61 6b 65 66 69 6c 65 2e |filter/M|akefile.|
|00004490| 53 48 27 20 3c 3c 27 45 | 4e 44 5f 4f 46 5f 46 49 |SH' <<'E|ND_OF_FI|
|000044a0| 4c 45 27 0a 58 3a 20 4d | 61 6b 65 66 69 6c 65 2e |LE'.X: M|akefile.|
|000044b0| 53 48 20 67 65 6e 65 72 | 61 74 65 64 20 66 72 6f |SH gener|ated fro|
|000044c0| 6d 20 4a 6d 61 6b 65 2e | 74 6d 70 6c 20 61 6e 64 |m Jmake.|tmpl and|
|000044d0| 20 4a 6d 61 6b 65 66 69 | 6c 65 20 5b 6a 6d 61 6b | Jmakefi|le [jmak|
|000044e0| 65 20 32 2e 38 20 50 4c | 31 33 5d 0a 58 3a 20 24 |e 2.8 PL|13].X: $|
|000044f0| 58 2d 49 64 3a 20 4a 6d | 61 6b 65 2e 74 6d 70 6c |X-Id: Jm|ake.tmpl|
|00004500| 2c 76 20 32 2e 38 2e 31 | 2e 32 20 39 31 2f 31 31 |,v 2.8.1|.2 91/11|
|00004510| 2f 31 38 20 31 33 3a 32 | 32 3a 35 34 20 72 61 6d |/18 13:2|2:54 ram|
|00004520| 20 45 78 70 20 24 0a 58 | 0a 58 63 61 73 65 20 24 | Exp $.X|.Xcase $|
|00004530| 43 4f 4e 46 49 47 20 69 | 6e 0a 58 27 27 29 0a 58 |CONFIG i|n.X'').X|
|00004540| 09 69 66 20 74 65 73 74 | 20 21 20 2d 66 20 63 6f |.if test| ! -f co|
|00004550| 6e 66 69 67 2e 73 68 3b | 20 74 68 65 6e 0a 58 09 |nfig.sh;| then.X.|
|00004560| 09 6c 6e 20 2e 2e 2f 63 | 6f 6e 66 69 67 2e 73 68 |.ln ../c|onfig.sh|
|00004570| 20 2e 20 7c 7c 20 5c 0a | 58 09 09 6c 6e 20 2e 2e | . || \.|X..ln ..|
|00004580| 2f 2e 2e 2f 63 6f 6e 66 | 69 67 2e 73 68 20 2e 20 |/../conf|ig.sh . |
|00004590| 7c 7c 20 5c 0a 58 09 09 | 6c 6e 20 2e 2e 2f 2e 2e ||| \.X..|ln ../..|
|000045a0| 2f 2e 2e 2f 63 6f 6e 66 | 69 67 2e 73 68 20 2e 20 |/../conf|ig.sh . |
|000045b0| 7c 7c 20 5c 0a 58 09 09 | 28 65 63 68 6f 20 22 43 ||| \.X..|(echo "C|
|000045c0| 61 6e 27 74 20 66 69 6e | 64 20 63 6f 6e 66 69 67 |an't fin|d config|
|000045d0| 2e 73 68 2e 22 3b 20 65 | 78 69 74 20 31 29 0a 58 |.sh."; e|xit 1).X|
|000045e0| 09 66 69 20 32 3e 2f 64 | 65 76 2f 6e 75 6c 6c 0a |.fi 2>/d|ev/null.|
|000045f0| 58 09 2e 20 2e 2f 63 6f | 6e 66 69 67 2e 73 68 0a |X.. ./co|nfig.sh.|
|00004600| 58 09 3b 3b 0a 58 65 73 | 61 63 0a 58 63 61 73 65 |X.;;.Xes|ac.Xcase|
|00004610| 20 22 24 30 22 20 69 6e | 0a 58 2a 2f 2a 29 20 63 | "$0" in|.X*/*) c|
|00004620| 64 20 60 65 78 70 72 20 | 58 24 30 20 3a 20 27 58 |d `expr |X$0 : 'X|
|00004630| 5c 28 2e 2a 5c 29 2f 27 | 60 20 3b 3b 0a 58 65 73 |\(.*\)/'|` ;;.Xes|
|00004640| 61 63 0a 58 43 55 52 52 | 45 4e 54 3d 61 67 65 6e |ac.XCURR|ENT=agen|
|00004650| 74 2f 66 69 6c 74 65 72 | 0a 58 44 49 52 3d 60 65 |t/filter|.XDIR=`e|
|00004660| 63 68 6f 20 24 43 55 52 | 52 45 4e 54 2f 20 7c 20 |cho $CUR|RENT/ | |
|00004670| 73 65 64 20 2d 65 20 27 | 73 2f 5c 2e 5c 2f 2f 2f |sed -e '|s/\.\///|
|00004680| 67 27 60 0a 58 65 63 68 | 6f 20 22 45 78 74 72 61 |g'`.Xech|o "Extra|
|00004690| 63 74 69 6e 67 20 24 7b | 44 49 52 7d 4d 61 6b 65 |cting ${|DIR}Make|
|000046a0| 66 69 6c 65 20 28 77 69 | 74 68 20 76 61 72 69 61 |file (wi|th varia|
|000046b0| 62 6c 65 20 73 75 62 73 | 74 69 74 75 74 69 6f 6e |ble subs|titution|
|000046c0| 73 29 22 0a 58 44 41 54 | 45 3d 60 64 61 74 65 60 |s)".XDAT|E=`date`|
|000046d0| 0a 58 24 73 70 69 74 73 | 68 65 6c 6c 20 3e 4d 61 |.X$spits|hell >Ma|
|000046e0| 6b 65 66 69 6c 65 20 3c | 3c 21 47 52 4f 4b 21 54 |kefile <|<!GROK!T|
|000046f0| 48 49 53 21 0a 58 23 23 | 23 23 23 23 23 23 23 23 |HIS!.X##|########|
|00004700| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004710| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004720| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004730| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 0a 58 |########|######.X|
|00004740| 23 20 4d 61 6b 65 66 69 | 6c 65 20 67 65 6e 65 72 |# Makefi|le gener|
|00004750| 61 74 65 64 20 66 72 6f | 6d 20 4d 61 6b 65 66 69 |ated fro|m Makefi|
|00004760| 6c 65 2e 53 48 20 6f 6e | 20 24 44 41 54 45 0a 58 |le.SH on| $DATE.X|
|00004770| 0a 58 53 48 45 4c 4c 20 | 3d 20 2f 62 69 6e 2f 73 |.XSHELL |= /bin/s|
|00004780| 68 0a 58 4a 4d 41 4b 45 | 20 3d 20 6a 6d 61 6b 65 |h.XJMAKE| = jmake|
|00004790| 0a 58 54 4f 50 20 3d 20 | 2e 2e 2f 2e 2e 0a 58 43 |.XTOP = |../...XC|
|000047a0| 55 52 52 45 4e 54 20 3d | 20 24 43 55 52 52 45 4e |URRENT =| $CURREN|
|000047b0| 54 0a 58 44 49 52 20 3d | 20 24 44 49 52 0a 58 49 |T.XDIR =| $DIR.XI|
|000047c0| 4e 53 54 41 4c 4c 20 3d | 20 2e 2e 2f 2e 2e 2f 69 |NSTALL =| ../../i|
|000047d0| 6e 73 74 61 6c 6c 0a 58 | 0a 58 23 23 23 23 23 23 |nstall.X|.X######|
|000047e0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000047f0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004800| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004810| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004820| 23 23 0a 58 23 20 50 61 | 72 61 6d 65 74 65 72 73 |##.X# Pa|rameters|
|00004830| 20 73 65 74 20 62 79 20 | 43 6f 6e 66 69 67 75 72 | set by |Configur|
|00004840| 65 20 2d 2d 20 65 64 69 | 74 20 63 6f 6e 66 69 67 |e -- edi|t config|
|00004850| 2e 73 68 20 69 66 20 63 | 68 61 6e 67 65 73 20 61 |.sh if c|hanges a|
|00004860| 72 65 20 6e 65 65 64 65 | 64 0a 58 0a 58 43 43 20 |re neede|d.X.XCC |
|00004870| 3d 20 24 63 63 0a 58 43 | 54 41 47 53 20 3d 20 63 |= $cc.XC|TAGS = c|
|00004880| 74 61 67 73 0a 58 4a 43 | 46 4c 41 47 53 20 3d 20 |tags.XJC|FLAGS = |
|00004890| 24 28 43 46 4c 41 47 53 | 29 20 24 6f 70 74 69 6d |$(CFLAGS|) $optim|
|000048a0| 69 7a 65 20 24 63 63 66 | 6c 61 67 73 20 24 6c 61 |ize $ccf|lags $la|
|000048b0| 72 67 65 0a 58 4a 4c 44 | 46 4c 41 47 53 20 3d 20 |rge.XJLD|FLAGS = |
|000048c0| 24 28 4c 44 46 4c 41 47 | 53 29 20 24 6f 70 74 69 |$(LDFLAG|S) $opti|
|000048d0| 6d 69 7a 65 20 24 6c 64 | 66 6c 61 67 73 0a 58 4c |mize $ld|flags.XL|
|000048e0| 49 42 53 20 3d 20 24 6c | 69 62 73 0a 58 4d 41 4b |IBS = $l|ibs.XMAK|
|000048f0| 45 20 3d 20 6d 61 6b 65 | 0a 58 4d 4b 44 45 50 20 |E = make|.XMKDEP |
|00004900| 3d 20 24 6d 6b 64 65 70 | 20 24 28 44 50 46 4c 41 |= $mkdep| $(DPFLA|
|00004910| 47 53 29 20 2d 2d 0a 58 | 4d 56 20 3d 20 24 6d 76 |GS) --.X|MV = $mv|
|00004920| 0a 58 50 52 49 56 4c 49 | 42 20 3d 20 24 70 72 69 |.XPRIVLI|B = $pri|
|00004930| 76 6c 69 62 0a 58 52 4d | 20 3d 20 24 72 6d 20 2d |vlib.XRM| = $rm -|
|00004940| 66 0a 58 53 45 44 20 3d | 20 24 73 65 64 0a 58 0a |f.XSED =| $sed.X.|
|00004950| 58 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |X#######|########|
|00004960| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004970| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004980| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004990| 23 23 23 23 23 23 23 23 | 23 0a 58 23 20 41 75 74 |########|#.X# Aut|
|000049a0| 6f 6d 61 74 69 63 61 6c | 6c 79 20 67 65 6e 65 72 |omatical|ly gener|
|000049b0| 61 74 65 64 20 70 61 72 | 61 6d 65 74 65 72 73 20 |ated par|ameters |
|000049c0| 2d 2d 20 64 6f 20 6e 6f | 74 20 65 64 69 74 0a 58 |-- do no|t edit.X|
|000049d0| 0a 58 53 4f 55 52 43 45 | 53 20 3d 20 20 5c 24 28 |.XSOURCE|S = \$(|
|000049e0| 53 52 43 29 0a 58 4f 42 | 4a 45 43 54 53 20 3d 20 |SRC).XOB|JECTS = |
|000049f0| 20 5c 24 28 4f 42 4a 29 | 0a 58 0a 58 23 23 23 23 | \$(OBJ)|.X.X####|
|00004a00| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004a10| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004a20| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004a30| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004a40| 23 23 23 23 0a 58 23 20 | 4e 65 77 20 73 75 66 66 |####.X# |New suff|
|00004a50| 69 78 65 73 20 61 6e 64 | 20 61 73 73 6f 63 69 61 |ixes and| associa|
|00004a60| 74 65 64 20 62 75 69 6c | 64 69 6e 67 20 72 75 6c |ted buil|ding rul|
|00004a70| 65 73 20 2d 2d 20 65 64 | 69 74 20 77 69 74 68 20 |es -- ed|it with |
|00004a80| 63 61 72 65 0a 58 0a 58 | 2e 63 2e 6f 3a 0a 58 09 |care.X.X|.c.o:.X.|
|00004a90| 5c 24 28 43 43 29 20 2d | 63 20 5c 24 28 4a 43 46 |\$(CC) -|c \$(JCF|
|00004aa0| 4c 41 47 53 29 20 5c 24 | 3c 0a 58 0a 58 21 47 52 |LAGS) \$|<.X.X!GR|
|00004ab0| 4f 4b 21 54 48 49 53 21 | 0a 58 24 73 70 69 74 73 |OK!THIS!|.X$spits|
|00004ac0| 68 65 6c 6c 20 3e 3e 4d | 61 6b 65 66 69 6c 65 20 |hell >>M|akefile |
|00004ad0| 3c 3c 27 21 4e 4f 21 53 | 55 42 53 21 27 0a 58 0a |<<'!NO!S|UBS!'.X.|
|00004ae0| 58 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |X#######|########|
|00004af0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004b00| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004b10| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004b20| 23 23 23 23 23 23 23 23 | 23 0a 58 23 20 4a 6d 61 |########|#.X# Jma|
|00004b30| 6b 65 20 72 75 6c 65 73 | 20 66 6f 72 20 62 75 69 |ke rules| for bui|
|00004b40| 6c 64 69 6e 67 20 6c 69 | 62 72 61 72 69 65 73 2c |lding li|braries,|
|00004b50| 20 70 72 6f 67 72 61 6d | 73 2c 20 73 63 72 69 70 | program|s, scrip|
|00004b60| 74 73 2c 20 61 6e 64 20 | 64 61 74 61 20 66 69 6c |ts, and |data fil|
|00004b70| 65 73 0a 58 23 20 24 58 | 2d 49 64 3a 20 4a 6d 61 |es.X# $X|-Id: Jma|
|00004b80| 6b 65 2e 72 75 6c 65 73 | 2c 76 20 32 2e 38 2e 31 |ke.rules|,v 2.8.1|
|00004b90| 2e 34 20 39 31 2f 31 31 | 2f 31 38 20 31 33 3a 31 |.4 91/11|/18 13:1|
|00004ba0| 39 3a 30 37 20 72 61 6d | 20 45 78 70 20 24 0a 58 |9:07 ram| Exp $.X|
|00004bb0| 0a 58 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |.X######|########|
|00004bc0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004bd0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004be0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004bf0| 23 23 23 23 23 23 23 23 | 23 23 0a 58 23 20 46 6f |########|##.X# Fo|
|00004c00| 72 63 65 20 27 6d 61 6b | 65 20 64 65 70 65 6e 64 |rce 'mak|e depend|
|00004c10| 27 20 74 6f 20 62 65 20 | 70 65 72 66 6f 72 6d 65 |' to be |performe|
|00004c20| 64 20 66 69 72 73 74 20 | 2d 2d 20 64 6f 20 6e 6f |d first |-- do no|
|00004c30| 74 20 65 64 69 74 0a 58 | 0a 58 2e 46 4f 52 43 45 |t edit.X|.X.FORCE|
|00004c40| 5f 44 45 50 45 4e 44 3a | 3a 0a 58 0a 58 61 6c 6c |_DEPEND:|:.X.Xall|
|00004c50| 3a 3a 20 2e 46 4f 52 43 | 45 5f 44 45 50 45 4e 44 |:: .FORC|E_DEPEND|
|00004c60| 0a 58 0a 58 23 23 23 23 | 23 23 23 23 23 23 23 23 |.X.X####|########|
|00004c70| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004c80| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004c90| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004ca0| 23 23 23 23 23 23 23 23 | 23 23 23 23 0a 58 23 20 |########|####.X# |
|00004cb0| 53 74 61 72 74 20 6f 66 | 20 4a 6d 61 6b 65 66 69 |Start of| Jmakefi|
|00004cc0| 6c 65 0a 58 0a 58 23 20 | 24 58 2d 49 64 3a 20 4a |le.X.X# |$X-Id: J|
|00004cd0| 6d 61 6b 65 66 69 6c 65 | 2c 76 20 32 2e 39 20 39 |makefile|,v 2.9 9|
|00004ce0| 32 2f 30 37 2f 31 34 20 | 31 38 3a 34 31 3a 31 30 |2/07/14 |18:41:10|
|00004cf0| 20 72 61 6d 20 45 78 70 | 20 24 0a 58 23 0a 58 23 | ram Exp| $.X#.X#|
|00004d00| 20 20 43 6f 70 79 72 69 | 67 68 74 20 28 63 29 20 | Copyri|ght (c) |
|00004d10| 31 39 39 31 2c 20 52 61 | 70 68 61 65 6c 20 4d 61 |1991, Ra|phael Ma|
|00004d20| 6e 66 72 65 64 69 0a 58 | 23 0a 58 23 20 20 59 6f |nfredi.X|#.X# Yo|
|00004d30| 75 20 6d 61 79 20 72 65 | 64 69 73 74 72 69 62 75 |u may re|distribu|
|00004d40| 74 65 20 6f 6e 6c 79 20 | 75 6e 64 65 72 20 74 68 |te only |under th|
|00004d50| 65 20 74 65 72 6d 73 20 | 6f 66 20 74 68 65 20 47 |e terms |of the G|
|00004d60| 4e 55 20 47 65 6e 65 72 | 61 6c 20 50 75 62 6c 69 |NU Gener|al Publi|
|00004d70| 63 0a 58 23 20 20 4c 69 | 63 65 6e 63 65 20 61 73 |c.X# Li|cence as|
|00004d80| 20 73 70 65 63 69 66 69 | 65 64 20 69 6e 20 74 68 | specifi|ed in th|
|00004d90| 65 20 52 45 41 44 4d 45 | 20 66 69 6c 65 20 74 68 |e README| file th|
|00004da0| 61 74 20 63 6f 6d 65 73 | 20 77 69 74 68 20 64 69 |at comes| with di|
|00004db0| 73 74 2e 0a 58 23 0a 58 | 23 20 24 58 2d 4c 6f 67 |st..X#.X|# $X-Log|
|00004dc0| 3a 09 4a 6d 61 6b 65 66 | 69 6c 65 2c 76 20 24 0a |:.Jmakef|ile,v $.|
|00004dd0| 58 23 20 52 65 76 69 73 | 69 6f 6e 20 32 2e 39 20 |X# Revis|ion 2.9 |
|00004de0| 20 39 32 2f 30 37 2f 31 | 34 20 20 31 38 3a 34 31 | 92/07/1|4 18:41|
|00004df0| 3a 31 30 20 20 72 61 6d | 0a 58 23 20 33 2e 30 20 |:10 ram|.X# 3.0 |
|00004e00| 62 65 74 61 20 62 61 73 | 65 6c 69 6e 65 2e 0a 58 |beta bas|eline..X|
|00004e10| 23 0a 58 0a 58 23 20 46 | 69 6c 65 73 20 75 73 65 |#.X.X# F|iles use|
|00004e20| 64 20 74 6f 20 62 75 69 | 6c 64 20 74 68 65 20 61 |d to bui|ld the a|
|00004e30| 70 70 6c 69 63 61 74 69 | 6f 6e 0a 58 53 52 43 20 |pplicati|on.XSRC |
|00004e40| 3d 20 65 6e 76 69 72 6f | 6e 2e 63 20 68 61 73 68 |= enviro|n.c hash|
|00004e50| 2e 63 20 69 6f 2e 63 20 | 6c 6f 63 6b 2e 63 20 6c |.c io.c |lock.c l|
|00004e60| 6f 67 66 69 6c 65 2e 63 | 20 6d 61 69 6e 2e 63 20 |ogfile.c| main.c |
|00004e70| 6d 69 73 63 2e 63 20 6d | 73 67 2e 63 20 70 61 72 |misc.c m|sg.c par|
|00004e80| 73 65 72 2e 63 20 5c 0a | 58 09 75 73 65 72 2e 63 |ser.c \.|X.user.c|
|00004e90| 0a 58 0a 58 23 20 44 65 | 72 69 76 65 64 20 6f 62 |.X.X# De|rived ob|
|00004ea0| 6a 65 63 74 20 66 69 6c | 65 20 6e 61 6d 65 73 0a |ject fil|e names.|
|00004eb0| 58 4f 42 4a 20 3d 20 5c | 0a 58 09 65 6e 76 69 72 |XOBJ = \|.X.envir|
|00004ec0| 6f 6e 2e 6f 20 5c 0a 58 | 09 68 61 73 68 2e 6f 20 |on.o \.X|.hash.o |
|00004ed0| 5c 0a 58 09 69 6f 2e 6f | 20 5c 0a 58 09 6c 6f 63 |\.X.io.o| \.X.loc|
|00004ee0| 6b 2e 6f 20 5c 0a 58 09 | 6c 6f 67 66 69 6c 65 2e |k.o \.X.|logfile.|
|00004ef0| 6f 20 5c 0a 58 09 6d 61 | 69 6e 2e 6f 20 5c 0a 58 |o \.X.ma|in.o \.X|
|00004f00| 09 6d 69 73 63 2e 6f 20 | 5c 0a 58 09 6d 73 67 2e |.misc.o |\.X.msg.|
|00004f10| 6f 20 5c 0a 58 09 70 61 | 72 73 65 72 2e 6f 20 5c |o \.X.pa|rser.o \|
|00004f20| 0a 58 09 75 73 65 72 2e | 6f 20 0a 58 0a 58 23 20 |.X.user.|o .X.X# |
|00004f30| 46 69 6c 65 20 63 6f 6e | 66 69 67 2e 68 20 69 73 |File con|fig.h is|
|00004f40| 20 69 6e 20 74 68 65 20 | 74 6f 70 2d 6c 65 76 65 | in the |top-leve|
|00004f50| 6c 20 64 69 72 65 63 74 | 6f 72 79 0a 58 43 46 4c |l direct|ory.XCFL|
|00004f60| 41 47 53 20 3d 20 2d 49 | 24 28 54 4f 50 29 0a 58 |AGS = -I|$(TOP).X|
|00004f70| 44 50 46 4c 41 47 53 20 | 3d 20 2d 49 24 28 54 4f |DPFLAGS |= -I$(TO|
|00004f80| 50 29 0a 58 0a 58 64 65 | 70 65 6e 64 3a 3a 20 2e |P).X.Xde|pend:: .|
|00004f90| 2e 2f 2e 2e 2f 6d 6b 64 | 65 70 0a 58 0a 58 2e 2e |./../mkd|ep.X.X..|
|00004fa0| 2f 2e 2e 2f 6d 6b 64 65 | 70 3a 0a 58 09 40 65 63 |/../mkde|p:.X.@ec|
|00004fb0| 68 6f 20 22 59 6f 75 20 | 68 61 76 65 20 74 6f 20 |ho "You |have to |
|00004fc0| 72 75 6e 20 43 6f 6e 66 | 69 67 75 72 65 20 69 6e |run Conf|igure in|
|00004fd0| 20 24 28 54 4f 50 29 20 | 66 69 72 73 74 2e 22 3b | $(TOP) |first.";|
|00004fe0| 20 65 78 69 74 20 31 0a | 58 0a 58 64 65 70 65 6e | exit 1.|X.Xdepen|
|00004ff0| 64 3a 3a 0a 58 09 28 24 | 28 53 45 44 29 20 27 2f |d::.X.($|(SED) '/|
|00005000| 5e 23 20 44 4f 20 4e 4f | 54 20 44 45 4c 45 54 45 |^# DO NO|T DELETE|
|00005010| 2f 71 27 20 4d 61 6b 65 | 66 69 6c 65 20 26 26 20 |/q' Make|file && |
|00005020| 5c 0a 58 09 24 28 4d 4b | 44 45 50 29 20 24 28 53 |\.X.$(MK|DEP) $(S|
|00005030| 4f 55 52 43 45 53 29 20 | 7c 20 5c 0a 58 09 24 28 |OURCES) || \.X.$(|
|00005040| 53 45 44 29 20 27 73 2f | 3a 20 5c 2e 5c 2f 2f 3a |SED) 's/|: \.\//:|
|00005050| 20 2f 3b 20 2f 5c 2f 75 | 73 72 5c 2f 69 6e 63 6c | /; /\/u|sr\/incl|
|00005060| 75 64 65 2f 64 27 20 5c | 0a 58 09 29 20 3e 20 4d |ude/d' \|.X.) > M|
|00005070| 61 6b 65 66 69 6c 65 2e | 6e 65 77 0a 58 09 63 70 |akefile.|new.X.cp|
|00005080| 20 4d 61 6b 65 66 69 6c | 65 20 4d 61 6b 65 66 69 | Makefil|e Makefi|
|00005090| 6c 65 2e 62 61 6b 0a 58 | 09 63 70 20 4d 61 6b 65 |le.bak.X|.cp Make|
|000050a0| 66 69 6c 65 2e 6e 65 77 | 20 4d 61 6b 65 66 69 6c |file.new| Makefil|
|000050b0| 65 0a 58 09 24 28 52 4d | 29 20 4d 61 6b 65 66 69 |e.X.$(RM|) Makefi|
|000050c0| 6c 65 2e 6e 65 77 0a 58 | 0a 58 61 6c 6c 3a 3a 20 |le.new.X|.Xall:: |
|000050d0| 66 69 6c 74 65 72 0a 58 | 0a 58 6c 6f 63 61 6c 5f |filter.X|.Xlocal_|
|000050e0| 72 65 61 6c 63 6c 65 61 | 6e 3a 3a 0a 58 09 24 28 |realclea|n::.X.$(|
|000050f0| 52 4d 29 20 66 69 6c 74 | 65 72 0a 58 0a 58 66 69 |RM) filt|er.X.Xfi|
|00005100| 6c 74 65 72 3a 20 24 28 | 4f 42 4a 29 0a 58 09 24 |lter: $(|OBJ).X.$|
|00005110| 28 52 4d 29 20 24 40 0a | 58 09 69 66 20 74 65 73 |(RM) $@.|X.if tes|
|00005120| 74 20 2d 66 20 24 40 3b | 20 74 68 65 6e 20 24 28 |t -f $@;| then $(|
|00005130| 4d 56 29 20 24 40 20 24 | 40 7e 3b 20 65 6c 73 65 |MV) $@ $|@~; else|
|00005140| 20 65 78 69 74 20 30 3b | 20 66 69 0a 58 09 24 28 | exit 0;| fi.X.$(|
|00005150| 43 43 29 20 2d 6f 20 24 | 40 20 24 28 4f 42 4a 29 |CC) -o $|@ $(OBJ)|
|00005160| 20 24 28 4a 4c 44 46 4c | 41 47 53 29 20 24 28 4c | $(JLDFL|AGS) $(L|
|00005170| 49 42 53 29 0a 58 0a 58 | 69 6e 73 74 61 6c 6c 3a |IBS).X.X|install:|
|00005180| 3a 20 66 69 6c 74 65 72 | 0a 58 09 24 28 49 4e 53 |: filter|.X.$(INS|
|00005190| 54 41 4c 4c 29 20 2d 63 | 20 2d 73 20 2d 6d 20 35 |TALL) -c| -s -m 5|
|000051a0| 35 35 20 20 66 69 6c 74 | 65 72 20 20 24 28 50 52 |55 filt|er $(PR|
|000051b0| 49 56 4c 49 42 29 0a 58 | 0a 58 64 65 69 6e 73 74 |IVLIB).X|.Xdeinst|
|000051c0| 61 6c 6c 3a 3a 0a 58 09 | 24 28 52 4d 29 20 20 24 |all::.X.|$(RM) $|
|000051d0| 28 50 52 49 56 4c 49 42 | 29 2f 66 69 6c 74 65 72 |(PRIVLIB|)/filter|
|000051e0| 0a 58 0a 58 23 23 23 23 | 23 23 23 23 23 23 23 23 |.X.X####|########|
|000051f0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00005200| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00005210| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00005220| 23 23 23 23 23 23 23 23 | 23 23 23 23 0a 58 23 20 |########|####.X# |
|00005230| 43 6f 6d 6d 6f 6e 20 72 | 75 6c 65 73 20 66 6f 72 |Common r|ules for|
|00005240| 20 61 6c 6c 20 4d 61 6b | 65 66 69 6c 65 73 20 2d | all Mak|efiles -|
|00005250| 2d 20 64 6f 20 6e 6f 74 | 20 65 64 69 74 0a 58 0a |- do not| edit.X.|
|00005260| 58 65 6d 70 74 79 72 75 | 6c 65 3a 3a 0a 58 0a 58 |Xemptyru|le::.X.X|
|00005270| 63 6c 65 61 6e 3a 20 6c | 6f 63 61 6c 5f 63 6c 65 |clean: l|ocal_cle|
|00005280| 61 6e 0a 58 72 65 61 6c | 63 6c 65 61 6e 3a 20 6c |an.Xreal|clean: l|
|00005290| 6f 63 61 6c 5f 72 65 61 | 6c 63 6c 65 61 6e 0a 58 |ocal_rea|lclean.X|
|000052a0| 63 6c 6f 62 62 65 72 3a | 20 6c 6f 63 61 6c 5f 63 |clobber:| local_c|
|000052b0| 6c 6f 62 62 65 72 0a 58 | 0a 58 6c 6f 63 61 6c 5f |lobber.X|.Xlocal_|
|000052c0| 63 6c 65 61 6e 3a 3a 0a | 58 09 24 28 52 4d 29 20 |clean::.|X.$(RM) |
|000052d0| 63 6f 72 65 20 2a 7e 20 | 2a 2e 6f 0a 58 0a 58 6c |core *~ |*.o.X.Xl|
|000052e0| 6f 63 61 6c 5f 72 65 61 | 6c 63 6c 65 61 6e 3a 3a |ocal_rea|lclean::|
|000052f0| 20 6c 6f 63 61 6c 5f 63 | 6c 65 61 6e 0a 58 0a 58 | local_c|lean.X.X|
|00005300| 6c 6f 63 61 6c 5f 63 6c | 6f 62 62 65 72 3a 3a 20 |local_cl|obber:: |
|00005310| 6c 6f 63 61 6c 5f 72 65 | 61 6c 63 6c 65 61 6e 0a |local_re|alclean.|
|00005320| 58 09 24 28 52 4d 29 20 | 4d 61 6b 65 66 69 6c 65 |X.$(RM) |Makefile|
|00005330| 20 63 6f 6e 66 69 67 2e | 73 68 0a 58 0a 58 4d 61 | config.|sh.X.XMa|
|00005340| 6b 65 66 69 6c 65 2e 53 | 48 3a 20 4a 6d 61 6b 65 |kefile.S|H: Jmake|
|00005350| 66 69 6c 65 0a 58 09 2d | 40 69 66 20 74 65 73 74 |file.X.-|@if test|
|00005360| 20 2d 66 20 24 28 54 4f | 50 29 2f 2e 70 61 63 6b | -f $(TO|P)/.pack|
|00005370| 61 67 65 3b 20 74 68 65 | 6e 20 5c 0a 58 09 09 69 |age; the|n \.X..i|
|00005380| 66 20 74 65 73 74 20 2d | 66 20 4d 61 6b 65 66 69 |f test -|f Makefi|
|00005390| 6c 65 2e 53 48 3b 20 74 | 68 65 6e 20 5c 0a 58 09 |le.SH; t|hen \.X.|
|000053a0| 09 09 65 63 68 6f 20 22 | 09 24 28 52 4d 29 20 4d |..echo "|.$(RM) M|
|000053b0| 61 6b 65 66 69 6c 65 2e | 53 48 7e 3b 20 24 28 4d |akefile.|SH~; $(M|
|000053c0| 56 29 20 4d 61 6b 65 66 | 69 6c 65 2e 53 48 20 4d |V) Makef|ile.SH M|
|000053d0| 61 6b 65 66 69 6c 65 2e | 53 48 7e 22 3b 20 5c 0a |akefile.|SH~"; \.|
|000053e0| 58 09 09 09 24 28 52 4d | 29 20 4d 61 6b 65 66 69 |X...$(RM|) Makefi|
|000053f0| 6c 65 2e 53 48 7e 3b 20 | 24 28 4d 56 29 20 4d 61 |le.SH~; |$(MV) Ma|
|00005400| 6b 65 66 69 6c 65 2e 53 | 48 20 4d 61 6b 65 66 69 |kefile.S|H Makefi|
|00005410| 6c 65 2e 53 48 7e 3b 20 | 5c 0a 58 09 09 66 69 3b |le.SH~; |\.X..fi;|
|00005420| 20 5c 0a 58 09 09 65 63 | 68 6f 20 22 09 24 28 4a | \.X..ec|ho ".$(J|
|00005430| 4d 41 4b 45 29 20 2d 44 | 54 4f 50 44 49 52 3d 24 |MAKE) -D|TOPDIR=$|
|00005440| 28 54 4f 50 29 20 2d 44 | 43 55 52 44 49 52 3d 24 |(TOP) -D|CURDIR=$|
|00005450| 28 43 55 52 52 45 4e 54 | 29 22 20 3b 20 5c 0a 58 |(CURRENT|)" ; \.X|
|00005460| 09 09 24 28 4a 4d 41 4b | 45 29 20 2d 44 54 4f 50 |..$(JMAK|E) -DTOP|
|00005470| 44 49 52 3d 24 28 54 4f | 50 29 20 2d 44 43 55 52 |DIR=$(TO|P) -DCUR|
|00005480| 44 49 52 3d 24 28 43 55 | 52 52 45 4e 54 29 20 3b |DIR=$(CU|RRENT) ;|
|00005490| 20 5c 0a 58 09 65 6c 73 | 65 20 74 6f 75 63 68 20 | \.X.els|e touch |
|000054a0| 24 40 3b 20 65 78 69 74 | 20 30 3b 20 66 69 0a 58 |$@; exit| 0; fi.X|
|000054b0| 0a 58 4d 61 6b 65 66 69 | 6c 65 3a 20 4d 61 6b 65 |.XMakefi|le: Make|
|000054c0| 66 69 6c 65 2e 53 48 0a | 58 09 2f 62 69 6e 2f 73 |file.SH.|X./bin/s|
|000054d0| 68 20 4d 61 6b 65 66 69 | 6c 65 2e 53 48 0a 58 0a |h Makefi|le.SH.X.|
|000054e0| 58 74 61 67 73 3a 3a 0a | 58 09 24 28 43 54 41 47 |Xtags::.|X.$(CTAG|
|000054f0| 53 29 20 2d 77 20 2a 2e | 5b 63 68 5d 0a 58 09 24 |S) -w *.|[ch].X.$|
|00005500| 28 43 54 41 47 53 29 20 | 2d 78 77 20 2a 2e 5b 63 |(CTAGS) |-xw *.[c|
|00005510| 68 5d 20 3e 20 74 61 67 | 73 0a 58 0a 58 6c 6f 63 |h] > tag|s.X.Xloc|
|00005520| 61 6c 5f 63 6c 6f 62 62 | 65 72 3a 3a 0a 58 09 24 |al_clobb|er::.X.$|
|00005530| 28 52 4d 29 20 74 61 67 | 73 0a 58 0a 58 23 23 23 |(RM) tag|s.X.X###|
|00005540| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00005550| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00005560| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00005570| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00005580| 23 23 23 23 23 0a 58 23 | 20 45 6d 70 74 79 20 72 |#####.X#| Empty r|
|00005590| 75 6c 65 73 20 66 6f 72 | 20 64 69 72 65 63 74 6f |ules for| directo|
|000055a0| 72 69 65 73 20 77 69 74 | 68 20 6e 6f 20 73 75 62 |ries wit|h no sub|
|000055b0| 2d 64 69 72 65 63 74 6f | 72 69 65 73 20 2d 2d 20 |-directo|ries -- |
|000055c0| 64 6f 20 6e 6f 74 20 65 | 64 69 74 0a 58 0a 58 69 |do not e|dit.X.Xi|
|000055d0| 6e 73 74 61 6c 6c 3a 3a | 0a 58 09 40 65 63 68 6f |nstall::|.X.@echo|
|000055e0| 20 22 69 6e 73 74 61 6c | 6c 20 69 6e 20 24 28 43 | "instal|l in $(C|
|000055f0| 55 52 52 45 4e 54 29 20 | 64 6f 6e 65 2e 22 0a 58 |URRENT) |done.".X|
|00005600| 0a 58 64 65 69 6e 73 74 | 61 6c 6c 3a 3a 0a 58 09 |.Xdeinst|all::.X.|
|00005610| 40 65 63 68 6f 20 22 64 | 65 69 6e 73 74 61 6c 6c |@echo "d|einstall|
|00005620| 20 69 6e 20 24 28 43 55 | 52 52 45 4e 54 29 20 64 | in $(CU|RRENT) d|
|00005630| 6f 6e 65 2e 22 0a 58 0a | 58 69 6e 73 74 61 6c 6c |one.".X.|Xinstall|
|00005640| 2e 6d 61 6e 3a 3a 0a 58 | 09 40 65 63 68 6f 20 22 |.man::.X|.@echo "|
|00005650| 69 6e 73 74 61 6c 6c 2e | 6d 61 6e 20 69 6e 20 24 |install.|man in $|
|00005660| 28 43 55 52 52 45 4e 54 | 29 20 64 6f 6e 65 2e 22 |(CURRENT|) done."|
|00005670| 0a 58 0a 58 64 65 69 6e | 73 74 61 6c 6c 2e 6d 61 |.X.Xdein|stall.ma|
|00005680| 6e 3a 3a 0a 58 09 40 65 | 63 68 6f 20 22 64 65 69 |n::.X.@e|cho "dei|
|00005690| 6e 73 74 61 6c 6c 2e 6d | 61 6e 20 69 6e 20 24 28 |nstall.m|an in $(|
|000056a0| 43 55 52 52 45 4e 54 29 | 20 64 6f 6e 65 2e 22 0a |CURRENT)| done.".|
|000056b0| 58 0a 58 4d 61 6b 65 66 | 69 6c 65 73 3a 3a 0a 58 |X.XMakef|iles::.X|
|000056c0| 0a 58 4d 61 6b 65 66 69 | 6c 65 73 2e 53 48 3a 3a |.XMakefi|les.SH::|
|000056d0| 0a 58 0a 58 23 23 23 23 | 23 23 23 23 23 23 23 23 |.X.X####|########|
|000056e0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000056f0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00005700| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00005710| 23 23 23 23 23 23 23 23 | 23 23 23 23 0a 58 23 20 |########|####.X# |
|00005720| 44 65 70 65 6e 64 65 6e | 63 69 65 73 20 67 65 6e |Dependen|cies gen|
|00005730| 65 72 61 74 65 64 20 62 | 79 20 6d 61 6b 65 20 64 |erated b|y make d|
|00005740| 65 70 65 6e 64 0a 58 23 | 20 44 4f 20 4e 4f 54 20 |epend.X#| DO NOT |
|00005750| 44 45 4c 45 54 45 20 54 | 48 49 53 20 4c 49 4e 45 |DELETE T|HIS LINE|
|00005760| 20 2d 2d 20 6d 61 6b 65 | 20 64 65 70 65 6e 64 20 | -- make| depend |
|00005770| 72 65 6c 69 65 73 20 6f | 6e 20 69 74 0a 58 0a 58 |relies o|n it.X.X|
|00005780| 23 20 50 75 74 20 6e 6f | 74 68 69 6e 67 20 68 65 |# Put no|thing he|
|00005790| 72 65 20 6f 72 20 6d 61 | 6b 65 20 64 65 70 65 6e |re or ma|ke depen|
|000057a0| 64 20 77 69 6c 6c 20 67 | 6f 62 62 6c 65 20 69 74 |d will g|obble it|
|000057b0| 20 75 70 0a 58 2e 46 4f | 52 43 45 5f 44 45 50 45 | up.X.FO|RCE_DEPE|
|000057c0| 4e 44 3a 3a 0a 58 09 40 | 65 63 68 6f 20 22 59 6f |ND::.X.@|echo "Yo|
|000057d0| 75 20 6d 75 73 74 20 72 | 75 6e 20 27 6d 61 6b 65 |u must r|un 'make|
|000057e0| 20 64 65 70 65 6e 64 27 | 20 69 6e 20 24 28 54 4f | depend'| in $(TO|
|000057f0| 50 29 20 66 69 72 73 74 | 2e 22 3b 20 65 78 69 74 |P) first|."; exit|
|00005800| 20 31 0a 58 21 4e 4f 21 | 53 55 42 53 21 0a 58 63 | 1.X!NO!|SUBS!.Xc|
|00005810| 68 6d 6f 64 20 36 34 34 | 20 4d 61 6b 65 66 69 6c |hmod 644| Makefil|
|00005820| 65 0a 58 24 65 75 6e 69 | 63 65 66 69 78 20 4d 61 |e.X$euni|cefix Ma|
|00005830| 6b 65 66 69 6c 65 0a 58 | 0a 45 4e 44 5f 4f 46 5f |kefile.X|.END_OF_|
|00005840| 46 49 4c 45 0a 20 20 69 | 66 20 74 65 73 74 20 34 |FILE. i|f test 4|
|00005850| 38 30 37 20 2d 6e 65 20 | 60 77 63 20 2d 63 20 3c |807 -ne |`wc -c <|
|00005860| 27 61 67 65 6e 74 2f 66 | 69 6c 74 65 72 2f 4d 61 |'agent/f|ilter/Ma|
|00005870| 6b 65 66 69 6c 65 2e 53 | 48 27 60 3b 20 74 68 65 |kefile.S|H'`; the|
|00005880| 6e 0a 20 20 20 20 65 63 | 68 6f 20 73 68 61 72 3a |n. ec|ho shar:|
|00005890| 20 5c 22 27 61 67 65 6e | 74 2f 66 69 6c 74 65 72 | \"'agen|t/filter|
|000058a0| 2f 4d 61 6b 65 66 69 6c | 65 2e 53 48 27 5c 22 20 |/Makefil|e.SH'\" |
|000058b0| 75 6e 70 61 63 6b 65 64 | 20 77 69 74 68 20 77 72 |unpacked| with wr|
|000058c0| 6f 6e 67 20 73 69 7a 65 | 21 0a 20 20 66 69 0a 20 |ong size|!. fi. |
|000058d0| 20 23 20 65 6e 64 20 6f | 66 20 27 61 67 65 6e 74 | # end o|f 'agent|
|000058e0| 2f 66 69 6c 74 65 72 2f | 4d 61 6b 65 66 69 6c 65 |/filter/|Makefile|
|000058f0| 2e 53 48 27 0a 66 69 0a | 69 66 20 74 65 73 74 20 |.SH'.fi.|if test |
|00005900| 2d 66 20 27 61 67 65 6e | 74 2f 6d 61 69 6c 6c 69 |-f 'agen|t/mailli|
|00005910| 73 74 2e 53 48 27 20 2d | 61 20 22 24 7b 31 7d 22 |st.SH' -|a "${1}"|
|00005920| 20 21 3d 20 22 2d 63 22 | 20 3b 20 74 68 65 6e 20 | != "-c"| ; then |
|00005930| 0a 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 57 69 |. echo |shar: Wi|
|00005940| 6c 6c 20 6e 6f 74 20 63 | 6c 6f 62 62 65 72 20 65 |ll not c|lobber e|
|00005950| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 5c 22 27 |xisting |file \"'|
|00005960| 61 67 65 6e 74 2f 6d 61 | 69 6c 6c 69 73 74 2e 53 |agent/ma|illist.S|
|00005970| 48 27 5c 22 0a 65 6c 73 | 65 0a 20 20 65 63 68 6f |H'\".els|e. echo|
|00005980| 20 73 68 61 72 3a 20 45 | 78 74 72 61 63 74 69 6e | shar: E|xtractin|
|00005990| 67 20 5c 22 27 61 67 65 | 6e 74 2f 6d 61 69 6c 6c |g \"'age|nt/maill|
|000059a0| 69 73 74 2e 53 48 27 5c | 22 20 5c 28 37 36 30 36 |ist.SH'\|" \(7606|
|000059b0| 20 63 68 61 72 61 63 74 | 65 72 73 5c 29 0a 20 20 | charact|ers\). |
|000059c0| 73 65 64 20 22 73 2f 5e | 58 2f 2f 22 20 3e 27 61 |sed "s/^|X//" >'a|
|000059d0| 67 65 6e 74 2f 6d 61 69 | 6c 6c 69 73 74 2e 53 48 |gent/mai|llist.SH|
|000059e0| 27 20 3c 3c 27 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |' <<'END|_OF_FILE|
|000059f0| 27 0a 58 63 61 73 65 20 | 24 43 4f 4e 46 49 47 20 |'.Xcase |$CONFIG |
|00005a00| 69 6e 0a 58 27 27 29 0a | 58 09 69 66 20 74 65 73 |in.X'').|X.if tes|
|00005a10| 74 20 21 20 2d 66 20 63 | 6f 6e 66 69 67 2e 73 68 |t ! -f c|onfig.sh|
|00005a20| 3b 20 74 68 65 6e 0a 58 | 09 09 6c 6e 20 2e 2e 2f |; then.X|..ln ../|
|00005a30| 63 6f 6e 66 69 67 2e 73 | 68 20 2e 20 7c 7c 20 5c |config.s|h . || \|
|00005a40| 0a 58 09 09 6c 6e 20 2e | 2e 2f 2e 2e 2f 63 6f 6e |.X..ln .|./../con|
|00005a50| 66 69 67 2e 73 68 20 2e | 20 7c 7c 20 5c 0a 58 09 |fig.sh .| || \.X.|
|00005a60| 09 6c 6e 20 2e 2e 2f 2e | 2e 2f 2e 2e 2f 63 6f 6e |.ln ../.|./../con|
|00005a70| 66 69 67 2e 73 68 20 2e | 20 7c 7c 20 5c 0a 58 09 |fig.sh .| || \.X.|
|00005a80| 09 28 65 63 68 6f 20 22 | 43 61 6e 27 74 20 66 69 |.(echo "|Can't fi|
|00005a90| 6e 64 20 63 6f 6e 66 69 | 67 2e 73 68 2e 22 3b 20 |nd confi|g.sh."; |
|00005aa0| 65 78 69 74 20 31 29 0a | 58 09 66 69 20 32 3e 2f |exit 1).|X.fi 2>/|
|00005ab0| 64 65 76 2f 6e 75 6c 6c | 0a 58 09 2e 20 63 6f 6e |dev/null|.X.. con|
|00005ac0| 66 69 67 2e 73 68 0a 58 | 09 3b 3b 0a 58 65 73 61 |fig.sh.X|.;;.Xesa|
|00005ad0| 63 0a 58 63 61 73 65 20 | 22 24 30 22 20 69 6e 0a |c.Xcase |"$0" in.|
|00005ae0| 58 2a 2f 2a 29 20 63 64 | 20 60 65 78 70 72 20 58 |X*/*) cd| `expr X|
|00005af0| 24 30 20 3a 20 27 58 5c | 28 2e 2a 5c 29 2f 27 60 |$0 : 'X\|(.*\)/'`|
|00005b00| 20 3b 3b 0a 58 65 73 61 | 63 0a 58 65 63 68 6f 20 | ;;.Xesa|c.Xecho |
|00005b10| 22 45 78 74 72 61 63 74 | 69 6e 67 20 61 67 65 6e |"Extract|ing agen|
|00005b20| 74 2f 6d 61 69 6c 6c 69 | 73 74 20 28 77 69 74 68 |t/mailli|st (with|
|00005b30| 20 76 61 72 69 61 62 6c | 65 20 73 75 62 73 74 69 | variabl|e substi|
|00005b40| 74 75 74 69 6f 6e 73 29 | 22 0a 58 24 73 70 69 74 |tutions)|".X$spit|
|00005b50| 73 68 65 6c 6c 20 3e 6d | 61 69 6c 6c 69 73 74 20 |shell >m|aillist |
|00005b60| 3c 3c 21 47 52 4f 4b 21 | 54 48 49 53 21 0a 58 23 |<<!GROK!|THIS!.X#|
|00005b70| 20 66 65 65 64 20 74 68 | 69 73 20 69 6e 74 6f 20 | feed th|is into |
|00005b80| 70 65 72 6c 0a 58 09 65 | 76 61 6c 20 22 65 78 65 |perl.X.e|val "exe|
|00005b90| 63 20 70 65 72 6c 20 2d | 53 20 5c 24 30 20 5c 24 |c perl -|S \$0 \$|
|00005ba0| 2a 22 0a 58 09 09 69 66 | 20 5c 24 72 75 6e 6e 69 |*".X..if| \$runni|
|00005bb0| 6e 67 5f 75 6e 64 65 72 | 5f 73 6f 6d 65 5f 73 68 |ng_under|_some_sh|
|00005bc0| 65 6c 6c 3b 0a 58 0a 58 | 23 20 24 49 64 3a 20 6d |ell;.X.X|# $Id: m|
|00005bd0| 61 69 6c 6c 69 73 74 2e | 53 48 2c 76 20 32 2e 39 |aillist.|SH,v 2.9|
|00005be0| 20 39 32 2f 30 37 2f 31 | 34 20 31 36 3a 34 38 3a | 92/07/1|4 16:48:|
|00005bf0| 35 37 20 72 61 6d 20 45 | 78 70 20 24 0a 58 23 0a |57 ram E|xp $.X#.|
|00005c00| 58 23 20 20 43 6f 70 79 | 72 69 67 68 74 20 28 63 |X# Copy|right (c|
|00005c10| 29 20 31 39 39 31 2c 20 | 31 39 39 32 2c 20 52 61 |) 1991, |1992, Ra|
|00005c20| 70 68 61 65 6c 20 4d 61 | 6e 66 72 65 64 69 0a 58 |phael Ma|nfredi.X|
|00005c30| 23 0a 58 23 20 20 59 6f | 75 20 6d 61 79 20 72 65 |#.X# Yo|u may re|
|00005c40| 64 69 73 74 72 69 62 75 | 74 65 20 6f 6e 6c 79 20 |distribu|te only |
|00005c50| 75 6e 64 65 72 20 74 68 | 65 20 74 65 72 6d 73 20 |under th|e terms |
|00005c60| 6f 66 20 74 68 65 20 47 | 4e 55 20 47 65 6e 65 72 |of the G|NU Gener|
|00005c70| 61 6c 20 50 75 62 6c 69 | 63 0a 58 23 20 20 4c 69 |al Publi|c.X# Li|
|00005c80| 63 65 6e 63 65 20 61 73 | 20 73 70 65 63 69 66 69 |cence as| specifi|
|00005c90| 65 64 20 69 6e 20 74 68 | 65 20 52 45 41 44 4d 45 |ed in th|e README|
|00005ca0| 20 66 69 6c 65 20 74 68 | 61 74 20 63 6f 6d 65 73 | file th|at comes|
|00005cb0| 20 77 69 74 68 20 64 69 | 73 74 2e 0a 58 23 0a 58 | with di|st..X#.X|
|00005cc0| 23 20 24 4c 6f 67 3a 09 | 6d 61 69 6c 6c 69 73 74 |# $Log:.|maillist|
|00005cd0| 2e 53 48 2c 76 20 24 0a | 58 23 20 52 65 76 69 73 |.SH,v $.|X# Revis|
|00005ce0| 69 6f 6e 20 32 2e 39 20 | 20 39 32 2f 30 37 2f 31 |ion 2.9 | 92/07/1|
|00005cf0| 34 20 20 31 36 3a 34 38 | 3a 35 37 20 20 72 61 6d |4 16:48|:57 ram|
|00005d00| 0a 58 23 20 33 2e 30 20 | 62 65 74 61 20 62 61 73 |.X# 3.0 |beta bas|
|00005d10| 65 6c 69 6e 65 2e 0a 58 | 23 20 0a 58 0a 58 5c 24 |eline..X|# .X.X\$|
|00005d20| 6d 76 65 72 73 69 6f 6e | 20 3d 20 27 24 56 45 52 |mversion| = '$VER|
|00005d30| 53 49 4f 4e 27 3b 0a 58 | 5c 24 70 61 74 63 68 6c |SION';.X|\$patchl|
|00005d40| 65 76 65 6c 20 3d 20 27 | 24 50 41 54 43 48 4c 45 |evel = '|$PATCHLE|
|00005d50| 56 45 4c 27 3b 0a 58 21 | 47 52 4f 4b 21 54 48 49 |VEL';.X!|GROK!THI|
|00005d60| 53 21 0a 58 0a 58 24 73 | 70 69 74 73 68 65 6c 6c |S!.X.X$s|pitshell|
|00005d70| 20 3e 3e 6d 61 69 6c 6c | 69 73 74 20 3c 3c 27 21 | >>maill|ist <<'!|
|00005d80| 4e 4f 21 53 55 42 53 21 | 27 0a 58 0a 58 24 70 72 |NO!SUBS!|'.X.X$pr|
|00005d90| 6f 67 5f 6e 61 6d 65 20 | 3d 20 24 30 3b 09 09 09 |og_name |= $0;...|
|00005da0| 09 23 20 57 68 6f 20 49 | 20 61 6d 0a 58 24 70 72 |.# Who I| am.X$pr|
|00005db0| 6f 67 5f 6e 61 6d 65 20 | 3d 7e 20 73 7c 5e 2e 2a |og_name |=~ s|^.*|
|00005dc0| 2f 28 2e 2a 29 7c 24 31 | 7c 3b 09 23 20 4b 65 65 |/(.*)|$1||;.# Kee|
|00005dd0| 70 20 6f 6e 6c 79 20 62 | 61 73 65 20 6e 61 6d 65 |p only b|ase name|
|00005de0| 0a 58 0a 58 64 6f 20 72 | 65 61 64 5f 63 6f 6e 66 |.X.Xdo r|ead_conf|
|00005df0| 69 67 28 29 3b 09 23 20 | 46 69 72 73 74 2c 20 72 |ig();.# |First, r|
|00005e00| 65 61 64 20 63 6f 6e 66 | 69 67 75 72 61 74 69 6f |ead conf|iguratio|
|00005e10| 6e 20 66 69 6c 65 20 28 | 69 6e 20 7e 2f 2e 6d 61 |n file (|in ~/.ma|
|00005e20| 69 6c 61 67 65 6e 74 29 | 0a 58 0a 58 23 20 74 61 |ilagent)|.X.X# ta|
|00005e30| 6b 65 20 6a 6f 62 20 6e | 75 6d 62 65 72 20 61 6e |ke job n|umber an|
|00005e40| 64 20 63 6f 6d 6d 61 6e | 64 20 66 72 6f 6d 20 65 |d comman|d from e|
|00005e50| 6e 76 69 72 6f 6e 6d 65 | 6e 74 0a 58 23 20 28 70 |nvironme|nt.X# (p|
|00005e60| 61 73 73 65 64 20 62 79 | 20 6d 61 69 6c 61 67 65 |assed by| mailage|
|00005e70| 6e 74 29 0a 58 24 6a 6f | 62 6e 75 6d 20 3d 20 24 |nt).X$jo|bnum = $|
|00005e80| 45 4e 56 7b 27 6a 6f 62 | 6e 75 6d 27 7d 3b 0a 58 |ENV{'job|num'};.X|
|00005e90| 24 66 75 6c 6c 63 6d 64 | 20 3d 20 24 45 4e 56 7b |$fullcmd| = $ENV{|
|00005ea0| 27 66 75 6c 6c 63 6d 64 | 27 7d 3b 0a 58 0a 58 24 |'fullcmd|'};.X.X$|
|00005eb0| 64 65 73 74 3d 73 68 69 | 66 74 3b 09 09 09 09 09 |dest=shi|ft;.....|
|00005ec0| 09 09 23 20 57 68 6f 20 | 73 68 6f 75 6c 64 20 74 |..# Who |should t|
|00005ed0| 68 65 20 6c 69 73 74 20 | 74 6f 20 62 65 20 73 65 |he list |to be se|
|00005ee0| 6e 74 20 74 6f 0a 58 24 | 64 65 73 74 20 3d 20 24 |nt to.X$|dest = $|
|00005ef0| 45 4e 56 7b 27 70 61 74 | 68 27 7d 20 69 66 20 24 |ENV{'pat|h'} if $|
|00005f00| 64 65 73 74 20 65 71 20 | 27 27 3b 09 23 20 49 66 |dest eq |'';.# If|
|00005f10| 20 64 65 73 74 20 77 61 | 73 20 6f 6d 6d 69 74 74 | dest wa|s ommitt|
|00005f20| 65 64 0a 58 0a 58 23 20 | 41 20 73 69 6e 67 6c 65 |ed.X.X# |A single|
|00005f30| 20 27 2d 27 20 61 73 20 | 66 69 72 73 74 20 61 72 | '-' as |first ar|
|00005f40| 67 75 6d 65 6e 74 20 73 | 74 61 6e 64 73 20 66 6f |gument s|tands fo|
|00005f50| 72 20 72 65 74 75 72 6e | 20 70 61 74 68 0a 58 24 |r return| path.X$|
|00005f60| 64 65 73 74 20 3d 20 24 | 45 4e 56 7b 27 70 61 74 |dest = $|ENV{'pat|
|00005f70| 68 27 7d 20 69 66 20 24 | 64 65 73 74 20 65 71 20 |h'} if $|dest eq |
|00005f80| 27 2d 27 3b 0a 58 0a 58 | 64 6f 20 72 65 61 64 5f |'-';.X.X|do read_|
|00005f90| 64 69 73 74 28 29 3b 09 | 09 23 20 52 65 61 64 20 |dist();.|.# Read |
|00005fa0| 64 69 73 74 72 69 62 75 | 74 69 6f 6e 73 20 61 6e |distribu|tions an|
|00005fb0| 64 20 64 65 73 63 72 69 | 70 74 69 6f 6e 73 0a 58 |d descri|ptions.X|
|00005fc0| 0a 58 6f 70 65 6e 28 49 | 4e 46 4f 2c 20 22 24 63 |.Xopen(I|NFO, "$c|
|00005fd0| 66 27 70 72 6f 67 6c 69 | 73 74 22 29 20 7c 7c 0a |f'progli|st") ||.|
|00005fe0| 58 09 64 6f 20 66 61 74 | 61 6c 28 22 63 61 6e 6e |X.do fat|al("cann|
|00005ff0| 6f 74 20 6f 70 65 6e 20 | 64 65 73 63 72 69 70 74 |ot open |descript|
|00006000| 69 6f 6e 20 66 69 6c 65 | 22 29 3b 0a 58 40 73 79 |ion file|");.X@sy|
|00006010| 73 69 6e 66 6f 20 3d 20 | 3c 49 4e 46 4f 3e 3b 0a |sinfo = |<INFO>;.|
|00006020| 58 63 6c 6f 73 65 20 49 | 4e 46 4f 3b 0a 58 0a 58 |Xclose I|NFO;.X.X|
|00006030| 64 6f 20 72 65 61 64 5f | 70 6c 73 61 76 65 28 29 |do read_|plsave()|
|00006040| 3b 09 23 20 52 65 61 64 | 20 70 61 74 63 68 6c 65 |;.# Read| patchle|
|00006050| 76 65 6c 20 64 65 73 63 | 72 69 70 74 69 6f 6e 20 |vel desc|ription |
|00006060| 66 69 6c 65 0a 58 09 09 | 0a 58 24 74 6d 70 5f 6d |file.X..|.X$tmp_m|
|00006070| 61 69 6c 20 3d 20 22 24 | 63 66 27 74 6d 70 64 69 |ail = "$|cf'tmpdi|
|00006080| 72 2f 78 6d 6c 24 24 22 | 3b 0a 58 0a 58 6f 70 65 |r/xml$$"|;.X.Xope|
|00006090| 6e 28 58 48 45 41 44 2c | 20 22 3e 24 74 6d 70 5f |n(XHEAD,| ">$tmp_|
|000060a0| 6d 61 69 6c 22 29 20 7c | 7c 20 64 6f 20 66 61 74 |mail") ||| do fat|
|000060b0| 61 6c 28 22 63 61 6e 6e | 6f 74 20 63 72 65 61 74 |al("cann|ot creat|
|000060c0| 65 20 24 74 6d 70 5f 6d | 61 69 6c 22 29 3b 0a 58 |e $tmp_m|ail");.X|
|000060d0| 70 72 69 6e 74 20 58 48 | 45 41 44 0a 58 22 54 6f |print XH|EAD.X"To|
|000060e0| 3a 20 24 64 65 73 74 0a | 58 53 75 62 6a 65 63 74 |: $dest.|XSubject|
|000060f0| 3a 20 4c 69 73 74 20 6f | 66 20 61 76 61 69 6c 61 |: List o|f availa|
|00006100| 62 6c 65 20 64 69 73 74 | 72 69 62 75 74 69 6f 6e |ble dist|ribution|
|00006110| 73 0a 58 58 2d 4d 61 69 | 6c 65 72 3a 20 6d 61 69 |s.XX-Mai|ler: mai|
|00006120| 6c 61 67 65 6e 74 20 5b | 76 65 72 73 69 6f 6e 20 |lagent [|version |
|00006130| 24 6d 76 65 72 73 69 6f | 6e 20 50 4c 24 70 61 74 |$mversio|n PL$pat|
|00006140| 63 68 6c 65 76 65 6c 5d | 0a 58 0a 58 48 65 72 65 |chlevel]|.X.XHere|
|00006150| 20 61 72 65 20 74 68 65 | 20 64 69 66 66 65 72 65 | are the| differe|
|00006160| 6e 74 20 70 61 63 6b 61 | 67 65 73 20 61 76 61 69 |nt packa|ges avai|
|00006170| 6c 61 62 6c 65 2e 20 49 | 66 20 79 6f 75 20 77 61 |lable. I|f you wa|
|00006180| 6e 74 20 74 68 65 20 77 | 68 6f 6c 65 0a 58 64 69 |nt the w|hole.Xdi|
|00006190| 73 74 72 69 62 75 74 69 | 6f 6e 2c 20 73 65 6e 64 |stributi|on, send|
|000061a0| 20 6d 65 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e | me the |followin|
|000061b0| 67 3a 0a 58 0a 58 09 40 | 53 48 20 6d 61 69 6c 64 |g:.X.X.@|SH maild|
|000061c0| 69 73 74 20 24 64 65 73 | 74 20 73 79 73 74 65 6d |ist $des|t system|
|000061d0| 20 76 65 72 73 69 6f 6e | 0a 58 0a 58 49 66 20 79 | version|.X.XIf y|
|000061e0| 6f 75 20 77 61 6e 74 20 | 70 61 74 63 68 65 73 2c |ou want |patches,|
|000061f0| 20 75 73 65 3a 0a 58 0a | 58 09 40 53 48 20 6d 61 | use:.X.|X.@SH ma|
|00006200| 69 6c 70 61 74 63 68 20 | 24 64 65 73 74 20 73 79 |ilpatch |$dest sy|
|00006210| 73 74 65 6d 20 76 65 72 | 73 69 6f 6e 20 4c 49 53 |stem ver|sion LIS|
|00006220| 54 0a 58 0a 58 77 68 65 | 72 65 20 4c 49 53 54 20 |T.X.Xwhe|re LIST |
|00006230| 69 73 20 61 20 6c 69 73 | 74 20 6f 66 20 70 61 74 |is a lis|t of pat|
|00006240| 63 68 65 73 20 6e 75 6d | 62 65 72 2c 20 73 65 70 |ches num|ber, sep|
|00006250| 61 72 61 74 65 64 20 62 | 79 20 73 70 61 63 65 73 |arated b|y spaces|
|00006260| 2c 20 63 6f 6d 6d 61 73 | 2c 0a 58 61 6e 64 2f 6f |, commas|,.Xand/o|
|00006270| 72 20 68 79 70 68 65 6e | 73 2e 20 53 61 79 69 6e |r hyphen|s. Sayin|
|00006280| 67 20 32 33 2d 20 6d 65 | 61 6e 73 20 65 76 65 72 |g 23- me|ans ever|
|00006290| 79 74 68 69 6e 67 20 66 | 72 6f 6d 20 32 33 20 74 |ything f|rom 23 t|
|000062a0| 6f 20 74 68 65 20 65 6e | 64 2e 0a 58 0a 58 44 65 |o the en|d..X.XDe|
|000062b0| 74 61 69 6c 65 64 20 69 | 6e 73 74 72 75 63 74 69 |tailed i|nstructi|
|000062c0| 6f 6e 73 20 63 61 6e 20 | 62 65 20 6f 62 74 61 69 |ons can |be obtai|
|000062d0| 6e 65 64 20 62 79 3a 0a | 58 0a 58 09 40 53 48 20 |ned by:.|X.X.@SH |
|000062e0| 6d 61 69 6c 68 65 6c 70 | 20 24 64 65 73 74 0a 58 |mailhelp| $dest.X|
|000062f0| 0a 58 0a 58 22 3b 0a 58 | 0a 58 66 6f 72 65 61 63 |.X.X";.X|.Xforeac|
|00006300| 68 20 24 70 6e 61 6d 65 | 20 28 6b 65 79 73 20 25 |h $pname| (keys %|
|00006310| 50 72 6f 67 72 61 6d 29 | 20 7b 0a 58 09 28 24 73 |Program)| {.X.($s|
|00006320| 79 73 74 65 6d 2c 20 24 | 76 65 72 73 69 6f 6e 29 |ystem, $|version)|
|00006330| 20 3d 20 24 70 6e 61 6d | 65 20 3d 7e 20 2f 5e 28 | = $pnam|e =~ /^(|
|00006340| 5c 77 2b 29 5c 7c 28 5b | 5c 77 5c 2e 5d 2b 29 2a |\w+)\|([|\w\.]+)*|
|00006350| 24 2f 3b 0a 58 09 24 76 | 65 72 73 69 6f 6e 20 3d |$/;.X.$v|ersion =|
|00006360| 20 27 2d 2d 2d 27 20 69 | 66 20 24 76 65 72 73 69 | '---' i|f $versi|
|00006370| 6f 6e 20 65 71 20 27 30 | 27 3b 0a 58 09 24 6c 6f |on eq '0|';.X.$lo|
|00006380| 63 61 74 69 6f 6e 20 3d | 20 24 4c 6f 63 61 74 69 |cation =| $Locati|
|00006390| 6f 6e 7b 24 70 6e 61 6d | 65 7d 3b 0a 58 09 64 6f |on{$pnam|e};.X.do|
|000063a0| 20 61 64 64 5f 6c 6f 67 | 28 22 64 65 61 6c 69 6e | add_log|("dealin|
|000063b0| 67 20 77 69 74 68 20 24 | 73 79 73 74 65 6d 20 24 |g with $|system $|
|000063c0| 76 65 72 73 69 6f 6e 22 | 29 20 69 66 20 28 24 6c |version"|) if ($l|
|000063d0| 6f 67 6c 76 6c 20 3e 20 | 31 39 29 3b 0a 58 0a 58 |oglvl > |19);.X.X|
|000063e0| 09 23 20 4c 6f 6f 6b 20 | 66 6f 72 20 68 69 67 68 |.# Look |for high|
|000063f0| 65 73 74 20 70 61 74 63 | 68 6c 65 76 65 6c 20 28 |est patc|hlevel (|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.