Import ezmlm-idx 0.40
[ezmlm] / ezmlm-make.1
CommitLineData
5b62e993
MW
1.TH ezmlm-make 1
2.SH NAME
3ezmlm-make \- create a new mailing list
4.SH SYNOPSIS
5.B ezmlm-make
6[
f8beb284
MW
7.B \-+
8][
9.B \-a..zABD..Z
10][
11.B \-C03..9 arg
5b62e993
MW
12]
13.I dir
f8beb284 14[
5b62e993
MW
15.I dot
16.I local
17.I host
f8beb284
MW
18.I [digestcode]
19]
5b62e993
MW
20.SH DESCRIPTION
21.B ezmlm-make
22sets up a new mailing list,
23.IR local\fB@\fIhost ,
24along with several extra addresses to handle administrative requests.
25
26All mailing list information is stored in a new directory,
27.IR dir .
28.I dir
29must be an absolute pathname, starting with a slash.
f8beb284
MW
30.I dot
31must be an absolute file name starting with a slash. Arguments other than
32.I dir
33may be omitted when editing an existing list, using the
34.B \-e
35or
36.B \-+
37options (see below).
38
39.B ezmlm-make
40is controlled by a template,
41.BR .ezmlmrc .
42Described here is the behavior with the default template file.
43.B ezmlm-make
44will print a warning message before continuing,
45if the ezmlmrc version does not match the
46.B ezmlm-make
47version.
48
49.B ezmlm-make also creates
50.IR dir\fB/config ,
51where it stores all configuration information. By reading this file, you
52can rapidly get information about how the list is set up.
53.B ezmlm-make
54when used with the
55.B \-e
56switch will read information from this file. Thus, when using
57.B ezmlm-make
58.BR \-e ,
59you only need to specify the desired switches and switch arguments and
60.IR dir .
61With the
62.B \-+
63switch all switches become sticky, i.e. the default for all switches (and
64command line arguments) becomes the switches and arguments active for the
65list to be edited. Note that the choice of config file also is sticky,
66except when running
67.B ezmlm-make
68as root.
5b62e993
MW
69
70.B ezmlm-make
71sets up four
72.B .qmail
73files:
74.IR dot ,
75.IR dot\fB-owner ,
76.IR dot\fB-return-default ,
77and
78.IR dot\fB-default .
79You should make sure that messages to
80.IR local\fB@\fIhost ,
81.IR local\fB-owner@\fIhost ,
82etc. are controlled by
83these
84.B .qmail
85files.
86
f8beb284
MW
87For message moderated lists,
88.B ezmlm-make
89sets up two additional
90.B .qmail
91files:
92.IR dot\fB-accept-default
93and
94.IR dot\fB-reject-default .
95
96For digested lists,
97.B ezmlm-make
98sets up another two
99.B .qmail
100file:
101.IR dot\fB-digest-return-default
102and
103.IR dot\fB-digest-owner .
104
105If
106.I digestcode
107is specified, digest creation by
108.B ezmlm-get(1)
109via trigger messages to the
110.I local\fB/@\fIhost\fB-dig.\fIdigestcode
111address is enabled.
112
113By default,
114.B ezmlm-make
115sets up lists to add a ``X-No-Archive: yes'' header to outgoing messages.
116Public archiving servers will interpret this header as a
117request not to archive messages from
118the list. It this in not what you desire, remove this header from
119.B ezmlmrc
120for global effects, or from
121.I dir\fB/headeradd
122for the specific list.
123
5b62e993
MW
124Typical use of
125.B ezmlm-make
126by a normal user:
127
128.EX
f8beb284 129 ezmlm-make ~joe/SOS ~joe/.qmail-sos joe-sos isp.net
5b62e993
MW
130.EE
131
132Typical use of
133.B ezmlm-make
134by
135.BR alias :
136
137.EX
138 ezmlm-make ~alias/SOS ~alias/.qmail-sos sos isp.net
139.EE
f8beb284
MW
140.EX
141 chown -R alias ~alias/SOS
142.EE
143
144Typical use of
145.B ezmlm-make
146by a normal user enabling automatic digests:
147
148.EX
149 ezmlm-make -d ~joe/SOS ~joe/.qmail-sos joe-sos isp.net
150.EE
151
152Typical use of
153.B ezmlm-make
154to change an existing list in ~joe/SOS to a message moderated list with
155remote administration, and enabling the remote administrator(s) to retrieve
156a subscriber list and to edit
157.I dir\fB/text
158files (digest are still enabled):
159
160.EX
161 ezmlm-make -emrldn ~joe/SOS
162.EE
163
164Mail can arrive at any time!
165For safe editing, turn on the sticky bit of the home directory before
166editing the list setup,
167then turn it off again (see
168.BR dot-qmail(5) ).
169
170Moderator addresses are added with
171
172.EX
173 ezmlm-sub ~joe/SOS/mod mod1@host1 mod2@host2 ...
174.EE
175
176.B ezmlm-make
177also creates the necessary text files in
178.IR dir\fB/text/ .
179
180.B ezmlm-make
181has a large number of switches to control all aspects of list generation.
182Only defaults or a small subset of switches are necessary for most list
183setups. Other options are present primarily to allow a external CGI script
184or other graphical user interface to use
185.B ezmlm-make
186to manipulate ezmlm list setups.
187.SH "VIRTUAL DOMAINS"
188For virtual domains,
189.B qmail(5)
190prefixes the name of the controlling user to the LOCAL part of the recipient
191address.
192.B ezmlm(5)
193needs to be informed of this in order to correctly interpret list commands.
194This is done by adjusting
195.IR dir\fB/inlocal .
196This adaptation is necessary only when ezmlm is used with qmail version 1.01
197or earlier.
198
199To create the list ``tl@virtual.dom'' where ``virtual.dom'' is controlled
200by ``vu'' (virtual.dom:vu), change identity to ``vu'' or chown files to
201that user after:
202
203.EX
204 ezmlm-make ~vu/dir ~vu/.qmail-tl tl virtual.dom
205.EE
206
207.EX
208 echo "vu-tl" > ~vu/inlocal
209.EE
210
211Thus, create the list exactly as for a list under ``alias'', but adjust
212.I dir\fB/inlocal
213to the list local name prefixed with the controlling user name.
5b62e993 214.SH OPTIONS
f8beb284
MW
215All
216.B ezmlm-make
217letter switches except
218.BR \-v
219and
220.B \-V
221are available for interpretation via
222.IR ezmlmrc .
223Switches
224.BR -e ,
225.BR -E ,
226.BR -c ,
227and
228.BR -C
229have special meaning within the program.
230.I ezmlmrc
231customization should respect the function of the switches described here.
232.TP 5
233.B \-+
234Switches currently active for the list
235will be used, as modified by the current command line.
236Thus,
237.B \-+
238makes switches ``sticky''. By default,
239only switches specified on the current command line will be used.
240This switch implies
241.BR \-e
242as it is meaningless except in edit mode. Note that the config file choice
243(see
244.B \-c
245and
246.BR \-C )
247is also sticky.
248.B ezmlmrc(5)
249is set up so that most text files (and
250.IR DIR\fB/headeradd ,
251.IR DIR\fB/headerremove )
252are not overwritten if they already exist so as to preserve
253manual customizations. If
254.I local
255is specified
256.B ezmlm-make
257overrides this behavior and all files are rewritten. You can also force
258.B ezmlm-make
259to rewrite all files by using
260.BR \-++ .
5b62e993
MW
261.TP 5
262.B \-a
f8beb284
MW
263(Default.) Archived and configured with
264.B ezmlm-get(1)
265for archive access.
5b62e993
MW
266.B ezmlm-make
267will touch
f8beb284
MW
268.I dir\fB/archived
269and
270.I dir\fB/indexed
5b62e993 271so that
f8beb284 272.B ezmlm-send(1)
5b62e993
MW
273will archive new messages.
274.TP
275.B \-A
276Not archived.
277.TP 5
f8beb284
MW
278.B \-b
279Block archive. Only moderators are allowed to access the archive.
280.TP 5
281.B \-B
282(Default.)
283Archive access is open to anyone or subscribers only, depending
284on the
285.B \-g
286switch.
287.TP 5
288.B \-c
289Config.
290Use
291.I .ezmlmrc
292(see CONFIGURATION) from the directory where
293.I dot
294resides.
295.B ezmlm-make
296otherwise uses the
297system wide ezmlmrc
298file (normally /etc/ezmlmrc and if not found there, the ezmlmrc file
299in the ezmlm binary directory).
300The
301.B \-c
302switch may cause you to execute
303.B ezmlm-make
304based on a
305configuration file controlled by another user.
306.B ezmlm-make
307does not allow periods in any tag to restrict all actions to within
308.IR dir .
309Be careful with this option setting up lists for other users,
310especially when running
311.B ezmlm-make
312as root.
313.TP 5
314.B \-C\fI arg
315Like
316.BR \-c ,
317but use file
318.I arg
319as the ezmlmrc file.
320Use
321.B \-C\fI ''
322to override a default when using
323.B \-+
324or
325.BR \-e .
326.TP 5
327.B \-d
328Digest.
329.B ezmlm-make
330will set up the
331.I local\fB\-digest@host
332digest list to disseminate digest of the list messages. By default, this
333is done when 30 messages, 48 hours, or 64 kbytes of message body text have
334accumulated since the last digest. Use the
335.B \-4
336switch to override these defaults. See
337.B ezmlm-tstdig(1)
338and
339.B ezmlm-get(1)
340for more info.
341.TP 5
342.B \-D
343(Default.)
344No digest.
345Do not set up the digest list.
346.TP 5
347.B \-e
348Edit.
349.B ezmlm-make
350will remove links before creating them and accept
351if directories to be created are already present.
352.b ezmlm-make
353will also (via entries in
354.IR ezmlmrc )
355remove flags that are present but not desired for the current list.
356Thus, this option can be used to reconfigure existing lists without affecting
357moderator and subscriber lists or message archive. All desired
358.B ezmlm-make
359switches
360need to be specified. To make all switches sticky, i.e. only specify the
361ones changed from the previous setup, use
362.BR \-+ .
363Command line arguments other
364than
365.I dir
366can be omitted.
367In the unlikely case where
368.I dot
369is changed, you must manually remove the old links.
370Mail can arrive at any time!
371For safe editing, turn on the sticky bit of the home directory before
372using the edit function,
373then turn it off again (see
374.BR dot-qmail(5) ).
375.B ezmlmrc(5)
376is set up so that most text files (and
377.IR DIR\fB/headeradd ,
378.IR DIR\fB/headerremove )
379are not overwritten if they already exist so as to preserve
380manual customizations. If
381.I local
382is specified
383.B ezmlm-make
384overrides this behavior and all files are rewritten. You can also force
385.B ezmlm-make
386to rewrite all files by using
387.BR \-ee .
388.TP 5
389.B \-E
390(Default.)
391No edit.
392.B ezmlm-make
393will abort if directories or links to be created already exist. This prevents
394accidental reconfiguration of a pre-existing list, since the first action
395is to create the list directory.
396.TP 5
397.B \-f
398Prefix.
399.B ezmlm-make
400will set up the list so that the outgoing subject will be prefixed
401with the list name.
402.TP 5
403.B \-F
404(Default.)
405No prefix.
406.TP 5
407.B \-g
408Guard archive.
409Archive access requests from unrecognized SENDERs will be rejected.
410This restriction is safe, since replies are sent to the SENDER address.
411.TP 5
412.B \-G
413(Default.)
414Do not guard archive.
415Archive access request from any SENDER will be serviced.
416.TP 5
417.B \-h
418Help subscription. Subscriptions do not require confirmation. Strongly
419recommended against, since anyone can subscribe any address,
420but may be useful for some subscription moderated lists.
421.TP 5
422.B \-H
423(Default.)
424Subscription requires confirmation by reply to a message sent to the
425subscription address.
426.TP 5
427.B \-i
428Indexed for WWW archive access.
429.B ezmlm-make
430will create the list so that
431.B ezmlm-archive(1)
432is invoked to maintain an index suitable for use by
433.BR ezmlm-cgi(1) .
434.TP 5
435.B \-I
436(Default.)
437The list is created without
438.BR ezmlm-archive(1) .
439.TP 5
440.B \-j
441Jump off. Unsubscribe does not require confirmation. Strongly recommended
442against, since anyone can unsubscribe any address, but may be useful
443in some situations.
444.TP 5
445.B \-J
446(Default.)
447Unsubscribe requires confirmation by a reply to a message sent to the
448subscription address.
449.TP 5
450.B \-k
451kill.
452.B ezmlm-make
453sets up
454.IR dir\fB/deny/ .
455It sets up the list so that posts from addresses in
456.I dir\fB/deny/
457are rejected. This is useful in combination with the
458.B \-u
459switch to temporarily restrain offenders, such as misconfigured auto-responders
460or automatic spammers.
461It can also be used in combination with
462.B \-m
463to filter out SENDERs from whom the moderators do not want to see
464posts (again, bad
465re-mailers and spammers come to mind).
466
467To add/remove blacklisted addresses:
468
469.EX
470.B ezmlm-sub \fIdir\fB/deny \fIbad@host
471.EE
472
473.EX
474.B ezmlm-unsub \fIdir\fB/deny \fIbad@host
475.EE
476
477.TP 5
478.B \-K
479(Default.)
480Not kill.
481.I dir\fB/deny/
482is not created, and even if it exists, the contents will be ignored.
483.TP 5
484.B \-l
485List subscribers.
486.B ezmlm-make
487sets up the list so that remote administrators can request a subscriber list,
488and search the subscriber log.
489.TP 5
490.B \-L
491(Default.)
492The subscriber list cannot be obtained.
493.TP 5
494.B \-m
495Message moderation. (Please note that the
496.B \-u switch modifies
497the action of this switch.)
498.B ezmlm-make
499will touch
500.I dir\fB/modpost
501and create
502.I dir\fB/mod/
503and
504.IR dir\fB/mod/subscribers/ ,
505where the moderator addresses are stored.
506.B ezmlm-make
507also creates
508.IR dir\fB/mod/pending/ ,
509.IR dir\fB/mod/accepted/ ,
510and
511.IR dir\fB/mod/rejected/ .
512These directories are used to queue messages awaiting moderation.
513.I dir\fB/editor
514will be set up to run
515.B ezmlm-store(1)
516to store incoming messages in the moderation queue and send moderation
517requests to the moderators.
518.I dir\fB/moderator
519will be set up to run
520.B ezmlm-moderate
521to process moderator
522.I accept
523or
524.I reject
525requests.
526
527To add/remove moderators:
528
529.EX
530.B ezmlm-sub \fIdir\fB/mod \fImoderator@host
531.EE
532
533.EX
534.B ezmlm-unsub \fIdir\fB/mod \fImoderator@host
535.EE
536
537.TP 5
538.B \-M
539(Default.)
540Message posting is not moderated.
541.TP 5
542.B \-n
543New text file.
544.B ezmlm-make
545sets up the list to allow remote administrators to edit files in
546.IR dir\fB/text/ .
547.TP 5
548.B \-N
549(Default.)
550Not new text file.
551Text file editing not allowed.
552.TP 5
553.B \-o
554Others rejected.
555Posts from addresses other than moderators are rejected. This is
556applicable to message moderated lists only
557(see
558.BR \-m ).
559The switch has no effect on other lists.
560.TP 5
561.B \-O
562(Default.)
563Others not rejected.
564For moderated lists, all posts are forwarded to the moderators.
565The switch has effects only on message moderated lists.
566.TP 5
5b62e993
MW
567.B \-p
568(Default.) Public.
569.B ezmlm-make
570will touch
571.IR dir\fB/public ,
572so that
f8beb284
MW
573.B ezmlm-manage(1)
574will respond to administrative requests and
575.B ezmlm-get
576will allow archive retrieval.
5b62e993
MW
577.TP
578.B \-P
579Private.
f8beb284
MW
580.B ezmlm-manage(1)
581and
582.B ezmlm-get(1)
583will allow only digest creation, remote administration, and archive
584retrieval by remote administrators, (if the list is configured with these
585options).
586.TP
587.B \-q
588ReQuest address is serviced.
589.B ezmlm-make
590will configure the list to process commands sent in the subject to
591.IR local\fB-request@\fIhost .
592This is done by adding a
593.B ezmlm-request(1)
594line to
595.IR dir\fB/manager .
596.TP
597.B \-Q
598(Default.)
599Do not process messages sent to the ``request'' address.
600.TP
601.B \-r
602Remote admin.
603.B ezmlm-make
604enables remote administration by touching
605.IR dir\fB/remote .
606Moderator(s) can unsubscribe and subscribe
607any address.
608See the
609.B \-m
610option on how moderator addresses are stored and manipulated.
611.TP
612.B \-R
613(Default.) No remote administration.
614.TP
615.B \-s
616Subscription moderation.
617.B ezmlm-make
618enables subscription moderation by touching
619.IR dir\fB/modsub .
620This affects subscriptions for both the main list and the digest list.
621See the
622.B \-m
623option on how moderator addresses are stored and manipulated.
624.TP
625.B \-S
626(Default.) Subscriptions are not moderated.
627.TP 5
628.B \-t
629Trailer.
630.B ezmlm-make
631will create
632.I dir\fB/text/trailer
633to set up the list to add a trailer to outgoing messages.
634.TP 5
635.B \-T
636No trailer.
637(Default.)
638.TP 5
639.B \-u
640User posts only.
641.B ezmlm-make
642sets up the list
643so that posts and archive access is restricted to subscribers.
644These are addresses subscribed to the main list, the digest, or added
645manually to the address database in
646.I dir\fB/allow/
647which accommodates addresses from e.g. subscribers working from an address
648other than their subscriber address.
649
650Posts from unrecognized SENDER addresses will be rejected.
651This is relatively easily defeated for posts.
652More secure alternatives are message moderated lists configured with the
653.B ezmlm-make \-m
654switch (without the
655.B \-u
656switch).
657
658There is no reason to combine of SENDER checks on posts with message
659moderation. Therefore, the combination of the
660.B \-u
661switch with the
662.B \-m
663switch is used for a configuration with SENDER restrictions (like with
664.B \-u
665alone), with the difference that posts from non-subscribers will be sent for
666moderation instead of being rejected. This allows the list admin to let
667non-subscribers post occasionally, as well as to catch subscribers posting
668from non-subscriber addresses.
669.TP
670.B \-U
671(Default.)
672Do not restrict posts based on SENDER address.
673.TP 5
674.B \-v
675Display
676.B ezmlm-make
677version information.
678.TP 5
679.B \-V
680Display
681.B ezmlm-make
682version information.
683.TP 5
684.B \-w
685Remove the
686.B ezmlm-warn(1)
687invocations from the list setup. It is assumed that
688.B ezmlm-warn(1)
689for both
690.I local@host
691and
692.I local\fB-digest@\fIhost
693will be run by other means, such as crond.
694If the list is set up with SQL support (see
695.BR \-6 ),
696restrict the list to a subset of addresses by adding the list name to
697the
698.I dir\fB/sql ,
699.I dir\fB/allow/sql ,
700.I dir\fB/digest/sql ,
701configuration files. Useful only when setting up the main list
702for a large distributed list supported by a SQL address database.
703Also, bounces will be handled by
704.B ezmlm-receipt(1)
705rather than
706.BR ezmlm-return(1) .
707As the main list will have only sublists as subscribers, it is desirable
708to log bounces and feedback messages rather than to remove a bouncing
709subscriber.
710.TP 5
711.B \-W
712(Default.)
713No address restriction. Normal
714use of
715.B ezmlm-warn(1)
716and
717.BR ezmlm-return(1) .
718.TP 5
719.B \-x
720eXtra.
721.B ezmlm-make
722will configure the list with a few extras:
723.I dir\fB/mimeremove
724will be configured to strip annoying mime parts such as excel spreadsheets,
725rtf text, html text etc from the messages. Messages consisting solely of
726this Content-type will be rejected. See
727.B ezmlm-send(1)
728and
729.B ezmlm-reject(1)
730for more info.
731.TP 5
732.B \-0 \fImainlist@host
733Make the list a sublist of list
734.IR mainlist@host .
735.TP 5
736.B \-3 \fIfromarg
737.B ezmlm-make
738sets up the list to replace the ``From:'' header of the message with
739``From:
740.IR fromarg ''.
741.TP 5
742.B \-4 \fItstdigopts
743.B ezmlm-make
744replaces the
745.B ezmlm-tstdig(1)
746switches used for digest generation with the text in
747.IR tstdigopts .
748This is part of a command line, NOT a specific switch. It should normally
749be placed within single quotes. This switch is mainly for programmatic
750use. For changing list defaults, it is usually easier to create a custom
751.I ~/.ezmlmrc
752file and edit it. The default is '-t24 -m30 -k64'. (See
753.B ezmlm-tstdig(1)
754for more info.)
755.TP
756.B \-5 \fIowner@host
757.B ezmlm-make
758will configure the list to forward mail directed to the list owner to
759.IR owner@host .
760.TP
761.B \-6\fI\ host:port:user:password:datab:table
762SQL connect info. Use the sql
763.IR host
764(default localhost),
765connecting to
766.I port
767(default port for SQL server) as
768.I user
769with
770.I password
771using database
772.I datab
773(default ezmlm)
774and the table root name
775.I table
776(default ezmlm)
777This will have no effect unless the ezmlm programs
778are compiled with SQL support.
779.TP
780.B \-7 \fI/msg_mod_path
781Make
782.I /path
783the path to the database for message moderators, if the list is set up for
784message moderation.
785.I /msg_mod_path
786must be an absolute pathname, starting with a slash. If not, it will be ignored.
787.TP
788.B \-8 \fI/sub_mod_path
789Make
790.I /sub_mod_path
791the path to the database for subscription moderators, if the list is set up for
792subscription moderation.
793.I /sub_mod_path
794must be an absolute pathname, starting with a slash. If not, it will be ignored.
795.TP
796.B \-9 \fI/rem_adm_path
797Make
798.I /path
799the path to the database for remote administrators, if the list is set up for
800remote administration.
801.I /rem_adm_path
802must be an absolute pathname, starting with a slash. If not, it will be ignored.
803.SH "LIST EDITING"
804When
805.B ezmlm-make
806is used with the
807.B \-e
808switch, and the list was previously created or edited with a
809new (ezmlm-idx >= 0.23) version of
810.BR ezmlm-make ,
811all arguments other than
812.I dir
813can be omitted. In this case, arguments will be read from
814.IR dir\fB/config .
815The appropriate flags must always be specified. To override
816.IR dot ,
817.IR local ,
818.IR host ,
819or
820.IR code ,
821all arguments must be specified.
822.SH CONFIGURATION
823This version of
824.B ezmlm-make
825is template driven. The template file consists of plain text with four types
826of tags. Both start in
827the first position of the line.
828No other text is allowed on the same line. For
829security reasons, no periods are allowed anywhere in a tag.
830Any line with a ``#'' in position 1 is ignored,
831as is any text preceding the first tag.
832.TP
833.B </filename#aI/>
834The following text will be copied to
835.IR dir\fB/filename
836if the options specified after the ``#'' are active, in this case
837.I archived
838and not
839.IR indexed .
840Any number of flags can be specified. This
841is used to adapt the files and
842messages to the type of list created. If no flags are
843used, the ``#'' can be omitted. If the file name is the same as the previous
844tag, or if it is omitted, the text will be added to the previous file.
845When a new file is opened the previous file is closed. Attempts to add
846more text to a already closed file overwrites its contents.
847
848An alternative to specify that a flag, e.g. ``4'' should not be active is
849to prefix the switch with ``^'', e.g. use ``^4''.
850The ``E'' flag is treated in a special manner. When the list
851is being edited, it evaluates to false if the file already exists,
852true if it does not. Thus, files using this condition are not overwritten
853when editing. This is useful for files that you frequently customize manually.
854.TP
855.B </-filename#eA/>
856.IR dir\fB/filename
857will be erased, if the options after the ``#'' are active, in this case
858.I not archived
859and
860.IR edit .
861.TP
862.B </+directory#aI/>
863The directory ``directory'' is created if the flags specified are active, in
864this case
865.I archived
866and not
867.IR indexed .
868If no flags are specified, the ``#'' can be
869omitted.
870.TP
871.B </:link/directory#aI/>
872.B dot\fI\-link
873is symlinked to
874.I dir/directory
875if the flags specified are active, in
876this case
877.I archived
878and not
879.IR indexed .
880If no flags are specified, the ``#'' can be
881omitted.
882.PP
883In addition,
884.I local
885is substituted for
886.BR <#L#> ,
887the part of
888.I dot
889between the first 2 hyphens (if any) for
890.BR <#1#> ,
891the part of
892.I dot
893between the second and third hyphen (if any) for
894.BR <#2#> ,
895.I host
896for
897.BR <#H#> ,
898.I dir
899for
900.BR <#D#> ,
901.I dot
902for
903.BR <#T#> ,
904.I digestcode
905for
906.BR <#C#> ,
907the set of all active flags for
908.BR <#F#> ,
909the config file used for
910.BR <#X#> ,
911and the path to the
912.B ezmlm
913binaries for
914.BR <#B#>
915anywhere in the text. Other tags of this format are copied to the files as is.
916
917.BR <#l#> ,
918.BR <#h#> ,
919.BR <#n#> ,
920.BR <#A#> ,
921.BR <#R#> ,
922will be substituted on-the-fly where appropriate for the
923.IR local
924or
925.IR local\fB\-digest
926local part of the list address, the
927.IR host ,
928the subscriber address or the moderation accept address,
929the message number,
930and the subscription reply address or moderation reject address, respectively.
931The use of
932.BR <#l#>
933is to allow the same text file to be used for requests pertaining to both
934the main list and the digest list.
935.BR <#h#>
936makes it possible to share some files between lists.
937.BR <#n#>
938is defined only by programs where this makes sense, i.e.
939.B ezmlm-send(1)
940and
941.B ezmlm-get(1)
942
943In the absence of
944.B \-e
945and
946.B \-+
947switches,
948.B ezmlm-make
949will create the list directory before processing the template file, and
950create
951.I dir\fB/key
952after all other actions.
953
954.B ezmlm-make
955will use
956.B /etc/ezmlmrc
957and if not found
958.B ezmlmrc
959in the ezmlm binary directory. This can be overridden with the
960.B \-c
961and
962.B \-C
963switches.
964.SH BUGS
965.B ezmlm-make
966deals with the template file as us-ascii.
967Any occurrence of
968the characters ``</'' at the beginning of a line will disrupt
969.B ezmlm-make
970operation.
971Any occurrence of tags with the format ``<#X#>'' with
972with 'X' being any digit, 'B', 'C', 'D', 'F', 'H', 'L', or 'T'
973will be substituted by
974.BR ezmlm-make .
975Any occurrence of a tag of this format with 'X' being 'h', 'l', 'A',
976or 'R' will be
977substituted by
978.B ezmlm-store
979and
980.B ezmlm-manage
981at run time.
982.B ezmlm-send
983will substitute tags with 'h' and 'l', and tags with 'n' will be replaced
984by the current message number.
985.B ezmlm-get
986will substitute tags ``<#h#>'', ``<#l#>'' in the same way. The
987tag ``<#n#>'' will be replaced by the digest message number which is the
988number of the first message in the digest.
989
990In practice, these character sequences are unlikely to occur in any
991multi-byte character set text. They also will not occur by chance
992in
993single-byte character sets where '<', '/', and '#'
994retain their us-ascii codes.
995.SH BUGS
996.B ezmlm-make
997cannot deal with ezmlmrc lines containing NUL (they will be truncated
998at the NUL). This needs to be fixed to make it 8-bit clean.
5b62e993 999.SH "SEE ALSO"
f8beb284
MW
1000ezmlm-clean(1),
1001ezmlm-get(1),
5b62e993 1002ezmlm-manage(1),
f8beb284 1003ezmlm-moderate(1),
5b62e993 1004ezmlm-send(1),
f8beb284 1005ezmlm-store(1),
5b62e993
MW
1006ezmlm-sub(1),
1007ezmlm-unsub(1),
1008ezmlm(5)