Commit | Line | Data |
---|---|---|
5b62e993 MW |
1 | .TH ezmlm-send 1 |
2 | .SH NAME | |
3 | ezmlm-send \- distribute a message to a mailing list | |
4 | .SH SYNOPSIS | |
5 | .B ezmlm-send | |
6 | .I dir | |
7 | .SH DESCRIPTION | |
8 | .B ezmlm-send | |
9 | reads a mail message and | |
10 | sends it to the mailing list stored in | |
11 | .IR dir . | |
12 | If | |
13 | .I dir\fB/archived | |
14 | exists, | |
15 | .B ezmlm-send | |
16 | records a copy of the message in the | |
17 | .I dir\fB/archive | |
18 | directory. | |
19 | ||
20 | At the beginning of the message, | |
21 | .B ezmlm-send | |
22 | prints a new | |
23 | .B Mailing-List | |
24 | field with the contents of | |
25 | .IR dir\fB/mailinglist . | |
26 | It rejects the message if there is already a | |
27 | .B Mailing-List | |
28 | field. | |
29 | ||
30 | .B ezmlm-send | |
31 | then prints all the new fields listed in | |
32 | .IR dir\fB/headeradd , | |
33 | followed by an appropriate | |
34 | .B Delivered-To | |
35 | line. | |
36 | ||
37 | .B ezmlm-send | |
38 | deletes any incoming fields with names listed in | |
39 | .IR dir\fB/headerremove . | |
40 | ||
41 | .B ezmlm-send | |
42 | does not distribute bounce messages: | |
43 | if the environment variable | |
44 | .B SENDER | |
45 | is set, and is either empty or | |
46 | .BR #@[] , | |
47 | .B ezmlm-send | |
48 | rejects the message. | |
49 | .SH "SUBLISTS" | |
50 | If | |
51 | .I dir\fB/sublist | |
52 | exists, | |
53 | .B ezmlm-send | |
54 | changes its behavior in several ways. | |
55 | ||
56 | First, if | |
57 | .B SENDER | |
58 | is set, | |
59 | and the first line of | |
60 | .I dir\fB/sublist | |
61 | has the form | |
62 | .IR parent\fB@\fIparenthost , | |
63 | .B ezmlm-send | |
64 | insists that | |
65 | .B SENDER | |
66 | have the form | |
67 | .IR parent\fB...@\fIparenthost . | |
68 | ||
69 | Second, | |
70 | .B ezmlm-send | |
71 | demands that the message already have a | |
72 | .B Mailing-List | |
73 | field. | |
74 | ||
75 | Third, | |
76 | .B ezmlm-send | |
77 | does not add its own | |
78 | .B Mailing-List | |
79 | field. | |
80 | .SH "SEE ALSO" | |
81 | ezmlm-manage(1), | |
82 | ezmlm-make(1), | |
83 | ezmlm-sub(1), | |
84 | ezmlm-unsub(1), | |
85 | ezmlm-reject(1), | |
86 | ezmlm(5) |