[Mailman-Users] issues with mm_cfg.py

Knabe, Troy knabe at 4j.lane.edu
Wed Jul 9 16:36:01 CEST 2008


This is my mm_cfg.py but it doesn't appear that mailman is utilizing it.  I had to change my DEFAULT_EMAIL_HOST in Defaults.py in order for it to take affect on install, and now I am trying to set the DEFAULT_MSG_FOOTER and it is not using this one.  Any insights?

cat mm_cfg.py
# -*- python -*-

# Copyright (C) 1998,1999,2000,2001,2002 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

"""This module contains your site-specific settings.

>From a brand new distribution it should be copied to mm_cfg.py.  If you
already have an mm_cfg.py, be careful to add in only the new settings you
want.  Mailman's installation procedure will never overwrite your mm_cfg.py
file.

The complete set of distributed defaults, with documentation, are in the file
Defaults.py.  In mm_cfg.py, override only those you want to change, after the

  from Defaults import *

line (see below).

Note that these are just default settings; many can be overridden via the
administrator and user interfaces on a per-list or per-user basis.

"""

###############################################
# Here's where we get the distributed defaults.

from Defaults import *

##################################################
# Put YOUR site-specific settings below this line.
IMAGE_LOGOS = '/images/'
DEFAULT_EMAIL_HOST = 'mydomain.district.edu'
DEFAULT_MSG_FOOTER = """_______________________________________________
%(real_name)s mailing list
%(real_name)s@%(host_name)s
http://webserver.mydomain.district.edu/staff/mailing
"""


More information about the Mailman-Users mailing list