Debianization and various other fixes.
[ezmlm] / ezmlmrc.da
CommitLineData
f8beb284
MW
10.324 - This version identifier must be on line 1 and start in pos 1.
2#
3#$Id: ezmlmrc.da,v 1.17 1999/12/23 23:08:19 lindberg Exp $
4#$Name: ezmlm-idx-040 $
5#
6# ezmlmrc
7# #######
8# Controls the actions of ezmlm-make as patched with ezmlm-idx-0.31 or later.
9#
10# The base directory 'DIR' is always created by ezmlm-make, as is DIR/key.
11# Everything else is done from here.
12#
13# ezmlm-make looks for this file, first as .ezmlmrc in the directory that the
14# lists .qmail files will be placed in (if you've used the -c command line
15# switch), then /etc/ezmlmrc, then ezmlmrc in the ezmlm-make binary directory.
16# Thus, you can customize ezmlm-make on a global level by placing a customized
17# copy of ezmlmrc in /etc and on a user level by copying it to .ezmlmrc in
18# the user's home directory AND use the ezmlm-make -c switch.
19#
20# Tags are:
21# </filename/> : put succeeding text lines in DIR/filename
22# </-filename/> : erase DIR/filename.
23# </+dirname/> : create directory DIR/dirname
24# </:lname/dirname> : symlink DIR/.qmail-list-lname -> DIR/dirname
25#
26# The name in the tag can be suffixed with '#' and any number of flags,
27# corresponding to command line switches. The item will be created/extended
28# only if all the flags listed are set. Files can be extended as long as they
29# were the last one created, but not if another file has been started since
30# then. Flags that are not recognized are silently ignored.
31#
32# Thus, </filename#aP/> creates the file if and only if the list is archived
33# (-a) and not public (-P). If the next tag is </filename#m/>, the file is
34# extended with the lines up to the next tag if the list is message moderated
35# (-m). If the next tag is </another/>, 'filename' is closed. Any further
36# tags leading to the reopenining of 'filename' will overwrite the file, not
37# extend it.
38#
39# A set of user-defined command line switches (xX, yY, zZ) are available for
40# customization.
41#
42# Within the text, certain tags are substituted. Other tags are copied as
43# is. <#A#> and <#R#> are substituted by ezmlm-manage and -store (see man pages)
44# and <#l#> (lower case L) is replaced dynamically by the list name for
45# programs handling both 'list' and 'list-digest'.
46#
47# Substitutions are:
48# <#B#> ezmlm binaries path <#C#> digest code <#D#> dir
49# <#H#> host <#L#> local <#F#> flags
50# <#T#> dot <#0#> arg for -0. <#3#>...<#9#> arg for -3..9
51# <#1#> ext1 <#2#> ext2 [if dot is /path/.qmail-ext1-ext2-name]
52# The latter useful when a single user is controlling several virtual domains.
53#
54# -0 is used for the main list address when setting up sublists
55# -4 for specifying the ezmlm-tstdig switches used in dir/editor. Default
56# -k64 -m30 -t24. Only used if -g is used.
57# -5 for list-owner address. Mail to list-owner will be forwarded to this addr.
58# -6 for sql connection info
59# -7 for contents of DIR/modpost
60# -8 for contents of DIR/modsub
61# -9 for contents of DIR/remote
62#
63# For demonstration purposes, the '-x' switch results in the following
64# non-standard actions:
65# - Removal of many non-text MIME parts from messages.
66# - Limit posts to 2 bytes <= msg body size <= 40000
67#
68# Attempts to create links or directories that already exist, will result
69# in a FATAL error. Attempts to open files that have already been closed
70# or already exits, will cause the old file to be overwritten.
71#
72# One of the major problems with ezmlm-lists is DIR/inlocal. For normal
73# users, it is set up to the list name (user-list or so), which is correct.
74# However, for user 'ezmlm' in control of virtual domain 'host.dom.com'
75# the list name is 'list@host.dom.com', but inlocal should be 'ezmlm-list',
76# not 'list'. Similarly, if ezmlm-domain1 is in control of 'host.dom.com,
77# list@host.dom.com, should yield an inlocal of 'ezmlm-domain1-list'. To
78# always get the lists correct, place this file as '.ezmlmrc' in the
79# users home directory (~ezmlm/.ezmlmrc) and change the inlocal text below
80# to 'ezmlm-<#L#>' or 'ezmlm-<#1#>-<#L#>, respectively.
81# config to support future editing without giving ezmlm-make command line
82# arguments other than dir. Useful for GUI/WWW editing tools
83</config/>
84F:<#F#>
85D:<#D#>
86T:<#T#>
87L:<#L#>
88H:<#H#>
89C:<#C#>
900:<#0#>
913:<#3#>
924:<#4#>
935:<#5#>
946:<#6#>
957:<#7#>
968:<#8#>
979:<#9#>
98</charset/>
99# Explicitly specify character-set, when this ezmlmrc was used.
100# Use Quoted-Printable to make averyone happy.
101iso-8859-1:Q
102</inlocal/>
103<#L#>
104</sublist#0/>
105<#0#>
106</+archive/>
107</+subscribers/>
108</+bounce/>
109</+text/>
110# dirs for digests
111</+digest#d/>
112</+digest/subscribers#d/>
113</+digest/bounce#d/>
114# for extra address db
115</+allow/>
116</+allow/subscribers/>
117# for blacklist
118</+deny#k/>
119</+deny/subscribers#k/>
120# moderator db & mod queue dirs. Needed for -m, -r -s, so we just
121# make them by default.
122</+mod/>
123</+mod/subscribers/>
124</+mod/pending/>
125</+mod/accepted/>
126</+mod/rejected/>
127# links: dot -> dir/editor
128</:/editor/>
129</:-owner/owner/>
130</:-digest-owner/owner#d/>
131</:-return-default/bouncer/>
132</:-digest-return-default/digest/bouncer#d/>
133</:-default/manager/>
134# for message moderation only
135</:-accept-default/moderator#m/>
136</:-reject-default/moderator#m/>
137# Get rid of configuration flags for editing mode so we can start with a
138# clean slate.
139</-modpost#eM/>
140</-modsub#eS/>
141</-remote#eR/>
142</-public#eP/>
143</-indexed#eI/>
144</-archived#eA/>
145</-prefix#eF/>
146</-text/trailer#eT/>
147</-sublist#e^0/>
148</-mimeremove#eX/>
149# Not needed, except for message moderation.
150</-moderator#eM/>
151# We don't clean out text files to make it easier for users
152# doing manual config by e.g. touching dir/remote.
153# subscription moderation
154</modsub#s/>
155<#8#>
156# remote admin
157</remote#r/>
158<#9#>
159# message moderation
160</modpost#m/>
161<#7#>
162# List owner mail
163</owner#5/>
164<#5#>
165</owner#^5/>
166<#D#>/Mailbox
167</#W/>
168|<#B#>/ezmlm-warn '<#D#>' || exit 0
169# Handles subscription. Add flags if you want a non-default digest format.
170# Service subject commands to the # request address if the -q switch is given.
171# Also -l and -d enable subscriber listing/text file editing, for remote adms.
172# -u gives subscriber only archive access
173</manager#iG/>
174|<#B#>/ezmlm-get '<#D#>' <#C#>
175</manager#ig/>
176|<#B#>/ezmlm-get -s '<#D#>' <#C#>
177</manager#q/>
178|<#B#>/ezmlm-request '<#D#>'
179# Ok to add -l/-d even for non-mod lists, since ezmlm-manage
180# won't allow it unless there are remote admins.
181</manager#LN/>
182|<#B#>/ezmlm-manage '<#D#>'
183</manager#lN/>
184|<#B#>/ezmlm-manage -l '<#D#>'
185</manager#Ln/>
186|<#B#>/ezmlm-manage -e '<#D#>'
187</manager#ln/>
188|<#B#>/ezmlm-manage -le '<#D#>'
189</manager#W/>
190|<#B#>/ezmlm-warn '<#D#>' || exit 0
191</#dW/>
192|<#B#>/ezmlm-warn -d '<#D#>' || exit 0
193</editor/>
194# reject shouldn't be configured for sublist.
195</#^0/>
196# full reject is now default, to get To/Cc: listaddress requirement
197|<#B#>/ezmlm-reject '<#D#>'
198# -k => reject posts from blacklisted addresses. Done for moderated
199# lists as well - allows removal of unwanted noise.
200</#k^0/>
201