Home » Archimedes archive » Acorn User » AU 1998-10.adf » Regulars » StarInfo/Fletcher/!ReadMe

StarInfo/Fletcher/!ReadMe

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Acorn User » AU 1998-10.adf » Regulars
Filename: StarInfo/Fletcher/!ReadMe
Read OK:
File size: 07C1 bytes
Load address: 0000
Exec address: 0000
File contents
CheckMail
=========

CheckMail is a very simple command line mailbox lister, as might be found on
Unix. It accepts Berkeley format mailboxes and produces a list of the senders
of the mail. If you supply the optional email addresses, it will try to
identify which mail was directed at 'you' and which is 'junk'.


Berkeley format message boxes are those build by Pine (and therefore Marcel),
sendmail, gmail (in its FCC mode), and FreeSMTP. The consist of messages
seperated by a 'From' header similar to the following :

From gerph@innocent.com Fri May  1 16:52:06 1998

However, since there are a lot of varying formats for this header, the
following date styles are handled :

   From user Wed Dec  2 05:53 1992
   From user Wed Dec  2 05:53:22 1992
   From user Wed Dec  2 05:53 PST 1992
   From user Wed Dec  2 05:53:22 PST 1992
   From user Wed Dec  2 05:53 -0700 1992
   From user Wed Dec  2 05:53:22 -0700 1992
   From user Wed Dec  2 05:53 1992 PST
   From user Wed Dec  2 05:53:22 1992 PST
   From user Wed Dec  2 05:53 1992 -0700
   From user Wed Dec  2 05:53:22 1992 -0700

And all of the above with a comma after the day, and/or 'remote from xxx' at
the end. (all the work of Mark Crispin there!)


Speak
-----
If Johnathan Duddington's excellent Speak module is installed it will read out
the text as well.


Acknowledgemensts
-----------------
I've used the 'VALID' macro from Pine. This is possibly the longest macro
I've ever seen and the most cunning 'From' mail header identifier in
existance.

Pine is ��University of Washington, the VALID macro was written by Mark
Crispin.


Contact
-------
Any comments, queries, donations or bug reports can be sent to Justin
Fletcher at :

E-Mail : Gerph@innocent.com
URL    : http://users.essex.ac.uk:8000/
IRC    : On #Acorn as Gerph
Finger : finger jrflet@sunlab1.essex.ac.uk
Tel    : (01842) 813979

Snail Mail :
    Justin Fletcher
    �Galadriel�
    17b Cromwell Road,
    Weeting,
    Brandon,
    Suffolk.
    IP27 0QT
