summaryrefslogtreecommitdiff
path: root/modules/mm_defaults.py
diff options
context:
space:
mode:
authorklm1998-04-07 04:43:38 +0000
committerklm1998-04-07 04:43:38 +0000
commitf78b3b27a8c5739638d421e4e33af13fcbf64fd8 (patch)
treea4e573b8b5def4075a6ca44de0cda7d2d24044d9 /modules/mm_defaults.py
parent59146adb245a1fd6698d2a6794b327b1bbab3e07 (diff)
downloadmailman-f78b3b27a8c5739638d421e4e33af13fcbf64fd8.tar.gz
mailman-f78b3b27a8c5739638d421e4e33af13fcbf64fd8.tar.zst
mailman-f78b3b27a8c5739638d421e4e33af13fcbf64fd8.zip
Diffstat (limited to 'modules/mm_defaults.py')
-rw-r--r--modules/mm_defaults.py24
1 files changed, 23 insertions, 1 deletions
diff --git a/modules/mm_defaults.py b/modules/mm_defaults.py
index 1b157b3c3..7dbecf600 100644
--- a/modules/mm_defaults.py
+++ b/modules/mm_defaults.py
@@ -9,12 +9,13 @@ this file, to override the distributed defaults with site-specific ones.
import os
VERSION = '1.0b1.2'
-__version__ = VERSION + "$Revision: 305 $"
+__version__ = VERSION + "$Revision: 342 $"
# Many site-specific settings #
MAILMAN_URL = 'http://www.python.org/ftp/python/contrib/Network/mailman/'
DEFAULT_HOST_NAME = 'OVERRIDE.WITH.YOUR.MX.OR.HOST.NAME'
+SMTPHOST = 'localhost'
SENDMAIL_CMD = '/usr/lib/sendmail -f %s %s' # yours may be different
DEFAULT_URL = 'http://www.OVERRIDE.WITH.YOUR.HOST/mailman/'
ARCHIVE_URL = 'http://www.OVERRIDE.WITH.YOUR.ARCHIVE.DIR/'
@@ -54,6 +55,27 @@ DEFAULT_MSG_FOOTER = """------------------------------------------------------
%(web_page_url)slistinfo/%(_internal_name)s
"""
+MESSAGE_DECORATION_NOTE = """This text can include %(field)s format strings
+which is resolved against the list's attribute dictionary (__dict__). Some
+useful fields are:
+
+<dl>
+ <dt>real_name
+ <dd>The "pretty" name of the list, with capitalization.
+ <dt>_internal_name
+ <dd>The name by which the list is identified in URLs, where case
+ is germane.
+ <dt>host_name
+ <dd>The domain-qualified host name where the list server runs.
+ <dt>web_page_url
+ <dd>The mailman root URL to which, eg, 'listinfo/%(_internal_name)
+ can be appended to yield the listinfo page for the list.
+ <dt>description
+ <dd>The brief description of the list.
+ <dt>info
+ <dd>The less brief paragraph or two describing the list.
+"""
+
# List Accessibility Defaults #
# Is admin notified of admin requests immediately by mail, as well as by