summaryrefslogtreecommitdiff
path: root/Mailman/Defaults.py.in
diff options
context:
space:
mode:
authorbwarsaw1999-11-29 20:57:25 +0000
committerbwarsaw1999-11-29 20:57:25 +0000
commita750829b83b09024855b93b83ab75f7af7b3aa66 (patch)
treeaabc6063faf9a8f062d558e396db605e5a561029 /Mailman/Defaults.py.in
parenteb7e240b73ba3e891d093e696a86ef522d7bfa1d (diff)
downloadmailman-a750829b83b09024855b93b83ab75f7af7b3aa66.tar.gz
mailman-a750829b83b09024855b93b83ab75f7af7b3aa66.tar.zst
mailman-a750829b83b09024855b93b83ab75f7af7b3aa66.zip
Fixed the comments for PUBLIC_EXTERNAL_ARCHIVER and
PRIVATE_EXTERNAL_ARCHIVER. Get DEFAULT_HOST_NAME and SMTPHOST from the autoconf calculated @FQDN@ parameter, which is the fully qualified local host name. DEFAULT_URL uses the @URL@ value. PUBLIC_ARCHIVE_URL and PRIVATE_ARCHIVE_URL both also have more sensible defaults. Added SMTPPORT, which defaults to 0 (which lets smtplib use its own default).
Diffstat (limited to 'Mailman/Defaults.py.in')
-rw-r--r--Mailman/Defaults.py.in17
1 files changed, 9 insertions, 8 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in
index 3a51a5dca..80fb91fb3 100644
--- a/Mailman/Defaults.py.in
+++ b/Mailman/Defaults.py.in
@@ -35,11 +35,12 @@ DELIVERED_BY_URL = '/images/mailman.jpg'
# Many site-specific settings #
-DEFAULT_HOST_NAME = 'OVERRIDE.WITH.YOUR.MX.OR.HOST.NAME'
-SMTPHOST = 'localhost'
-DEFAULT_URL = 'http://www.OVERRIDE.WITH.YOUR.HOST/mailman/'
-PUBLIC_ARCHIVE_URL = 'http://www.OVERRIDE.WITH.YOUR.PUBLIC.ARCHIVE.URL/'
-PRIVATE_ARCHIVE_URL = 'http://www.OVERRIDE.WITH.YOUR.PRIVATE.ARCHIVE.URL/'
+DEFAULT_HOST_NAME = '@FQDN@'
+SMTPHOST = '@FQDN@'
+SMTPPORT = 0 # default from smtplib
+DEFAULT_URL = 'http://@URL@/mailman/'
+PUBLIC_ARCHIVE_URL = '/pipermail'
+PRIVATE_ARCHIVE_URL = '/mailman/private'
DEFAULT_ARCHIVE_PRIVATE = 0 # 0=public, 1=private
@@ -63,11 +64,11 @@ ARCHIVE_TO_MBOX = 2
DEFAULT_ARCHIVE_VOLUME_FREQUENCY = 1
# These variables control the use of an external archiver. Normally if
-# archiving is turned on (see ARCHIVE_TO_MBOX about and the list's archive*
-# attributes) the internal Pipermail archiver is used. This is the default if
+# archiving is turned on (see ARCHIVE_TO_MBOX above and the list's archive*
+# attributes) the internal Pipermail archiver is used. This is the default if
# both of these variables are set to false. When either is set, the value
# should be a shell command string which will get passed to os.popen(). This
-# string can contain ${listname}s for dictionary interpolation. The name of
+# string can contain %(listname)s for dictionary interpolation. The name of
# the list being archived will be substituted for this.
#
# Note that if you set one of these variables, you should set both of them