source: trunk/athena/bin/discuss/mclient/dsmail.1 @ 11323

Revision 11323, 2.9 KB checked in by danw, 26 years ago (diff)
install dsmail man page (copied in from discuss locker)
Line 
1.TH DSMAIL SIPB "12 Feb 93" "Student Information Processing Board"
2.SH NAME
3dsmail \- discuss mail feed program
4.SH SYNOPSIS
5.B dsmail
6[
7.B \-dAD
8] [
9.B \-a
10.I regexp
11] [
12.B \-r
13.I regexp
14] [
15.B \-s
16.I subject-match-limit
17]
18.B meeting-path-name
19
20.SH DESCRIPTION
21.I Dsmail
22is used to feed incoming mail into the discuss conferencing system.
23It takes a mail message from standard input, formats it, and inserts
24it into the proper discuss meeting.  The user running
25.B dsmail
26must have ``write'' permission for that meeting.  Typically this will
27be daemon, since sendmail runs as daemon.  To enter replies, the user
28must have ``answer`` permission for that meeting.
29.PP
30To setup a mail feed for a meeting, do the following:  Give the user
31daemon ``answer'', ``status'', and ``write''access using the discuss command
32.BR set_acl .
33Then, insert a pipe to
34.B dsmail
35into the sendmail aliases file /usr/lib/aliases.  For example:
36.in +0.5i
37tytso@charon.LOCAL:"/site/sipb/bin/dsmail -d
38/usr/spool/discuss/mailtest"@charon.LOCAL
39.in
40Then, any mail sent to
41.I tytso@charon.LOCAL
42will be entered in the meeting
43.IR mailtest .
44.PP
45If desired, dsmail will process the mail headers, and remove the
46unnecessary cruft.  If no options are specified, all of the mail
47headers are stripped.  By using the options detailed below, you can
48have fine control over which headers should be retained:
49.TP
50.B \-d
51will cause
52.B dsmail
53to retain the ``default'' fields.  These are the to, from, cc, and
54date fields, as well as any fields ending in ``-to'' or ``-from''.
55.TP
56.B \-A
57causes ALL fields to be retained.  This can be modified by the
58.B \-r
59option.
60.TP
61.B \-a \fIregexp
62causes any fields matching the specified regular expression to be
63accepted.
64.TP
65.B \-r \fIregexp
66causes any fields matching the specified regular expression to be
67rejected.
68.TP
69.B \-s \fIsubject-match-limit
70specifies that subject matching should be used to chain transactions. 
71If this option is specified, the last subject-match-limit number of
72transactions are searched backwards to find a matching subject.  If found, the
73transaction is chained to the given transaction.  Daemon should have either
74``read'' or ``owner'' access to the meeting for this to work.
75.TP
76.B \-D
77turns on the debugging mode.  In this mode, the mail message is not
78entered into the discuss meeting.  Instead, it is sent to standard
79output so that the formatting of the mail messages can be checked
80easily.   This option should only be used interactively.
81
82.SH "IN-REPLY-TO"
83dsmail parses the ``In-reply-to'' field in the mail header for
84transaction numbers of the form ``[nnnn] in meeting name''.  If one is
85found where the given meeting name matches the short or long name of
86the meeting, the transaction chained to that transaction number.  If a
87meeting name is not given, or the user does not have access to find
88out the long name of the meeting, the transaction is automatically
89chained to that transaction number.
90
91.SH "SEE ALSO"
92discuss(1), aliases(5)
93.SH BUGS
94Hopefully few.
Note: See TracBrowser for help on using the repository browser.