1 |
diff -Nur smeserver-ezmlm-web-1.1.2.old/root/etc/e-smith/db/configuration/defaults/ezmlm/debug smeserver-ezmlm-web-1.1.2/root/etc/e-smith/db/configuration/defaults/ezmlm/debug |
2 |
--- smeserver-ezmlm-web-1.1.2.old/root/etc/e-smith/db/configuration/defaults/ezmlm/debug 1969-12-31 19:00:00.000000000 -0500 |
3 |
+++ smeserver-ezmlm-web-1.1.2/root/etc/e-smith/db/configuration/defaults/ezmlm/debug 2016-04-20 12:43:32.069000000 -0400 |
4 |
@@ -0,0 +1 @@ |
5 |
+disabled |
6 |
diff -Nur smeserver-ezmlm-web-1.1.2.old/root/etc/e-smith/db/configuration/defaults/ezmlm/encryption smeserver-ezmlm-web-1.1.2/root/etc/e-smith/db/configuration/defaults/ezmlm/encryption |
7 |
--- smeserver-ezmlm-web-1.1.2.old/root/etc/e-smith/db/configuration/defaults/ezmlm/encryption 1969-12-31 19:00:00.000000000 -0500 |
8 |
+++ smeserver-ezmlm-web-1.1.2/root/etc/e-smith/db/configuration/defaults/ezmlm/encryption 2016-04-20 12:43:39.245000000 -0400 |
9 |
@@ -0,0 +1 @@ |
10 |
+disabled |
11 |
diff -Nur smeserver-ezmlm-web-1.1.2.old/root/etc/e-smith/db/configuration/defaults/ezmlm/interface smeserver-ezmlm-web-1.1.2/root/etc/e-smith/db/configuration/defaults/ezmlm/interface |
12 |
--- smeserver-ezmlm-web-1.1.2.old/root/etc/e-smith/db/configuration/defaults/ezmlm/interface 1969-12-31 19:00:00.000000000 -0500 |
13 |
+++ smeserver-ezmlm-web-1.1.2/root/etc/e-smith/db/configuration/defaults/ezmlm/interface 2016-04-20 12:44:00.172000000 -0400 |
14 |
@@ -0,0 +1 @@ |
15 |
+normal |
16 |
diff -Nur smeserver-ezmlm-web-1.1.2.old/root/etc/e-smith/db/configuration/defaults/ezmlm/options smeserver-ezmlm-web-1.1.2/root/etc/e-smith/db/configuration/defaults/ezmlm/options |
17 |
--- smeserver-ezmlm-web-1.1.2.old/root/etc/e-smith/db/configuration/defaults/ezmlm/options 1969-12-31 19:00:00.000000000 -0500 |
18 |
+++ smeserver-ezmlm-web-1.1.2/root/etc/e-smith/db/configuration/defaults/ezmlm/options 2016-04-20 12:44:46.749000000 -0400 |
19 |
@@ -0,0 +1 @@ |
20 |
+aBDFGHiJkLMNOpQRSTUWx |
21 |
diff -Nur smeserver-ezmlm-web-1.1.2.old/root/etc/e-smith/db/configuration/defaults/ezmlm/type smeserver-ezmlm-web-1.1.2/root/etc/e-smith/db/configuration/defaults/ezmlm/type |
22 |
--- smeserver-ezmlm-web-1.1.2.old/root/etc/e-smith/db/configuration/defaults/ezmlm/type 1969-12-31 19:00:00.000000000 -0500 |
23 |
+++ smeserver-ezmlm-web-1.1.2/root/etc/e-smith/db/configuration/defaults/ezmlm/type 2016-04-20 12:26:52.757000000 -0400 |
24 |
@@ -0,0 +1 @@ |
25 |
+configuration |
26 |
diff -Nur smeserver-ezmlm-web-1.1.2.old/root/etc/e-smith/templates/etc/ezmlm/ezmlmwebrc/BODY smeserver-ezmlm-web-1.1.2/root/etc/e-smith/templates/etc/ezmlm/ezmlmwebrc/BODY |
27 |
--- smeserver-ezmlm-web-1.1.2.old/root/etc/e-smith/templates/etc/ezmlm/ezmlmwebrc/BODY 2016-04-20 07:35:06.363000000 -0400 |
28 |
+++ smeserver-ezmlm-web-1.1.2/root/etc/e-smith/templates/etc/ezmlm/ezmlmwebrc/BODY 2016-04-20 12:48:20.128000000 -0400 |
29 |
@@ -43,12 +44,6 @@ |
30 |
# Where do the qmail control files live on this system ... |
31 |
$QMAIL_BASE = $Mail::Ezmlm::QMAIL_BASE . '/control'; |
32 |
|
33 |
-# The url to our web interface - so we can use ezmlm-cgi if necessary |
34 |
-$EZMLM_CGI_URL = 'http://some.server.that.has/cgi-bin/ezmlm-cgi'; |
35 |
- |
36 |
-# Where our ezcgirc file lives (probably /etc/ezmlm/ezcgirc) |
37 |
-$EZMLM_CGI_RC = '/etc/ezmlm/ezcgirc'; |
38 |
- |
39 |
# Do we want to allow ``pretty'' names - ie more human readable ones |
40 |
# This will slow ezmlm-web down a bit for large lists |
41 |
$PRETTY_NAMES = 1; |
42 |
@@ -60,247 +55,113 @@ |
43 |
# What switches to we want ezmlm-web to have on as default. The ezmlm-make |
44 |
# defaults are aBDFGHIJKLMNOpQRSTUWX (small means enabled, CAPITALS mean |
45 |
# disabled). The defaults below should be reasonable - I use them ;) |
46 |
-$DEFAULT_OPTIONS = 'aBDFGHiJkLMNOpQRSTUWx'; |
47 |
+EOF |
48 |
|
49 |
-# Where do we find the nice little help icon - by default HELP_ICON_URL |
50 |
-# points to resources on http://rucus.ru.ac.za/. This will work, but we |
51 |
-# would appreciate it if you changed this to a local site. |
52 |
-# $HELP_ICON_URL = '/icons/small/unknown.gif'; |
53 |
-$HELP_ICON_URL = '/server-common/unknown.gif'; |
54 |
- |
55 |
-# Header for every page (.= concatinates) |
56 |
-# $HTML_HEADER = '<TABLE BORDER="3" ALIGN="CENTER" CELLPADDING="5"><TR><TD BGCOLOR="#e0e0ff"><FONT SIZE=+3 COLOR=#000080><STRONG>E Z Mailing List Manager</STRONG></FONT></TD></TR></TABLE></CENTER><P>'; |
57 |
-# $HTML_HEADER .= '<TABLE BORDER="0" CELLPADDING="5" CELLSPACING="5" ALIGN="CENTER" WIDTH="99%"><TR><TD BGCOLOR="#e0e0ff">'; |
58 |
- |
59 |
-$HTML_HEADER =<<END_OF_HEADER; |
60 |
- |
61 |
-<LINK REL="stylesheet" TYPE="text/css" HREF="/server-common/css/manager.css"> |
62 |
- |
63 |
-<TABLE CELLSPACING="0" BORDER="0" CELLPADDING="1" ALIGN="LEFT" WIDTH="100%"> |
64 |
- <TR VALIGN="BOTTOM"> |
65 |
- <TD BACKGROUND="/server-common/banner-shim.gif"> |
66 |
- <IMG BORDER="0" ALT="SME Server ezmlm-web" SRC="/server-common/smeserver_logo.gif"> |
67 |
- </TD> |
68 |
- </TR> |
69 |
-</TABLE> |
70 |
- |
71 |
-<BR CLEAR="ALL"> |
72 |
-<FONT FACE="Helvetica,Arial"> |
73 |
-END_OF_HEADER |
74 |
- |
75 |
-# $HTML_HEADER = '<TABLE BORDER="3" ALIGN="CENTER" CELLPADDING="5"><TR><TD BGCOLOR="#ffffff"><FONT SIZE=+3 COLOR=#000000><STRONG>E Z Mailing List Manager</STRONG></FONT></TD></TR></TABLE></CENTER><P>'; |
76 |
-$HTML_HEADER .= '<TABLE BORDER="0" CELLPADDING="5" CELLSPACING="5" ALIGN="CENTER" WIDTH="99%"><TR><TD BGCOLOR="#ffffff">'; |
77 |
- |
78 |
-# Footer for every page (.= concatinates) |
79 |
-$HTML_FOOTER = '</TD></TR></TABLE>'; |
80 |
-$HTML_FOOTER .= '<TABLE BORDER="0" CELLPADDING="5" CELLSPACING="5" ALIGN="CENTER" WIDTH="99%"><TR><TD BGCOLOR="#e0e0ff">'; |
81 |
-$HTML_FOOTER .= '<FONT SIZE="-1"><A HREF="http://rucus.ru.ac.za/~guy/ezmlm/#ezmlm-web" TARGET="_blank">ezmlm-web</A> (v2.1) A web interface to <A HREF="http://www.ezmlm.org/" TARGET="_blank">ezmlm</A></FONT></TD></TR></TABLE>'; |
82 |
- |
83 |
-# What colour do we want the background to be? |
84 |
-# $HTML_BGCOLOR = '#000080'; |
85 |
-$HTML_BGCOLOR = '#FFFFFF'; |
86 |
- |
87 |
-# What colour do we want text? |
88 |
-$HTML_TEXT = '#000000'; |
89 |
- |
90 |
-# What color do we want links? |
91 |
-$HTML_LINK = '#3333ff'; |
92 |
- |
93 |
-# What color to we want visited links? |
94 |
-$HTML_VLINK = '#8888ff'; |
95 |
- |
96 |
-# What is the title of this document? |
97 |
-# $HTML_TITLE = 'E Z Mailing List Manager'; |
98 |
-$HTML_TITLE = 'Mailing Lists'; |
99 |
+my $options= ($ezmlm->{options} || 'aBDFGHiJkLMNOpQRSTUWx'; |
100 |
+$OUT .= "\$DEFAULT_OPTIONS = '$options'"; |
101 |
|
102 |
-# --------------------------------------------------------------------------- |
103 |
+my $title= ($ezmlm->{title} || 'Koozali SME Server Mailing List Manager'; |
104 |
+$OUT .= "# What is the title of this document? |
105 |
+\$HTML_TITLE = '$title';"; |
106 |
+ |
107 |
+ |
108 |
+$OUT .= <<'EOF'; |
109 |
+# Optional: some permanent links (visible in the top right corner) |
110 |
+#@HTML_LINKS = ( |
111 |
+# { name => 'ezmlm-web homepage', |
112 |
+# url => 'https://systemausfall.org/toolforge/ezmlm-web' }, |
113 |
+# { name => 'domain\'s root', |
114 |
+# url => '/'}, |
115 |
+# ); |
116 |
+ |
117 |
+# Multi-Domain-Support |
118 |
+# This is a quite advanced setting for special installations. |
119 |
+# Most people should just ignore it. |
120 |
+# Anyway - if you want to control more than one directory containing |
121 |
+# different lists, then you should: |
122 |
+# 1) copy examples/multidomain.conf.dist to /etc/ezmlm-web/multidomain.conf |
123 |
+# 2) adjust /etc/ezmlm-web/multidomain.conf to your setup |
124 |
+# 3) uncomment the following line |
125 |
+# 4) make sure that your multi domain settings are not overriden by settings below |
126 |
+#warn "multidomain.conf failed" unless (defined do "/etc/ezmlm-web/multidomain.conf"); |
127 |
+ |
128 |
+# Where do we store the dotqmail files of this user? |
129 |
+# (defaults to the home directory of the executing user) |
130 |
+# You will have to change this value, if you use a multi domain |
131 |
+# vpopmail setup. Otherwise just leave the setting turned off. |
132 |
+# BEWARE: the (resulting) path MUST be absolute (starting with a slash)! |
133 |
+#$DOTQMAIL_DIR = "/home/vpopmail/domain"; |
134 |
+ |
135 |
+# Where is the webusers file for access-permissions |
136 |
+# defaults to "$LIST_DIR/webusers" |
137 |
+#$WEBUSERS_FILE = "$LIST_DIR/webusers"; |
138 |
+ |
139 |
+# default mailing list domain name (optional) |
140 |
+#$MAIL_DOMAIN = "lists.someserver.org"; |
141 |
+ |
142 |
+# default prefix of the local part of the addresses of mailing lists |
143 |
+# useful for some qmail-ldap setups |
144 |
+#$MAIL_ADDRESS_PREFIX = "lists-"; |
145 |
|
146 |
-# The meanings of the various ezmlm-make command line switches. The default |
147 |
-# ones match the ezmlm-idx 0.4 default ezmlmrc ... Alter them to suit your |
148 |
-# own ezmlmrc. Removing options from this list makes them unavailable |
149 |
-# through ezmlm-web - this could be useful for things like -w |
150 |
- |
151 |
-%EZMLM_LABELS = ( |
152 |
-# option => ['Short Name', |
153 |
-# 'Long Help Description'], |
154 |
- |
155 |
- a => ['Archived', |
156 |
- 'Ezmlm will archive new messages'], |
157 |
- b => ['Block archive', |
158 |
- 'Only moderators are allowed to access the archive'], |
159 |
-# c => config. This is implicity called, so is not defined here |
160 |
- d => ['Digest', |
161 |
- 'Set up a digest list to disseminate digest of the list messages'], |
162 |
-# e => edit. Also implicity called, so not defined here |
163 |
- f => ['Prefix', |
164 |
- 'Outgoing subject will be prefixed with the list name'], |
165 |
- g => ['Guard Archive', |
166 |
- 'Archive access requests from unrecognized SENDERs will be rejected'], |
167 |
- h => ['Help subscription', |
168 |
- 'Subscriptions do not require confirmation'], |
169 |
- i => ['Indexed', |
170 |
- 'Indexed for WWW archive access'], |
171 |
- j => ['Jump off', |
172 |
- 'Unsubscribe does not require confirmation'], |
173 |
- k => ['Kill', |
174 |
- 'Posts from addresses in dir/deny/ are rejected'], |
175 |
- l => ['Subscriber List', |
176 |
- 'Remote administrators can request a subscriber list'], |
177 |
- m => ['Message Moderation', |
178 |
- 'All incoming messages are moderated'], |
179 |
- n => ['Text Editing', |
180 |
- 'Allow remote administrators to edit files in dir/text/'], |
181 |
- o => ['Others rejected', |
182 |
- 'Posts from addresses other than moderators are rejected'], |
183 |
- p => ['Public', |
184 |
- 'List will respond to administrative requests and archive retrieval'], |
185 |
- q => ['Service Request Address', |
186 |
- 'Process commands sent in the subject to local-request@host'], |
187 |
- r => ['Remote Admin', |
188 |
- 'Enable remote adminstration of the list'], |
189 |
- s => ['Subscription Moderation', |
190 |
- 'Subscriptions to the main list and digest will be moderated'], |
191 |
- t => ['Trailer', |
192 |
- 'Add a trailer to outgoing messages'], |
193 |
- u => ['User Posts Only', |
194 |
- 'Posts from unrecognized SENDER addresses will be rejected'], |
195 |
-# v => version. I doubt you will really need this ;-) |
196 |
- w => ['Remove Warn', |
197 |
- 'Remove the ezmlm-warn(1) invocations from the list setup. It is assumed that ezmlm-warn(1) is run by other means'], |
198 |
- x => ['Extra', |
199 |
- 'Strip certain mimetypes, etc'], |
200 |
-# y => not used |
201 |
-# z => not used |
202 |
- |
203 |
-# These all take an extra argument, which is the default value to use |
204 |
- |
205 |
-# 0 => ['Sublist', |
206 |
-# 'Make the list a sublist of list mainlist@host', |
207 |
-# 'mainlist@host'], |
208 |
-# 1 => not used |
209 |
-# 2 => not used |
210 |
-# 3 => ['From Address', |
211 |
-# 'Replace the "From:" header of the message with "From: fromarg"', |
212 |
-# 'fromarg'], |
213 |
-# 4 => ['Digest Options', |
214 |
-# 'Switches for ezmlm-tstdig(1)', |
215 |
-# '-t24 -m30 -k64'], |
216 |
- 5 => ['List Owner', |
217 |
- 'The email address of the list owner', |
218 |
- ''], |
219 |
-# 6 => ['SQL Database', |
220 |
-# 'SQL database connect information. Requires SQL support', |
221 |
-# 'host:port:user:password:datab:table'], |
222 |
-# 7 => ['Message Moderation Path', |
223 |
-# 'Make /path the path to the database for message moderators, if the list is set up for message moderation', |
224 |
-# '/some/full/path'], |
225 |
-# 8 => ['Subscription Moderation Path', |
226 |
-# 'Make /path the path to the database for message moderators, if the list is set up for message moderation', |
227 |
-# '/some/full/path'], |
228 |
-# 9 => ['Remote Admin Path', |
229 |
-# 'Make /path the path to the database for message moderators, if the list is set up for message moderation', |
230 |
-# '/some/full/path'] |
231 |
- |
232 |
-); |
233 |
- |
234 |
-# This list defines most of the context sensitive help in ezmlm-web. What |
235 |
-# isn't defined here is the options, which are defined above ... You can |
236 |
-# alter these if you feel something else would make more sense to your users |
237 |
-# Just be careful of what can fit on a screen! |
238 |
- |
239 |
-%HELPER = ( |
240 |
- |
241 |
- # These should be self explainitory |
242 |
- addaddress => 'You may enter any RFC822 compliant email address here, including the comment part. For example; J Random User <jru@on.web.za>', |
243 |
- addaddressfile => 'or you may enter the filename of a plain text file containing multiple RFC822 email addresses, one per line', |
244 |
- moderator => 'Moderators: people who control who may subscribe or post to a list', |
245 |
- deny => 'Deny: A list of addresses that are _never_ allowed to mail the list', |
246 |
- allow => 'Allow: A list of address that are allowed to mail the list even if the configuration otherwise restricts it', |
247 |
- digest => 'Digest: People who will recieve a digest of all messages on the list', |
248 |
- webarch => 'View the web based archive of this list', |
249 |
- config => 'This lets you alter the way the list is set up', |
250 |
- listname => 'This is the name of the list as displayed on the Select Lists screen. It is also the name of the subdirectory that contains the list', |
251 |
- listadd => 'This is the email address of the list. Note that the defaults come from your qmail config. You should just update the local part (before the @)', |
252 |
- webusers => 'NB! At this stage, any users specified here must exist. User creation may be added in future versions', |
253 |
- prefix => 'Text to add to the subject line of all outgoing messages', |
254 |
- headerremove => 'This is a list of headers to remove from all outgoing mail', |
255 |
- headeradd => 'This is a list of headers to add to all outging mail', |
256 |
- mimeremove => 'All messages whose Content-Type matches these mime types will be bounced back to sender', |
257 |
- allowedit => 'Comma separated list of usernames, or <CODE>ALL</CODE> (all valid users)', |
258 |
- mysqlcreate => 'This will create the necessary MySQL tables if the list configuration above requires it' |
259 |
- |
260 |
-); |
261 |
- |
262 |
-# This defines the captions of each of the buttons in ezmlm-web, and allows |
263 |
-# you to configure them for your own language or taste. Since these are used |
264 |
-# by the switching algorithm it is important that every button has a unique |
265 |
-# caption - ie we can't have two 'Edit' buttons doing different things. |
266 |
- |
267 |
-%BUTTON = ( |
268 |
- |
269 |
- # These MUST all be unique! |
270 |
- create => 'Create', |
271 |
- createlist => 'Create List', |
272 |
- edit => 'Edit', |
273 |
- delete => 'Delete', |
274 |
- deleteaddress => 'Delete Address', |
275 |
- addaddress => 'Add Address', |
276 |
- moderators => 'Moderators', |
277 |
- denylist => 'Deny List', |
278 |
- allowlist => 'Allow List', |
279 |
- digestsubscribers => 'Digest Subscribers', |
280 |
- configuration => 'Configuration', |
281 |
- yes => 'Yes', |
282 |
- no => 'No', |
283 |
- updateconfiguration => 'Update Configuration', |
284 |
- edittexts => 'Edit Texts', |
285 |
- editfile => 'Edit File', |
286 |
- savefile => 'Save File', |
287 |
- webarchive => 'Web Archive', |
288 |
- selectlist => 'Select List', |
289 |
- subscribers => 'Subscribers', |
290 |
- cancel => 'Cancel', |
291 |
- resetform => 'Reset Form', |
292 |
- |
293 |
-); |
294 |
- |
295 |
-# This defines the fixed text strings that are used in ezmlm-web. By editing |
296 |
-# these along with the button labels and help texts, you can convert ezmlm-web |
297 |
-# to another language :-) If anyone gets arround to doing complete templates |
298 |
-# for other languages I would appreciate a copy so that I can include it in |
299 |
-# future releases of ezmlm-web. |
300 |
- |
301 |
-%LANGUAGE = ( |
302 |
- nop => 'Action not yet implemented', |
303 |
-# chooselistinfo => "<UL><LI>Choose a mailing list from the selection box or click on [$BUTTON{'create'}].<LI>Click on the [$BUTTON{'edit'}] button if you want to edit the selected list.<LI>Click on the [$BUTTON{'delete'}] button if you want to delete the selected list.</UL>", |
304 |
- chooselistinfo => "<UL><LI>Choose a mailing list from the selection box and click on the [$BUTTON{'edit'}] button to edit the selected list.</LI></UL>", |
305 |
- confirmdelete => 'Confirm deletion of', # list name |
306 |
- subscribersto => 'Subscribers to', # list name |
307 |
- subscribers => 'subscribers', |
308 |
- additionalparts => 'Additional list parts', |
309 |
- posting => 'Posting', |
310 |
- subscription => 'Subscription', |
311 |
- remoteadmin => 'Remote Admin', |
312 |
- for => 'for', # as in; moderators for blahlist |
313 |
- createnew => 'Create a New List', |
314 |
- listname => 'List Name', |
315 |
- listaddress => 'List Address', |
316 |
- listoptions => 'List Options', |
317 |
- allowedtoedit => 'Users allowed to edit this list', |
318 |
- editconfiguration => 'Edit the List Configuration', |
319 |
- prefix => 'Subject prefix for outgoing messages', |
320 |
- headerremove => 'Headers to strip from all outgoing mail', |
321 |
- headeradd => 'Headers to add to all outgoing mail', |
322 |
- mimeremove => 'Mime types to strip from all outgoing mail', |
323 |
- edittextinfo => "The box on the left contains a list of files available in the<BR>DIR/text directory. These files are sent out in response to specfic user request, or as part of all outgoing messages<P>To edit a file, select its name from the box. Then click on the [$BUTTON{'editfile'}] button.<P>Press [$BUTTON{'cancel'}] when you have finished editing.", |
324 |
- editingfile => 'Editing File', |
325 |
- editfileinfo => '<BIG><STRONG>ezmlm-manage</STRONG></BIG><BR><TT><STRONG><#l#></STRONG></TT> The list name<BR><TT><STRONG><#A#></STRONG></TT> The subscription address<BR><TT><STRONG><#R#></STRONG></TT> The address a subscriber must reply to<P><BIG><STRONG>ezmlm-store</STRONG></BIG><BR><TT><STRONG><#l#></STRONG></TT> The list name<BR><TT><STRONG><#A#></STRONG></TT> The acceptance address<BR><TT><STRONG><#R#></STRONG></TT> The rejection address</UL>', |
326 |
- mysqlcreate => 'Create the MySQL database tables if necessary', |
327 |
+# Which interface type should be displayed by default? |
328 |
+# available values are: easy, normal and expert |
329 |
+EOF |
330 |
|
331 |
-); |
332 |
+my $interface=$ezmlm->{interface} || 'normal'; |
333 |
+$OUT .= "\$DEFAULT_INTERFACE_TYPE = '$interface';" |
334 |
|
335 |
-# === Configuration file ends === |
336 |
+$OUT .= <<'EOF'; |
337 |
+ |
338 |
+# exclude some interface options from being displayed |
339 |
+# BEWARE: this does not protect the specific option from being changed. |
340 |
+# It just hides the visible interface items. Anyone can still craft a manual |
341 |
+# http request, that could change the specified options. |
342 |
+# See the list of filenames below $TEMPLATE_DIR/config_options/. The |
343 |
+# blacklist may contain any of these filenames (without '.cs' extension). |
344 |
+#$INTERFACE_OPTIONS_BLACKLIST = ('lang_select', 'mime_reject'); |
345 |
+ |
346 |
+# use a cascading style sheet (css) |
347 |
+# the setting is interpreted as a URL |
348 |
+# this setting was formerly known as "HTML_CSS_FILE" |
349 |
+$HTML_CSS_COMMON = "/ezmlm-web/default.css"; |
350 |
+ |
351 |
+# choose a coloring scheme - the available files are: |
352 |
+# color-blue-gray: default style used before v3.2 |
353 |
+# color-red-blue: use gradients instead of plain colors (since v3.2) |
354 |
+# |
355 |
+# be aware, that some stylesheets may require additional graphic |
356 |
+# files in the same directory |
357 |
+$HTML_CSS_COLOR = "/ezmlm-web/color-red-blue.css"; |
358 |
+ |
359 |
+# the default interface language |
360 |
+# all other available translation are available via the web interface |
361 |
+# the configured preferred browser language of a user can override this |
362 |
+# setting individually |
363 |
+$HTML_LANGUAGE = "en"; |
364 |
|
365 |
+# enabled support for encrypted mailing lists - defaults to 0 (off). |
366 |
+# This include keyring management and mailing list handling in general. |
367 |
EOF |
368 |
|
369 |
+my $encryption= ($ezmlm->{encryption} eq 'enabled' )? 1 : 0; |
370 |
+$OUT .="\$ENCRYPTION_SUPPORT = $encryption;"; |
371 |
+ |
372 |
+$OUT .= <<'EOF'; |
373 |
+# Define the default location of gnupg keyrings used for mailing list |
374 |
+# encryption. If the location starts with a slash ('/'), then it is considered |
375 |
+# to be an absolute path. Otherwise it is relative to the current list |
376 |
+# directory. For the ezmlm-gpg mailing list encryption system, the default |
377 |
+# (".gnupg") is usable. |
378 |
+$GPG_KEYRING_DEFAULT_LOCATION = ".gnupg"; |
379 |
+ |
380 |
+# Prints Error/Warning messages instead of "Internal Server Error" page. |
381 |
+# It's recommend to disable (set to 0) in production mode.. |
382 |
+# 0 = disabled |
383 |
+# 1 = enabled |
384 |
+# defaults to 0 |
385 |
+EOF |
386 |
+ |
387 |
+my $debug= ($ezmlm->{debug} eq 'enabled' )? 1 : 0; |
388 |
+$OUT .="\$DEBUG = $debug;"; |
389 |
+ |
390 |
} |
391 |
--- smeserver-ezmlm-web-1.1.2/root/etc/e-smith/templates/etc/ezmlm/ezmlmwebrc/BODY.ori 2016-04-20 23:45:57.677000000 -0400 |
392 |
+++ smeserver-ezmlm-web-1.1.2/root/etc/e-smith/templates/etc/ezmlm/ezmlmwebrc/BODY 2016-04-20 23:50:42.586000000 -0400 |
393 |
@@ -2,29 +2,25 @@ |
394 |
|
395 |
$OUT = <<'EOF'; |
396 |
|
397 |
-# $Id: ezmlmwebrc,v 1.5 2000/09/25 18:25:26 guy Exp $ |
398 |
-# Configuration file for ezmlm-web 2.1 |
399 |
+# Configuration file for ezmlm-web 3.3 |
400 |
# =========================================================================== |
401 |
|
402 |
# This file is not just an ordinary configuration file - it contains valid |
403 |
# perl statements that are executed just like any other perl script. When |
404 |
# editing this file, be careful that it is still valid perl when you have |
405 |
# finished (perl -w ezmlmwebrc ;-) |
406 |
- |
407 |
-# It is divided into to logical parts. The first part configures the way |
408 |
-# ezmlm-web runs, and the second changes the language, etc of ezmlm-web. You |
409 |
-# can not arbitarilly exclude any statement, since the script doesn't define |
410 |
-# any defaults of its own. You could, however, always split this file up and |
411 |
-# include the parts with |
412 |
# |
413 |
-# require('/path/to/other/part'); |
414 |
- |
415 |
-$opt_c = 1; # No list creation or deletion |
416 |
+# See the manpage of ezmlmwebrc(5) for a list of all available configuration |
417 |
+# settings. |
418 |
|
419 |
# --------------------------------------------------------------------------- |
420 |
|
421 |
-# Path to the ezmlm-web 3.3.1 template and laguage files |
422 |
+# Where are the language files |
423 |
+# usually something like /usr/local/share/ezmlm-web/lang |
424 |
$LANGUAGE_DIR = "/usr/local/share/ezmlm-web/lang"; |
425 |
+ |
426 |
+# Where are the template files |
427 |
+# usually something like /usr/local/share/ezmlm-web/template |
428 |
$TEMPLATE_DIR ="/usr/local/share/ezmlm-web/template"; |
429 |
|
430 |
# Where do we store lists on this server ... Try "$HOME_DIR/lists". |