summaryrefslogtreecommitdiff
path: root/Mailman/Defaults.py.in
diff options
context:
space:
mode:
authorcotton1998-10-20 13:12:09 +0000
committercotton1998-10-20 13:12:09 +0000
commitff27278853c18121bdf9659522d97b8779d1a18f (patch)
tree9d198c536753e342e8b7b7c374622817a968e642 /Mailman/Defaults.py.in
parent95039247e3b3a444947aab043fe34b59bc80d824 (diff)
downloadmailman-ff27278853c18121bdf9659522d97b8779d1a18f.tar.gz
mailman-ff27278853c18121bdf9659522d97b8779d1a18f.tar.zst
mailman-ff27278853c18121bdf9659522d97b8779d1a18f.zip
reinstated old archive to mbox mechanism, but made it configurable to
use mbox archiving only, to use builtin mailman html archiving only, or to use both. this is done with the ARCHIVE_TO_MBOX config variable in Defaults.py. It is set to do both by default to help those that have an external archiver change to the built in one if they want to. scott
Diffstat (limited to 'Mailman/Defaults.py.in')
-rw-r--r--Mailman/Defaults.py.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in
index 61ba02e25..8d8d3cf74 100644
--- a/Mailman/Defaults.py.in
+++ b/Mailman/Defaults.py.in
@@ -38,6 +38,18 @@ PUBLIC_ARCHIVE_URL = 'http://www.OVERRIDE.WITH.YOUR.PUBLIC.ARCHIVE.URL/'
PRIVATE_ARCHIVE_URL = 'http://www.OVERRIDE.WITH.YOUR.PRIVATE.ARCHIVE.URL/'
DEFAULT_ARCHIVE_PRIVATE = 0 # 0=public, 1=private
+
+# ARCHIVE_TO_MBOX
+# 0 - do not archive to mbox, use builtin mailman html archiving only
+# 1 - archive to mbox to use an external archiving mechanism only
+# 2 - archive to both mbox and builtin mailman html archiving -
+# use this to make both external archiving mechanism work and
+# mailman's builtin html archiving. this could be useful if you
+# have lists that use an external archiving mechanism, but want to
+# integrate those archives with mailman's.
+#
+ARCHIVE_TO_MBOX = 2
+
# 0 - yearly
# 1 - month
# 2 - quarter
@@ -45,6 +57,7 @@ DEFAULT_ARCHIVE_PRIVATE = 0 # 0=public, 1=private
# 4 - day
DEFAULT_ARCHIVE_VOLUME_FREQUENCY = 1
+
PUBLIC_ARCHIVE_URL_EXT = ''
PRIVATE_ARCHIVE_URL_EXT = '/'