summaryrefslogtreecommitdiff
path: root/modules/mm_cfg.py.in
blob: 99865588a99a8f01a3150fcd67f5d91ac0a46602 (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
39
40
41
42
43
44
45
"""This is the module which takes your site-specific settings.

From a raw 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.  The complete set of distributed defaults, with annotation,
are in ./mm_defaults.  In mm_cfg, override only those you want to
change, after the

  from mm_defaults import *

line (see 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."""

__version__ = "$Revision: 445 $"

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

from mm_defaults import *

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

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'
PUBLIC_ARCHIVE_URL = '/pipermail'
PRIVATE_ARCHIVE_URL = '/mailman/private'

# Once we know our home directory we can figure out the rest.
HOME_DIR	  = '/home/mailman'
MAILMAN_DIR       = '/home/mailman/mailman'

# (Note - if you're looking for something that is imported from
#  mm_cfg, but you didn't find it above, it's probably in mm_defaults.py.)