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 |
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 |
--- 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 |
+++ smeserver-ezmlm-web-1.1.2/root/etc/e-smith/templates/etc/ezmlm/ezmlmwebrc/BODY 2016-04-20 12:48:20.128000000 -0400 |
|
@@ -2,30 +2,31 @@ |
|
|
|
|
|
$OUT = <<'EOF'; |
|
|
|
|
|
-# $Id: ezmlmwebrc,v 1.5 2000/09/25 18:25:26 guy Exp $ |
|
|
-# Configuration file for ezmlm-web 2.1 |
|
|
+# Minimal configuration file for ezmlm-web 3.3 |
|
|
# =========================================================================== |
|
|
|
|
|
# This file is not just an ordinary configuration file - it contains valid |
|
|
# perl statements that are executed just like any other perl script. When |
|
|
# editing this file, be careful that it is still valid perl when you have |
|
|
# finished (perl -w ezmlmwebrc ;-) |
|
|
- |
|
|
-# It is divided into to logical parts. The first part configures the way |
|
|
-# ezmlm-web runs, and the second changes the language, etc of ezmlm-web. You |
|
|
-# can not arbitarilly exclude any statement, since the script doesn't define |
|
|
-# any defaults of its own. You could, however, always split this file up and |
|
|
-# include the parts with |
|
|
-# |
|
|
-# require('/path/to/other/part'); |
|
|
- |
|
|
-$opt_c = 1; # No list creation or deletion |
|
|
+#. |
|
|
+# See the manpage of ezmlmwebrc(5) for a list of all available configuration |
|
|
+# settings. |
|
|
|
|
|
# --------------------------------------------------------------------------- |
|
|
|
|
|
-# Path to the ezmlm-web 3.3.1 template and laguage files |
|
|
+# Where do we store lists on this server ... Try "$HOME_DIR/lists".. |
|
|
+# This directory will automatically be created if needed. |
|
|
+# BEWARE: the (resulting) path MUST be absolute (starting with a slash)! |
|
|
+$LIST_DIR = "$HOME_DIR/lists"; |
|
|
+ |
|
|
+# Where are the language files |
|
|
+# usually something like /usr/local/share/ezmlm-web/lang |
|
|
$LANGUAGE_DIR = "/usr/local/share/ezmlm-web/lang"; |
|
|
-$TEMPLATE_DIR ="/usr/local/share/ezmlm-web/template"; |
|
|
+ |
|
|
+# Where are the template files |
|
|
+# usually something like /usr/local/share/ezmlm-web/template |
|
|
+$TEMPLATE_DIR = "/usr/local/share/ezmlm-web/template"; |
|
|
|
|
|
# Where do we store lists on this server ... Try "$HOME_DIR/lists". |
|
|
# This directory will automatically be created if needed. |
|
29 |
@@ -43,12 +44,6 @@ |
@@ -43,12 +44,6 @@ |
30 |
# Where do the qmail control files live on this system ... |
# Where do the qmail control files live on this system ... |
31 |
$QMAIL_BASE = $Mail::Ezmlm::QMAIL_BASE . '/control'; |
$QMAIL_BASE = $Mail::Ezmlm::QMAIL_BASE . '/control'; |
96 |
-# What is the title of this document? |
-# What is the title of this document? |
97 |
-# $HTML_TITLE = 'E Z Mailing List Manager'; |
-# $HTML_TITLE = 'E Z Mailing List Manager'; |
98 |
-$HTML_TITLE = 'Mailing Lists'; |
-$HTML_TITLE = 'Mailing Lists'; |
99 |
+my $options= ($ezmlm->{options} || 'aBDFGHiJkLMNOpQRSTUWx'; |
+my $options= $ezmlm{options} || 'aBDFGHiJkLMNOpQRSTUWx'; |
100 |
+$OUT .= "\$DEFAULT_OPTIONS = '$options'"; |
+$OUT .= "\$DEFAULT_OPTIONS = '$options';\n"; |
101 |
|
|
102 |
-# --------------------------------------------------------------------------- |
-# --------------------------------------------------------------------------- |
103 |
+my $title= ($ezmlm->{title} || 'Koozali SME Server Mailing List Manager'; |
+my $title= $ezmlm{title} || 'Koozali SME Server Mailing List Manager'; |
104 |
+$OUT .= "# What is the title of this document? |
+$OUT .= "# What is the title of this document?\n"; |
105 |
+\$HTML_TITLE = '$title';"; |
+$OUT .= "\$HTML_TITLE = '$title';\n"; |
106 |
+ |
+ |
107 |
+ |
+ |
108 |
+$OUT .= <<'EOF'; |
+$OUT .= <<'EOF'; |
329 |
+EOF |
+EOF |
330 |
|
|
331 |
-); |
-); |
332 |
+my $interface=$ezmlm->{interface} || 'normal'; |
+my $interface=$ezmlm{interface} || 'normal'; |
333 |
+$OUT .= "\$DEFAULT_INTERFACE_TYPE = '$interface';" |
+$OUT .= "\$DEFAULT_INTERFACE_TYPE = '$interface';"; |
334 |
|
|
335 |
-# === Configuration file ends === |
-# === Configuration file ends === |
336 |
+$OUT .= <<'EOF'; |
+$OUT .= <<'EOF'; |
366 |
+# This include keyring management and mailing list handling in general. |
+# This include keyring management and mailing list handling in general. |
367 |
EOF |
EOF |
368 |
|
|
369 |
+my $encryption= ($ezmlm->{encryption} eq 'enabled' )? 1 : 0; |
+my $encryption= ($ezmlm{encryption} eq 'enabled' )? 1 : 0; |
370 |
+$OUT .="\$ENCRYPTION_SUPPORT = $encryption;"; |
+$OUT .="\$ENCRYPTION_SUPPORT = $encryption;\n"; |
371 |
+ |
+ |
372 |
+$OUT .= <<'EOF'; |
+$OUT .= <<'EOF'; |
373 |
+# Define the default location of gnupg keyrings used for mailing list |
+# Define the default location of gnupg keyrings used for mailing list |
384 |
+# defaults to 0 |
+# defaults to 0 |
385 |
+EOF |
+EOF |
386 |
+ |
+ |
387 |
+my $debug= ($ezmlm->{debug} eq 'enabled' )? 1 : 0; |
+my $debug= ($ezmlm{debug} eq 'enabled' )? 1 : 0; |
388 |
+$OUT .="\$DEBUG = $debug;"; |
+$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". |