summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mailman/Defaults.py.in24
-rw-r--r--modules/mm_defaults.py24
-rw-r--r--modules/mm_defaults.py.in24
3 files changed, 69 insertions, 3 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in
index 1b157b3c3..7dbecf600 100644
--- a/Mailman/Defaults.py.in
+++ b/Mailman/Defaults.py.in
@@ -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
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
diff --git a/modules/mm_defaults.py.in b/modules/mm_defaults.py.in
index 1b157b3c3..7dbecf600 100644
--- a/modules/mm_defaults.py.in
+++ b/modules/mm_defaults.py.in
@@ -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