root/alternc-mailman/tags/ALTERNC_MAILMAN_1_3/mm_cfg.py

Revision 1218, 2.6 kB (checked in by benjamin, 4 years ago)

version sarge mailman

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 # -*- python -*-
2
3 # Copyright (C) 1998,1999,2000 by the Free Software Foundation, Inc.
4 #
5 # This program is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU General Public License
7 # as published by the Free Software Foundation; either version 2
8 # of the License, or (at your option) any later version.
9 #
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18
19
20 """This is the module which takes your site-specific settings.
21
22 From a raw distribution it should be copied to mm_cfg.py.  If you
23 already have an mm_cfg.py, be careful to add in only the new settings
24 you want.  The complete set of distributed defaults, with annotation,
25 are in ./Defaults.  In mm_cfg, override only those you want to
26 change, after the
27
28   from Defaults import *
29
30 line (see below).
31
32 Note that these are just default settings - many can be overridden via the
33 admin and user interfaces on a per-list or per-user basis.
34
35 Note also that some of the settings are resolved against the active list
36 setting by using the value as a format string against the
37 list-instance-object's dictionary - see the distributed value of
38 DEFAULT_MSG_FOOTER for an example."""
39
40
41 #######################################################
42 #    Here's where we get the distributed defaults.    #
43
44 from Defaults import *
45
46 ##############################################################
47 # Put YOUR site-specific configuration below, in mm_cfg.py . #
48 # See Defaults.py for explanations of the values.            #
49
50
51 MAILMAN_SITE_LIST = 'mailman'
52 DEFAULT_EMAIL_HOST = '%%fqdn%%'
53 DEFAULT_URL_HOST   = '%%fqdn%%'
54 add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
55
56 DEFAULT_HOST_NAME = '%%fqdn%%'
57 DEFAULT_URL_PATTERN = 'https://%s/cgi-bin/mailman/'
58 IMAGE_LOGOS       = '/mimages/'
59 USE_ENVELOPE_SENDER = 0
60 DEFAULT_SEND_REMINDERS = 0
61 DEFAULT_DEFAULT_MEMBER_MODERATION = 1
62
63 MAILMAN_OWNER     = 'root@%%fqdn%%'
64
65 PUBLIC_ARCHIVE_URL = '/marchives/%(listname)s'
66 PRIVATE_ARCHIVE_URL = '/cgi-bin/mailman/private/%(listname)s'
67 DEFAULT_ARCHIVE_PRIVATE    = 1                    # 0=public, 1=private
68
69 DEFAULT_SERVER_LANGUAGE = 'fr'
70
71 # Note - if you're looking for something that is imported from mm_cfg, but you
72 # didn't find it above, it's probably in Defaults.py.
73
74
Note: See TracBrowser for help on using the browser.