source: companies/serpro/scripts-listas/mm_cfg.py @ 903

Revision 903, 4.1 KB checked in by niltonneto, 15 years ago (diff)

Importacao inicial do Expresso do Serpro

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
22From a raw distribution it should be copied to mm_cfg.py.  If you
23already have an mm_cfg.py, be careful to add in only the new settings
24you want.  The complete set of distributed defaults, with annotation,
25are in ./Defaults.  In mm_cfg, override only those you want to
26change, after the
27
28  from Defaults import *
29
30line (see below).
31
32Note that these are just default settings - many can be overridden via the
33admin and user interfaces on a per-list or per-user basis.
34
35Note also that some of the settings are resolved against the active list
36setting by using the value as a format string against the
37list-instance-object's dictionary - see the distributed value of
38DEFAULT_MSG_FOOTER for an example."""
39
40
41#######################################################
42#    Here's where we get the distributed defaults.    #
43
44from 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.
54MAILMAN_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)
59DEFAULT_URL_PATTERN = 'http://%s/cgi-bin/mailman/'
60PRIVATE_ARCHIVE_URL = '/cgi-bin/mailman/private'
61IMAGE_LOGOS         = '/images/mailman/'
62
63#-------------------------------------------------------------
64# Default domain for email addresses of newly created MLs
65DEFAULT_EMAIL_HOST = ''
66#-------------------------------------------------------------
67# Default host for web interface of newly created MLs
68DEFAULT_URL_HOST   = ''
69#-------------------------------------------------------------
70# Required when setting any of its arguments.
71add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
72
73#-------------------------------------------------------------
74# The default language for this server.
75DEFAULT_SERVER_LANGUAGE = 'pt_BR'
76#DEFAULT_SERVER_LANGUAGE = 'en'
77#-------------------------------------------------------------
78# Iirc this was used in pre 2.1, leave it for now
79USE_ENVELOPE_SENDER    = 0              # Still used?
80
81#-------------------------------------------------------------
82# Unset send_reminders on newly created lists
83DEFAULT_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.
94MTA='Postfix'
95DEB_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')
Note: See TracBrowser for help on using the repository browser.