]> git.openstreetmap.org Git - chef.git/blob - cookbooks/mailman/templates/default/mm_cfg.py.erb
Switch lists.osm.org to letsencrypt
[chef.git] / cookbooks / mailman / templates / default / mm_cfg.py.erb
1 # -*- python -*-
2
3 # DO NOT EDIT - This file is being maintained by Chef
4
5 # Copyright (C) 1998,1999,2000 by the Free Software Foundation, Inc.
6 #
7 # This program is free software; you can redistribute it and/or
8 # modify it under the terms of the GNU General Public License
9 # as published by the Free Software Foundation; either version 2
10 # of the License, or (at your option) any later version.
11
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 # GNU General Public License for more details.
16
17 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write to the Free Software 
19 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20 # 02110-1301 USA
21
22
23 """This is the module which takes your site-specific settings.
24
25 From a raw distribution it should be copied to mm_cfg.py.  If you
26 already have an mm_cfg.py, be careful to add in only the new settings
27 you want.  The complete set of distributed defaults, with annotation,
28 are in ./Defaults.  In mm_cfg, override only those you want to
29 change, after the
30
31   from Defaults import *
32
33 line (see below).
34
35 Note that these are just default settings - many can be overridden via the
36 admin and user interfaces on a per-list or per-user basis.
37
38 Note also that some of the settings are resolved against the active list
39 setting by using the value as a format string against the
40 list-instance-object's dictionary - see the distributed value of
41 DEFAULT_MSG_FOOTER for an example."""
42
43
44 #######################################################
45 #    Here's where we get the distributed defaults.    #
46
47 from Defaults import *
48
49 ##############################################################
50 # Put YOUR site-specific configuration below, in mm_cfg.py . #
51 # See Defaults.py for explanations of the values.            #
52
53 #-------------------------------------------------------------
54 # The name of the list Mailman uses to send password reminders
55 # and similar. Don't change if you want mailman-owner to be
56 # a valid local part.
57 MAILMAN_SITE_LIST = 'mailman'
58
59 #-------------------------------------------------------------
60 # If you change these, you have to configure your http server
61 # accordingly (Alias and ScriptAlias directives in most httpds)
62 DEFAULT_URL_PATTERN = 'https://%s/'
63 PRIVATE_ARCHIVE_URL = '/private'
64 IMAGE_LOGOS         = '/images/'
65
66 #-------------------------------------------------------------
67 # Default domain for email addresses of newly created MLs
68 DEFAULT_EMAIL_HOST = 'openstreetmap.org'
69 #-------------------------------------------------------------
70 # Default host for web interface of newly created MLs
71 DEFAULT_URL_HOST   = 'lists.openstreetmap.org'
72 #-------------------------------------------------------------
73 # Required when setting any of its arguments.
74 add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
75
76 #-------------------------------------------------------------
77 # The default language for this server.
78 DEFAULT_SERVER_LANGUAGE = 'en'
79
80 #-------------------------------------------------------------
81 # Iirc this was used in pre 2.1, leave it for now
82 USE_ENVELOPE_SENDER    = 0              # Still used?
83
84 #-------------------------------------------------------------
85 # Unset send_reminders on newly created lists
86 DEFAULT_SEND_REMINDERS = 0
87
88 #-------------------------------------------------------------
89 # Uncomment this if you configured your MTA such that it
90 # automatically recognizes newly created lists.
91 # (see /usr/share/doc/mailman/README.Exim4.Debian or
92 # /usr/share/mailman/postfix-to-mailman.py)
93 # MTA=None   # Misnomer, suppresses alias output on newlist
94
95 #-------------------------------------------------------------
96 # Uncomment if you use Postfix virtual domains (but not
97 # postfix-to-mailman.py), but be sure to see
98 # /usr/share/doc/mailman/README.Debian first.
99 MTA='Postfix'
100 POSTFIX_ALIAS_CMD = '/bin/true'
101 POSTFIX_MAP_CMD = 'chmod o+r'
102 POSTFIX_STYLE_VIRTUAL_DOMAINS = ['openstreetmap.org']
103
104 #-------------------------------------------------------------
105 # Uncomment if you want to filter mail with SpamAssassin. For
106 # more information please visit this website:
107 # http://www.jamesh.id.au/articles/mailman-spamassassin/
108 # GLOBAL_PIPELINE.insert(1, 'SpamAssassin')
109
110 #-------------------------------------------------------------
111 # Secret for web forms to protect against XSRF attacks
112 SUBSCRIBE_FORM_SECRET='<%= node[:mailman][:subscribe_form_secret] %>'
113
114 # Note - if you're looking for something that is imported from mm_cfg, but you
115 # didn't find it above, it's probably in /usr/lib/mailman/Mailman/Defaults.py.