[Mailman-Users] admindb cgi functions don't work.

Chris Johnson johnson at nmr.mgh.harvard.edu
Mon Dec 22 17:28:44 CET 2003


On 22 Dec 2003, Jon Carnes wrote:

> Those rpms should give you all the Python you need.
> 
> Have you tried "VIRTUAL_HOST_OVERVIEW = 0" in your mm_cfg.py file?

     Uh, nope.....  Um, maybe I'm doing something wrong but I don't
see any difference in listings.  What should I be looking for?

> What does your ~mailman/Mailman/mm_cfg.py file look like? Can you
> include a copy.

     The relevent adds follow.

from Defaults import *
import pwd, grp

##############################################################
#    Here's where we override shipped defaults with settings #
#    suitable for the RPM package.                           #
MAILMAN_UID = pwd.getpwnam('mailman')[2]
MAILMAN_GID = grp.getgrnam('mailman')[2]
MAILMAN_USER = 'mailman'
MAILMAN_GROUP = 'mailman'
LOG_DIR     = '/var/log/mailman'
#QUEUE_DIR   = '/var/spool/mailman/qfiles'

##############################################################
# Put YOUR site-specific configuration below, in mm_cfg.py . #
# See Defaults.py for explanations of the values.            #

DEFAULT_EMAIL_HOST = 'nmr.mgh.harvard.edu'
DEFAULT_URL_HOST = 'www.nmr.mgh.harvard.edu'
MAILMAN_OWNER     = 'mailman-owner@%s' % DEFAULT_HOST_NAME

# Note - if you're looking for something that is imported from mm_cfg,
but you
# didn't find it above, it's probably in Defaults.py.
#
#     add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
#
#
#add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
#
DEFAULT_LIST_ADVERTISED = 0
#
DEFAULT_ADMIN_NOTIFY_MCHANGES = 1
#
DEFAULT_GENERIC_NONMEMBER_ACTION = 2



> 
> Also, have your run "check_perms" on the system yet?
> 

     Yep.  Looks clean.

> Jon Carnes
> 

------------------------------------------------------------------------------- 
Chris Johnson               |Internet: johnson at nmr.mgh.harvard.edu
Systems Administrator       |Web:      http://www.nmr.mgh.harvard.edu/~johnson
NMR Center                  |Voice:    617.726.0949
Mass. General Hospital      |FAX:      617.726.7422
149 (2301) 13th Street      |I've heard men and women say all the good ones are
Charlestown, MA., 02129 USA |taken.  What does that make the rest of us?    Me
-------------------------------------------------------------------------------





More information about the Mailman-Users mailing list