Import ezmlm-idx 0.40
[ezmlm] / ezmlmsubrc.5
CommitLineData
f8beb284
MW
1.TH ezmlmsubrc 5
2.SH NAME
3ezmlmsubrc \- set up a minimal sublist
4.SH SYNOPSIS
5.B ezmlm-make
6.B \-C ezmlmsubrc
7.B -options
8.I dir dot local host
9.SH DESCRIPTION
10.B ezmlmglrc
11instructs
12.B ezmlm-make(1)
13to create
14.I dir
15and files within it to support the
16.I local\fB@\fIhost
17sublist. The sublist handles bounces, but not subscriptions. It is intended
18for creation of sublists that are part of an SQL database supported distributed
19ezmlm list. For creation of regular sublists, use
20.B ezmlm-make(1)
21with
22.BR ezmlmrc(5) .
23.SH "REQUIRED SWITCHES"
24While these switches can be omitted, the list will not function unless they
25are specified.
26.TP
27.B \-3\fI mainlocal
28Local name of the main list for which this list is a sublist. If the sublist
29is a sublist for digests,
30.I mainlocal
31should refer to the mail list, i.e. stripped of ``-digest''. This is required
32in order for the bounce texts to refer to the correct archive. Use the
33.B \-d
34switch!
35.TP
36.B \-4\fI mainhost
37Host name of the main list for which this list is a sublist.
38.TP
39.B \-6\fI host:port:user:pass:db:table
40SQL connect info. Specifies the host and port to connect to, the user/password
41to use, the database name, and the root table name.
42The host defaults to ``localhost'', the database and table to ``ezmlm''. The
43port default is the default for the particular SQL server type used. For
44sublists disseminating a digest, ``table'' will end in ``_digest''.
45.SH OPTIONS
46.TP
47.B \-d
48This sublist is a sublist of a digest list.
49The
50.B \-3
51argment used should be the local name of the main list, rather than
52the digest list, i.e. the terminal ``-digest'' should be stripped.
53.TP
54.B \-5\fI owner
55The address to which to redirect mail send to
56.IR local-\fBowner@\fIhost .
57The default is the owner address for the main list.
58.SH USAGE
59A common task is to create both a sublist for the main list and a sublist
60for the corresponding digest. Note that the local list names are given
61as is, whereas the main list name always refers to the main list itself
62(and not its digest). The main list is ``mainloc@mainhost'', the local
63sublist is ``me-sub1@myhost''; the main digest is ``mainloc-digest@mainhost''
64and the local digest sublist is ``me-sub1-digest@myhost''.
65
66.EX
67ezmlm-make -Cezmlmsubrc -3 mainloc -4 mainhost -6 mainhost::user:pw:db:tab
68~/DIR ~me/.qmail-sub1 me-sub1 myhost
69.EE
70
71.EX
72ezmlm-make -Cezmlmsubrc -d -3 mainloc -4 mainhost -6 mainhost::user:pw:db:tab
73\-d ~/DIR ~me/.qmail-sub1-digest me-sub1-digest myhost
74.EE
75.SH "SEE ALSO"
76ezmlm-make(1),
77ezmlm(5),
78ezmlmrc(5)
79