diff options
| author | mailman | 1998-03-13 04:08:47 +0000 |
|---|---|---|
| committer | mailman | 1998-03-13 04:08:47 +0000 |
| commit | b5a7905b43389f146d88a8c7139d4b2b708cf8ae (patch) | |
| tree | ac93415a379ddce1546f183e1d41afb11442e06f /modules/mm_defaults.py | |
| parent | 2e5c3bb368adf8e7659434f004fc317019541094 (diff) | |
| download | mailman-b5a7905b43389f146d88a8c7139d4b2b708cf8ae.tar.gz mailman-b5a7905b43389f146d88a8c7139d4b2b708cf8ae.tar.zst mailman-b5a7905b43389f146d88a8c7139d4b2b708cf8ae.zip | |
Changing over to external pipermail archive:
- new vars {PUBLIC,PRIVATE}_ARCHIVE_FILE_DIR,
DEFAULT_ARCHIVE_PRIVATE, specify the location of the dirs for the
public and private archives, and the choice of which is to be used
- public is default.
- Retired archive_update_frequency stuff, retain_text_copy option
(that's now all that we retain, in the archive dir
Providing option for administrator to received immediate notice of new
pending queued requests - DEFAULT_ADMIN_IMMED_NOTIFY - defaults to
true.
Added periodic (with help of senddigest cron job) digest transmission
in addition to size-threshhold triggering, and periodic mechanism
enabled by new option DEFAULT_DIGEST_SEND_PERIODIC, by default *on*.
Enabled bounce processing by default.
Added comments to bounce_matching_headers expr, incliding a comment
explaining them in the template.
Diffstat (limited to 'modules/mm_defaults.py')
| -rw-r--r-- | modules/mm_defaults.py | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/modules/mm_defaults.py b/modules/mm_defaults.py index 010423d4b..0f8d7feb0 100644 --- a/modules/mm_defaults.py +++ b/modules/mm_defaults.py @@ -9,7 +9,7 @@ this file, to override the distributed defaults with site-specific ones. import os VERSION = '1.0b1.1' -__version__ = VERSION + "$Revision: 163 $" +__version__ = VERSION + "$Revision: 176 $" # Many site-specific settings # @@ -27,6 +27,9 @@ CGI_DIR = os.path.join(HOME_DIR, 'cgi-bin') LOG_DIR = os.path.join(HOME_DIR, 'logs') LOCK_DIR = os.path.join(MAILMAN_DIR, 'locks') TEMPLATE_DIR = os.path.join(MAILMAN_DIR, 'templates') +PUBLIC_ARCHIVE_FILE_DIR = os.path.join(HOME_DIR, 'archives/public') +PRIVATE_ARCHIVE_FILE_DIR = os.path.join(HOME_DIR, 'archives/private') +DEFAULT_ARCHIVE_PRIVATE = 0 # 0=public, 1=private HOME_PAGE = 'index.html' MAILMAN_OWNER = 'mailman-owner@%s' % DEFAULT_HOST_NAME @@ -53,12 +56,17 @@ DEFAULT_MSG_FOOTER = """------------------------------------------------------ # List Accessibility Defaults # +# Is admin notified of admin requests immediately by mail, as well as by +# daily pending-request reminder? +DEFAULT_ADMIN_IMMED_NOTIFY = 1 DEFAULT_MODERATED = 0 # Bounce if 'to' or 'cc' fields don't explicitly name list (anti-spam)? DEFAULT_REQUIRE_EXPLICIT_DESTINATION = 1 # {header-name: regexp} spam filtering - we include one for example sake! DEFAULT_BOUNCE_MATCHING_HEADERS = """ +# Lines that *start* with a '#' are comments. to: friend@public.com +message-id: relay.comanche.denmark.eu """ # Replies to posts inherently directed to list or original sender? DEFAULT_REPLY_GOES_TO_LIST = 0 @@ -84,18 +92,21 @@ DEFAULT_DIGEST_HEADER = "" DEFAULT_DIGEST_FOOTER = DEFAULT_MSG_FOOTER DEFAULT_DIGEST_IS_DEFAULT = 0 -DEFAULT_DIGEST_SIZE_THRESHOLD = 30 # KB -# 0 = never, 1 = daily, 2 = hourly: -DEFAULT_ARCHIVE_UPDATE_FREQUENCY = 2 -# 0 = yearly, 1 = monthly -DEFAULT_ARCHIVE_VOLUME_FREQUENCY = 0 -# Retain a flat text mailbox of postings as well as the fancy archives? -DEFAULT_ARCHIVE_RETAIN_TEXT_COPY = 1 +DEFAULT_DIGEST_SIZE_THRESHHOLD = 30 # KB +DEFAULT_DIGEST_SEND_PERIODIC = 1 +# We're only retaining the text file, an external pipermail (andrew's +# newest version) is pointed at the retained text copies. +## # 0 = never, 1 = daily, 2 = hourly: +## DEFAULT_ARCHIVE_UPDATE_FREQUENCY = 2 +## # 0 = yearly, 1 = monthly +## DEFAULT_ARCHIVE_VOLUME_FREQUENCY = 0 +## # Retain a flat text mailbox of postings as well as the fancy archives? +## DEFAULT_ARCHIVE_RETAIN_TEXT_COPY = 1 # Bounce Processing Defaults # # Should we do any bounced mail checking at all? -DEFAULT_BOUNCE_PROCESSING = 0 +DEFAULT_BOUNCE_PROCESSING = 1 # Minimum number of days that address has been undeliverable before # we consider nuking it.. DEFAULT_MINIMUM_REMOVAL_DATE = 5 |
