Added all of the MH sources, including RCS files, in
[mmh] / docs / historical / mh-6.8.5 / miscellany / netnews / READ-ME
1 From: Thomas Scott Christiansen <tom@rsch.wisc.EDU>
2
3 I noticed that in the mh.6 tar file on huey, you have some things on using
4 MH for netnews.  I thought you would like the whole kit, so here it is:
5
6 ===========================================================================
7                      Using MH on Netnews and System MSGS
8
9 First look at all the directories in /usr/spool/news.  Then, assuming
10 that your MH directory is ~/Mail, do something like the following:
11
12         % ln -s /usr/spool/news/{net,fa,mod} ~/Mail
13
14 You may now reference read-only folders named (for example +net/jokes
15 and +mod/unix.   
16         
17 Linking /usr/msgs will allow you to read msgs in a similar manner, 
18 but that you should have your system administrator make /usr/msgs
19 perms 775 and the msgs program setgid the group on the msgs dir.
20 Usually the perms are 777, which means this wouldn't be a read-only
21 folder.
22
23                                    WARNINGS
24
25 If your version of MH has a limit on message numbers (as in max 2000
26 msgs) then you will not be able to read folders with highest message
27 numbers higher than this without modifying the MH source code.
28
29 Refiling causes copies to be made of messages, rather than actually moving
30 them, since these are read-only folders.
31
32
33                        Doing followups to news articles
34
35 In order to do followups to news articles, you should get your
36 local mail administrator to do the following things on your
37 system.  It all assumes that you have used /usr/local/lib/mh 
38 as your MH lib directory.   
39
40
41 First create an alias like this:
42
43         followup:        "|/usr/local/lib/mh/followup"
44
45 This file should look like this and be executable:
46
47         #!/bin/sh
48         sed -f /usr/local/lib/mh/followup.sed | /usr/lib/news/inews -h
49
50 The sed script should look like this:
51
52         1,/^$/{
53         /^From /d
54         /^To:/d
55         /^Received:/d
56         /^Message-Id:/d
57         /^Date:/d
58         }
59
60
61 Then create a link to repl called flup, and add the following line
62 to your mh_profile:
63
64         flup:   -nocc all -form flupcomps
65
66 where flupcomps is the following  file (located in ~/Mail)
67
68         To: followup
69         Subject: Re: %<{subject}%subject%|Orphaned response%>
70         %<{followup-to}Newsgroups: %followup-to%|%<{newsgroups}Newgroups: %newsgroups%>%>
71         %<{message-id}References: %message-id%<{references} %references%>%>
72         %<{distribution}Distribution: %distribution%>
73         Followup-to:
74         Fcc: +posted
75         --------