00000000  43 68 65 63 6b 4d 61 69  6c 0a 3d 3d 3d 3d 3d 3d  |CheckMail.======|
00000010  3d 3d 3d 0a 0a 43 68 65  63 6b 4d 61 69 6c 20 69  |===..CheckMail i|
00000020  73 20 61 20 76 65 72 79  20 73 69 6d 70 6c 65 20  |s a very simple |
00000030  63 6f 6d 6d 61 6e 64 20  6c 69 6e 65 20 6d 61 69  |command line mai|
00000040  6c 62 6f 78 20 6c 69 73  74 65 72 2c 20 61 73 20  |lbox lister, as |
00000050  6d 69 67 68 74 20 62 65  20 66 6f 75 6e 64 20 6f  |might be found o|
00000060  6e 0a 55 6e 69 78 2e 20  49 74 20 61 63 63 65 70  |n.Unix. It accep|
00000070  74 73 20 42 65 72 6b 65  6c 65 79 20 66 6f 72 6d  |ts Berkeley form|
00000080  61 74 20 6d 61 69 6c 62  6f 78 65 73 20 61 6e 64  |at mailboxes and|
00000090  20 70 72 6f 64 75 63 65  73 20 61 20 6c 69 73 74  | produces a list|
000000a0  20 6f 66 20 74 68 65 20  73 65 6e 64 65 72 73 0a  | of the senders.|
000000b0  6f 66 20 74 68 65 20 6d  61 69 6c 2e 20 49 66 20  |of the mail. If |
000000c0  79 6f 75 20 73 75 70 70  6c 79 20 74 68 65 20 6f  |you supply the o|
000000d0  70 74 69 6f 6e 61 6c 20  65 6d 61 69 6c 20 61 64  |ptional email ad|
000000e0  64 72 65 73 73 65 73 2c  20 69 74 20 77 69 6c 6c  |dresses, it will|
000000f0  20 74 72 79 20 74 6f 0a  69 64 65 6e 74 69 66 79  | try to.identify|
00000100  20 77 68 69 63 68 20 6d  61 69 6c 20 77 61 73 20  | which mail was |
00000110  64 69 72 65 63 74 65 64  20 61 74 20 27 79 6f 75  |directed at 'you|
00000120  27 20 61 6e 64 20 77 68  69 63 68 20 69 73 20 27  |' and which is '|
00000130  6a 75 6e 6b 27 2e 0a 0a  0a 42 65 72 6b 65 6c 65  |junk'....Berkele|
00000140  79 20 66 6f 72 6d 61 74  20 6d 65 73 73 61 67 65  |y format message|
00000150  20 62 6f 78 65 73 20 61  72 65 20 74 68 6f 73 65  | boxes are those|
00000160  20 62 75 69 6c 64 20 62  79 20 50 69 6e 65 20 28  | build by Pine (|
00000170  61 6e 64 20 74 68 65 72  65 66 6f 72 65 20 4d 61  |and therefore Ma|
00000180  72 63 65 6c 29 2c 0a 73  65 6e 64 6d 61 69 6c 2c  |rcel),.sendmail,|
00000190  20 67 6d 61 69 6c 20 28  69 6e 20 69 74 73 20 46  | gmail (in its F|
000001a0  43 43 20 6d 6f 64 65 29  2c 20 61 6e 64 20 46 72  |CC mode), and Fr|
000001b0  65 65 53 4d 54 50 2e 20  54 68 65 20 63 6f 6e 73  |eeSMTP. The cons|
000001c0  69 73 74 20 6f 66 20 6d  65 73 73 61 67 65 73 0a  |ist of messages.|
000001d0  73 65 70 65 72 61 74 65  64 20 62 79 20 61 20 27  |seperated by a '|
000001e0  46 72 6f 6d 27 20 68 65  61 64 65 72 20 73 69 6d  |From' header sim|
000001f0  69 6c 61 72 20 74 6f 20  74 68 65 20 66 6f 6c 6c  |ilar to the foll|
00000200  6f 77 69 6e 67 20 3a 0a  0a 46 72 6f 6d 20 67 65  |owing :..From ge|
00000210  72 70 68 40 69 6e 6e 6f  63 65 6e 74 2e 63 6f 6d  |rph@innocent.com|
00000220  20 46 72 69 20 4d 61 79  20 20 31 20 31 36 3a 35  | Fri May  1 16:5|
00000230  32 3a 30 36 20 31 39 39  38 0a 0a 48 6f 77 65 76  |2:06 1998..Howev|
00000240  65 72 2c 20 73 69 6e 63  65 20 74 68 65 72 65 20  |er, since there |
00000250  61 72 65 20 61 20 6c 6f  74 20 6f 66 20 76 61 72  |are a lot of var|
00000260  79 69 6e 67 20 66 6f 72  6d 61 74 73 20 66 6f 72  |ying formats for|
00000270  20 74 68 69 73 20 68 65  61 64 65 72 2c 20 74 68  | this header, th|
00000280  65 0a 66 6f 6c 6c 6f 77  69 6e 67 20 64 61 74 65  |e.following date|
00000290  20 73 74 79 6c 65 73 20  61 72 65 20 68 61 6e 64  | styles are hand|
000002a0  6c 65 64 20 3a 0a 0a 20  20 20 46 72 6f 6d 20 75  |led :..   From u|
000002b0  73 65 72 20 57 65 64 20  44 65 63 20 20 32 20 30  |ser Wed Dec  2 0|
000002c0  35 3a 35 33 20 31 39 39  32 0a 20 20 20 46 72 6f  |5:53 1992.   Fro|
000002d0  6d 20 75 73 65 72 20 57  65 64 20 44 65 63 20 20  |m user Wed Dec  |
000002e0  32 20 30 35 3a 35 33 3a  32 32 20 31 39 39 32 0a  |2 05:53:22 1992.|
000002f0  20 20 20 46 72 6f 6d 20  75 73 65 72 20 57 65 64  |   From user Wed|
00000300  20 44 65 63 20 20 32 20  30 35 3a 35 33 20 50 53  | Dec  2 05:53 PS|
00000310  54 20 31 39 39 32 0a 20  20 20 46 72 6f 6d 20 75  |T 1992.   From u|
00000320  73 65 72 20 57 65 64 20  44 65 63 20 20 32 20 30  |ser Wed Dec  2 0|
00000330  35 3a 35 33 3a 32 32 20  50 53 54 20 31 39 39 32  |5:53:22 PST 1992|
00000340  0a 20 20 20 46 72 6f 6d  20 75 73 65 72 20 57 65  |.   From user We|
00000350  64 20 44 65 63 20 20 32  20 30 35 3a 35 33 20 2d  |d Dec  2 05:53 -|
00000360  30 37 30 30 20 31 39 39  32 0a 20 20 20 46 72 6f  |0700 1992.   Fro|
00000370  6d 20 75 73 65 72 20 57  65 64 20 44 65 63 20 20  |m user Wed Dec  |
00000380  32 20 30 35 3a 35 33 3a  32 32 20 2d 30 37 30 30  |2 05:53:22 -0700|
00000390  20 31 39 39 32 0a 20 20  20 46 72 6f 6d 20 75 73  | 1992.   From us|
000003a0  65 72 20 57 65 64 20 44  65 63 20 20 32 20 30 35  |er Wed Dec  2 05|
000003b0  3a 35 33 20 31 39 39 32  20 50 53 54 0a 20 20 20  |:53 1992 PST.   |
000003c0  46 72 6f 6d 20 75 73 65  72 20 57 65 64 20 44 65  |From user Wed De|
000003d0  63 20 20 32 20 30 35 3a  35 33 3a 32 32 20 31 39  |c  2 05:53:22 19|
000003e0  39 32 20 50 53 54 0a 20  20 20 46 72 6f 6d 20 75  |92 PST.   From u|
000003f0  73 65 72 20 57 65 64 20  44 65 63 20 20 32 20 30  |ser Wed Dec  2 0|
00000400  35 3a 35 33 20 31 39 39  32 20 2d 30 37 30 30 0a  |5:53 1992 -0700.|
00000410  20 20 20 46 72 6f 6d 20  75 73 65 72 20 57 65 64  |   From user Wed|
00000420  20 44 65 63 20 20 32 20  30 35 3a 35 33 3a 32 32  | Dec  2 05:53:22|
00000430  20 31 39 39 32 20 2d 30  37 30 30 0a 0a 41 6e 64  | 1992 -0700..And|
00000440  20 61 6c 6c 20 6f 66 20  74 68 65 20 61 62 6f 76  | all of the abov|
00000450  65 20 77 69 74 68 20 61  20 63 6f 6d 6d 61 20 61  |e with a comma a|
00000460  66 74 65 72 20 74 68 65  20 64 61 79 2c 20 61 6e  |fter the day, an|
00000470  64 2f 6f 72 20 27 72 65  6d 6f 74 65 20 66 72 6f  |d/or 'remote fro|
00000480  6d 20 78 78 78 27 20 61  74 0a 74 68 65 20 65 6e  |m xxx' at.the en|
00000490  64 2e 20 28 61 6c 6c 20  74 68 65 20 77 6f 72 6b  |d. (all the work|
000004a0  20 6f 66 20 4d 61 72 6b  20 43 72 69 73 70 69 6e  | of Mark Crispin|
000004b0  20 74 68 65 72 65 21 29  0a 0a 0a 53 70 65 61 6b  | there!)...Speak|
000004c0  0a 2d 2d 2d 2d 2d 0a 49  66 20 4a 6f 68 6e 61 74  |.-----.If Johnat|
000004d0  68 61 6e 20 44 75 64 64  69 6e 67 74 6f 6e 27 73  |han Duddington's|
000004e0  20 65 78 63 65 6c 6c 65  6e 74 20 53 70 65 61 6b  | excellent Speak|
000004f0  20 6d 6f 64 75 6c 65 20  69 73 20 69 6e 73 74 61  | module is insta|
00000500  6c 6c 65 64 20 69 74 20  77 69 6c 6c 20 72 65 61  |lled it will rea|
00000510  64 20 6f 75 74 0a 74 68  65 20 74 65 78 74 20 61  |d out.the text a|
00000520  73 20 77 65 6c 6c 2e 0a  0a 0a 41 63 6b 6e 6f 77  |s well....Acknow|
00000530  6c 65 64 67 65 6d 65 6e  73 74 73 0a 2d 2d 2d 2d  |ledgemensts.----|
00000540  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 0a 49 27  |-------------.I'|
00000550  76 65 20 75 73 65 64 20  74 68 65 20 27 56 41 4c  |ve used the 'VAL|
00000560  49 44 27 20 6d 61 63 72  6f 20 66 72 6f 6d 20 50  |ID' macro from P|
00000570  69 6e 65 2e 20 54 68 69  73 20 69 73 20 70 6f 73  |ine. This is pos|
00000580  73 69 62 6c 79 20 74 68  65 20 6c 6f 6e 67 65 73  |sibly the longes|
00000590  74 20 6d 61 63 72 6f 0a  49 27 76 65 20 65 76 65  |t macro.I've eve|
000005a0  72 20 73 65 65 6e 20 61  6e 64 20 74 68 65 20 6d  |r seen and the m|
000005b0  6f 73 74 20 63 75 6e 6e  69 6e 67 20 27 46 72 6f  |ost cunning 'Fro|
000005c0  6d 27 20 6d 61 69 6c 20  68 65 61 64 65 72 20 69  |m' mail header i|
000005d0  64 65 6e 74 69 66 69 65  72 20 69 6e 0a 65 78 69  |dentifier in.exi|
000005e0  73 74 61 6e 63 65 2e 0a  0a 50 69 6e 65 20 69 73  |stance...Pine is|
000005f0  20 a9 a0 55 6e 69 76 65  72 73 69 74 79 20 6f 66  | ..University of|
00000600  20 57 61 73 68 69 6e 67  74 6f 6e 2c 20 74 68 65  | Washington, the|
00000610  20 56 41 4c 49 44 20 6d  61 63 72 6f 20 77 61 73  | VALID macro was|
00000620  20 77 72 69 74 74 65 6e  20 62 79 20 4d 61 72 6b  | written by Mark|
00000630  0a 43 72 69 73 70 69 6e  2e 0a 0a 0a 43 6f 6e 74  |.Crispin....Cont|
00000640  61 63 74 0a 2d 2d 2d 2d  2d 2d 2d 0a 41 6e 79 20  |act.-------.Any |
00000650  63 6f 6d 6d 65 6e 74 73  2c 20 71 75 65 72 69 65  |comments, querie|
00000660  73 2c 20 64 6f 6e 61 74  69 6f 6e 73 20 6f 72 20  |s, donations or |
00000670  62 75 67 20 72 65 70 6f  72 74 73 20 63 61 6e 20  |bug reports can |
00000680  62 65 20 73 65 6e 74 20  74 6f 20 4a 75 73 74 69  |be sent to Justi|
00000690  6e 0a 46 6c 65 74 63 68  65 72 20 61 74 20 3a 0a  |n.Fletcher at :.|
000006a0  0a 45 2d 4d 61 69 6c 20  3a 20 47 65 72 70 68 40  |.E-Mail : Gerph@|
000006b0  69 6e 6e 6f 63 65 6e 74  2e 63 6f 6d 0a 55 52 4c  |innocent.com.URL|
000006c0  20 20 20 20 3a 20 68 74  74 70 3a 2f 2f 75 73 65  |    : http://use|
000006d0  72 73 2e 65 73 73 65 78  2e 61 63 2e 75 6b 3a 38  |rs.essex.ac.uk:8|
000006e0  30 30 30 2f 0a 49 52 43  20 20 20 20 3a 20 4f 6e  |000/.IRC    : On|
000006f0  20 23 41 63 6f 72 6e 20  61 73 20 47 65 72 70 68  | #Acorn as Gerph|
00000700  0a 46 69 6e 67 65 72 20  3a 20 66 69 6e 67 65 72  |.Finger : finger|
00000710  20 6a 72 66 6c 65 74 40  73 75 6e 6c 61 62 31 2e  | jrflet@sunlab1.|
00000720  65 73 73 65 78 2e 61 63  2e 75 6b 0a 54 65 6c 20  |essex.ac.uk.Tel |
00000730  20 20 20 3a 20 28 30 31  38 34 32 29 20 38 31 33  |   : (01842) 813|
00000740  39 37 39 0a 0a 53 6e 61  69 6c 20 4d 61 69 6c 20  |979..Snail Mail |
00000750  3a 0a 20 20 20 20 4a 75  73 74 69 6e 20 46 6c 65  |:.    Justin Fle|
00000760  74 63 68 65 72 0a 20 20  20 20 94 47 61 6c 61 64  |tcher.    .Galad|
00000770  72 69 65 6c 95 0a 20 20  20 20 31 37 62 20 43 72  |riel..    17b Cr|
00000780  6f 6d 77 65 6c 6c 20 52  6f 61 64 2c 0a 20 20 20  |omwell Road,.   |
00000790  20 57 65 65 74 69 6e 67  2c 0a 20 20 20 20 42 72  | Weeting,.    Br|
000007a0  61 6e 64 6f 6e 2c 0a 20  20 20 20 53 75 66 66 6f  |andon,.    Suffo|
000007b0  6c 6b 2e 0a 20 20 20 20  49 50 32 37 20 30 51 54  |lk..    IP27 0QT|
000007c0  0a                                                |.|
000007c1