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