summaryrefslogtreecommitdiff
path: root/modules/mm_cfg.py.in
blob: 602c96dafee16aa678f18be0e7c056b592749f6b (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
"""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/pipermail'
# Once we know our home directory we can figure out the rest.
HOME_DIR	  = '/home/mailman'
MAILMAN_DIR       = '/home/mailman/mailman'