summaryrefslogtreecommitdiff
path: root/modules/mm_cfg.py.in
blob: e36c341b006d3875161f17bb91db4974954258c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
"""This is the module which take your site-specific settings.

From a raw distribution it should be moved to be named mm_cfg.py.  If you
already have an mm_cfg.py, be careful to add in only the new settings you
want.  The complete set of distributed defaults are in ./mm_defaults.  In
mm_cfg, override only those you want to change, after the

  from mm_defaults import *

line, below.

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

Note also that some of the settings are resolved against the active list
setting by using the value as a format string against the
list-instance-object's dictionary - see the distributed value of
DEFAULT_MSG_FOOTER for an example."""

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

from mm_defaults import *

#######################################################
#  Put YOUR site specific configurations below here.  #

DEFAULT_HOST_NAME = 'python.org'
MAILMAN_OWNER     = 'mailman-owner@%s' % DEFAULT_HOST_NAME
SENDMAIL_CMD      = '/usr/lib/sendmail -f %s %s'
DEFAULT_URL       = 'http://www.python.org/mailman'
ARCHIVE_URL       = 'http://www.python.org/~mailman/archives'
# Once we know our home directory we can figure out the rest.
HOME_DIR	  = '/home/mailman'
MAILMAN_DIR       = '/home/mailman/mailman'

# Subscription list restricted to list members until we finish spider hider.
DEFAULT_CLOSED = 1