From f78b3b27a8c5739638d421e4e33af13fcbf64fd8 Mon Sep 17 00:00:00 2001 From: klm Date: Tue, 7 Apr 1998 04:43:38 +0000 Subject: New default, SMTPHOST, in preparation to incorporation of john's smtplib in the stead of sendmail. (John, i don't think i'm going to do that immediately, though i'd like to see it done soon.) Including MESSAGE_DECORATION_NOTE describing the useful list-instance attributes that can be included for expansion in messages header and footer texts. --- modules/mm_defaults.py | 24 +++++++++++++++++++++++- modules/mm_defaults.py.in | 24 +++++++++++++++++++++++- 2 files changed, 46 insertions(+), 2 deletions(-) (limited to 'modules') 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: + +
+
real_name +
The "pretty" name of the list, with capitalization. +
_internal_name +
The name by which the list is identified in URLs, where case + is germane. +
host_name +
The domain-qualified host name where the list server runs. +
web_page_url +
The mailman root URL to which, eg, 'listinfo/%(_internal_name) + can be appended to yield the listinfo page for the list. +
description +
The brief description of the list. +
info +
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: + +
+
real_name +
The "pretty" name of the list, with capitalization. +
_internal_name +
The name by which the list is identified in URLs, where case + is germane. +
host_name +
The domain-qualified host name where the list server runs. +
web_page_url +
The mailman root URL to which, eg, 'listinfo/%(_internal_name) + can be appended to yield the listinfo page for the list. +
description +
The brief description of the list. +
info +
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 -- cgit v1.3.1