Import ezmlm-idx 0.40
[ezmlm] / ezmlm-sub.1
CommitLineData
5b62e993
MW
1.TH ezmlm-sub 1
2.SH NAME
3ezmlm-sub \- manually add addresses to a mailing list
4.SH SYNOPSIS
5.B ezmlm-sub
f8beb284
MW
6[
7.B \-HmMnNsSvV
8][
9.B \-h
10.I hash
11]
12.B
5b62e993
MW
13.I dir
14[
f8beb284
MW
15.I box\fB@\fIdomain
16[
17.I name
18]
19.I ...
5b62e993
MW
20]
21.SH DESCRIPTION
22.B ezmlm-sub
23adds each address
24.I box\fB@\fIdomain
25to the mailing list stored in
26.IR dir .
f8beb284
MW
27.I name
28is added as a comment to the subscription log, if the
29.B \-n
30switch is used.
31
32If no argument is given on the command line,
33.B ezmlm-sub
34processes stdin.
5b62e993
MW
35
36If
37.I box\fB@\fIdomain
38is already on the mailing list,
39.B ezmlm-sub
f8beb284 40leaves it there and does not modify the subscription log.
5b62e993
MW
41
42.B ezmlm-sub
43converts
44.I domain
45to lowercase before adding
46.I box\fB@\fIdomain
47to the mailing list.
48
49.I box\fB@\fIdomain
f8beb284
MW
50cannot be longer than 400 characters (255 characters with mysql support).
51.SH "GENERAL OPTIONS"
52.TP
53.B \-n
54Assume arguments are pairs of
55.I box\fB@\fIdomain
56and
57.IR name
58(or other subscriber info)
59rather than addresses alone.
60.B ezmlm-sub(1)
61will add the first argument in each pair to the subscriber list. If it is
62a new address,
63.I name
64will be added to the subscription log.
65.TP
66.B \-N
67(Default.)
68Arguments are all addresses of the type
69.IR box\fB@\fIdomain .
70.TP
71.B \-v
72Display
73.B ezmlm-sub(1)
74version information.
75.TP
76.B \-V
77Display
78.B ezmlm-sub(1)
79version information.
80.SH "MYSQL OPTIONS"
81These option is silently ignored in the absence of mysql support.
82.TP
83.B \-h \fIhash
84With mysql support the argument is used as the hash. The argument should
85be between 1 and 99. The hash is used in
86in the distribution of addresses between sublists. As the hash is normally
87between 0 and 52, controlling the hash makes it possible to add addresses
88that cannot be manipulated remotely.
89.TP
90.B \-m
91(Default.)
92Use SQL support if available.
93.TP
94.B \-M
95Do not use SQL support even if available. This option can be used to build
96a normal local subscriber database even for lists with SQL support. Use
97in combination with
98.B ezmlm-list(1)
99to convert an SQL address db to a ezmlm standard address database.
5b62e993
MW
100.SH "SEE ALSO"
101ezmlm-list(1),
102ezmlm-manage(1),
103ezmlm-make(1),
f8beb284 104ezmlm-receipt(1),
5b62e993
MW
105ezmlm-send(1),
106ezmlm-unsub(1),
107ezmlm(5)