[903] | 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 | # The name of the list Mailman uses to send password reminders |
---|
| 52 | # and similar. Don't change if you want mailman-owner to be |
---|
| 53 | # a valid local part. |
---|
| 54 | MAILMAN_SITE_LIST = 'mailman' |
---|
| 55 | |
---|
| 56 | #------------------------------------------------------------- |
---|
| 57 | # If you change these, you have to configure your http server |
---|
| 58 | # accordingly (Alias and ScriptAlias directives in most httpds) |
---|
| 59 | DEFAULT_URL_PATTERN = 'http://%s/cgi-bin/mailman/' |
---|
| 60 | PRIVATE_ARCHIVE_URL = '/cgi-bin/mailman/private' |
---|
| 61 | IMAGE_LOGOS = '/images/mailman/' |
---|
| 62 | |
---|
| 63 | #------------------------------------------------------------- |
---|
| 64 | # Default domain for email addresses of newly created MLs |
---|
| 65 | DEFAULT_EMAIL_HOST = '' |
---|
| 66 | #------------------------------------------------------------- |
---|
| 67 | # Default host for web interface of newly created MLs |
---|
| 68 | DEFAULT_URL_HOST = '' |
---|
| 69 | #------------------------------------------------------------- |
---|
| 70 | # Required when setting any of its arguments. |
---|
| 71 | add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) |
---|
| 72 | |
---|
| 73 | #------------------------------------------------------------- |
---|
| 74 | # The default language for this server. |
---|
| 75 | DEFAULT_SERVER_LANGUAGE = 'pt_BR' |
---|
| 76 | #DEFAULT_SERVER_LANGUAGE = 'en' |
---|
| 77 | #------------------------------------------------------------- |
---|
| 78 | # Iirc this was used in pre 2.1, leave it for now |
---|
| 79 | USE_ENVELOPE_SENDER = 0 # Still used? |
---|
| 80 | |
---|
| 81 | #------------------------------------------------------------- |
---|
| 82 | # Unset send_reminders on newly created lists |
---|
| 83 | DEFAULT_SEND_REMINDERS = 0 |
---|
| 84 | |
---|
| 85 | #------------------------------------------------------------- |
---|
| 86 | # Uncomment this if you configured your MTA such that it |
---|
| 87 | # automatically recognizes newly created lists. |
---|
| 88 | # (see /usr/share/doc/mailman/README.{EXIM,...}) |
---|
| 89 | # MTA=None # Misnomer, suppresses alias output on newlist |
---|
| 90 | |
---|
| 91 | #------------------------------------------------------------- |
---|
| 92 | # Uncomment if you use Postfix virtual domains, but be sure to |
---|
| 93 | # read /usr/share/doc/mailman/README.POSTFIX first. |
---|
| 94 | MTA='Postfix' |
---|
| 95 | DEB_LISTMASTER = 'postmaster@listas.serpro.gov.br' |
---|
| 96 | #------------------------------------------------------------- |
---|
| 97 | # Uncomment if you want to filter mail with SpamAssassin. For |
---|
| 98 | # more information please visit this website: |
---|
| 99 | # http://www.daa.com.au/~james/articles/mailman-spamassassin/ |
---|
| 100 | # GLOBAL_PIPELINE.insert(1, 'SpamAssassin') |
---|