3 # Copyright (C) 1998,1999,2000 by the Free Software Foundation, Inc.
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.
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.
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., 51 Franklin Street, Fifth Floor, Boston, MA
21 """This is the module which takes your site-specific settings.
23 From a raw distribution it should be copied to mm_cfg.py. If you
24 already have an mm_cfg.py, be careful to add in only the new settings
25 you want. The complete set of distributed defaults, with annotation,
26 are in ./Defaults. In mm_cfg, override only those you want to
29 from Defaults import *
33 Note that these are just default settings - many can be overridden via the
34 admin and user interfaces on a per-list or per-user basis.
36 Note also that some of the settings are resolved against the active list
37 setting by using the value as a format string against the
38 list-instance-object's dictionary - see the distributed value of
39 DEFAULT_MSG_FOOTER for an example."""
42 #######################################################
43 # Here's where we get the distributed defaults. #
45 from Defaults import *
47 ##############################################################
48 # Put YOUR site-specific configuration below, in mm_cfg.py . #
49 # See Defaults.py for explanations of the values. #
51 #-------------------------------------------------------------
52 # The name of the list Mailman uses to send password reminders
53 # and similar. Don't change if you want mailman-owner to be
55 MAILMAN_SITE_LIST = 'mailman'
57 #-------------------------------------------------------------
58 # If you change these, you have to configure your http server
59 # accordingly (Alias and ScriptAlias directives in most httpds)
60 DEFAULT_URL_PATTERN = 'https://%s/'
61 IMAGE_LOGOS = '/images/mailman/'
62 PUBLIC_ARCHIVE_URL = 'https://%(hostname)s/pipermail/%(listname)s/'
64 #-------------------------------------------------------------
65 # Default domain for email addresses of newly created MLs
66 DEFAULT_EMAIL_HOST = '{{postfix.mailman.default_host}}'
67 #-------------------------------------------------------------
68 # Default host for web interface of newly created MLs
69 DEFAULT_URL_HOST = '{{postfix.mailman.default_host}}'
70 #-------------------------------------------------------------
71 # Required when setting any of its arguments.
72 add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
74 #-------------------------------------------------------------
75 # The default language for this server.
76 DEFAULT_SERVER_LANGUAGE = '{{postfix.mailman.default_lang}}'
78 #-------------------------------------------------------------
79 # Iirc this was used in pre 2.1, leave it for now
80 USE_ENVELOPE_SENDER = 0 # Still used?
82 #-------------------------------------------------------------
83 # Unset send_reminders on newly created lists
84 DEFAULT_SEND_REMINDERS = 0
86 #-------------------------------------------------------------
87 # Uncomment this if you configured your MTA such that it
88 # automatically recognizes newly created lists.
89 # (see /usr/share/doc/mailman/README.Exim4.Debian or
90 # /usr/share/mailman/postfix-to-mailman.py)
91 # MTA=None # Misnomer, suppresses alias output on newlist
93 #-------------------------------------------------------------
94 # Uncomment if you use Postfix virtual domains (but not
95 # postfix-to-mailman.py), but be sure to see
96 # /usr/share/doc/mailman/README.Debian first.
99 POSTFIX_STYLE_VIRTUAL_DOMAINS = [
100 {% for item in postfix.mailman.domains %}
105 DEB_LISTMASTER = '{{postfix.postmaster}}'
107 #-------------------------------------------------------------
108 # Uncomment if you want to filter mail with SpamAssassin. For
109 # more information please visit this website:
110 # http://www.jamesh.id.au/articles/mailman-spamassassin/
111 # GLOBAL_PIPELINE.insert(1, 'SpamAssassin')
113 # Note - if you're looking for something that is imported from mm_cfg, but you
114 # didn't find it above, it's probably in /usr/lib/mailman/Mailman/Defaults.py.
117 #-------------------------------------------------------------
118 # other, custom configuration
120 DEFAULT_ARCHIVE = Off
121 DEFAULT_MAX_MESSAGE_SIZE = 1024 # KB
122 DEFAULT_ADMIN_MEMBER_CHUNKSIZE = 100
125 DEFAULT_MSG_FOOTER = """{{postfix.mailman.default_footer}}"""
126 DEFAULT_DIGEST_FOOTER = DEFAULT_MSG_FOOTER
128 # DMARC, DKIM-compatibility
129 REMOVE_DKIM_HEADERS = 1 # remove DKIM headers for lists where From: is changed
130 DEFAULT_DMARC_MODERATION_ACTION = 1 # Munge From
133 SUBSCRIBE_FORM_SECRET = "{{postfix.mailman.form_secret}}"