]> diplodocus.org Git - nmh/blob - man/rcvdist.man
Simplified m_strn() per Ralph's suggestions.
[nmh] / man / rcvdist.man
1 .TH RCVDIST %manext1% 1999-04-30 "%nmhversion%"
2 .
3 .\" %nmhwarning%
4 .
5 .SH NAME
6 rcvdist \- asynchronously redistribute new mail
7 .SH SYNOPSIS
8 .HP 5
9 .na
10 .B %nmhlibexecdir%/rcvdist
11 .RB [ \-help ]
12 .RB [ \-version ]
13 .RB [ \-form
14 .IR formfile ]
15 [switches\ for
16 .IR postproc ]
17 .I address1
18 \&...
19 .ad
20 .SH DESCRIPTION
21 .B rcvdist
22 accepts a message on its standard input and resends a copy of
23 the message to all of the addresses listed on its command line.
24 .PP
25 The format of the Resent-xxx header fields is specified by the form file
26 .RI \*(lq rcvdistcomps \*(rq.
27 If a file named
28 .RI \*(lq rcvdistcomps \*(rq
29 exists in the user's nmh directory, it will be used instead of the
30 default file.
31 You may specify an alternate forms file with
32 .B \-form
33 .IR formfile .
34 .PP
35 The
36 .RI \*(lq rcvdistcomps \*(rq
37 file uses the format string facility described in
38 .IR mh\-format (5).
39 In addition to the standard format escapes,
40 .B rcvdist
41 also recognizes the following
42 .I component
43 escape:
44 .PP
45 .RS 5
46 .nf
47 .ta \w'Dtimenow 'u +\w'Returns 'u
48 .I "Escape Returns Description"
49 addresses string the addresses to distribute to
50 .fi
51 .RE
52 .PP
53 By default,
54 .B rcvdist
55 uses the
56 .B post
57 program to deliver the message, although this can be changed by
58 defining the
59 .I postproc
60 profile component.
61 .SH FILES
62 .fc ^ ~
63 .nf
64 .ta \w'%nmhetcdir%/ExtraBigFileName 'u
65 ^%nmhetcdir%/rcvdistcomps~^Default message skeleton
66 ^or <mh-dir>/rcvdistcomps~^User's message skeleton
67 ^%nmhetcdir%/mts.conf~^nmh mts configuration file
68 ^%nmhetcdir%/maildelivery~^Default delivery file
69 ^$HOME/.maildelivery~^User's delivery file
70 .fi
71 .SH "SEE ALSO"
72 .IR rcvpack (1),
73 .IR rcvstore (1),
74 .IR rcvtty (1),
75 .IR slocal (1),
76 .IR mh\-format (5)