Update of /cvsroot/mailman/mailman3/src/mailman/config/components
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31133/src/mailman/config/components

Added Files:
      Tag: 3.0
        __init__.py databases.xml domains.xml layout.xml logs.xml 
        qrunner.xml smtp.xml startups.xml webserver.xml 
Log Message:
Initial checkin of Mailman3 source

--- NEW FILE: __init__.py ---

--- NEW FILE: databases.xml ---
<!--
    Copyright (C) 2004 Barry A. Warsaw

    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published by the Free
    Software Foundation; either version 2 of the License, or (at your option)
    any later version.

    This program is distributed in the hope that it will be useful, but
    WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    for more details.

    You should have received a copy of the GNU General Public License along
    with this program; if not, write to the Free Software Foundation, Inc., 59
    Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-->

<component prefix="mailman.config.datatypes">
    <description>
        The definition of Mailman databases.  There are three types of
        databases in Mailman, the lists database, the users database,
        and the messages database.  Each has their own interface as
        described in mailman/interfaces/database.py
    </description>

    <sectiontype name="berkeleydb">
        <description>
            The definition of a BerkeleyDB storage
        </description>

        <key name="path" datatype=".makedir" required="yes">
            <description>
                The path to the BerkeleyDB environment directory.
            </description>
        </key>
        <key name="checkpoint-interval" datatype="time-interval" default="2m">
            <description>
                How often the checkpointing thread should wake up and
                checkpoint the database.
            </description>
        </key>
        <key name="cachesize" datatype="byte-size" default="128MB">
            <description>
                How big the BerkeleyDB cache should be.
            </description>
        </key>
    </sectiontype>

    <sectiontype name="bdblist" extends="berkeleydb" datatype=".bdblist"/>
    <sectiontype name="bdbuser" extends="berkeleydb" datatype=".bdbuser"/>
    <sectiontype name="bdbmember" extends="berkeleydb" datatype=".bdbmember"/>

    <sectiontype name="databases">
        <section type="bdblist" name="*" attribute="bdblist"/>
        <section type="bdbuser" name="*" attribute="bdbuser"/>
        <section type="bdbmember" name="*" attribute="bdbmember"/>

        <multikey name="storage" required="yes" datatype=".storage">
            <description>
                A list of storage/database assignments.  There are three types
                of storages that must be define: lists, users, messages.  The
                database must be one of the named databases.
            </description>
        </multikey>

    </sectiontype>
</component>

--- NEW FILE: domains.xml ---
<!--
    Copyright (C) 2004 Barry A. Warsaw

    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published by the Free
    Software Foundation; either version 2 of the License, or (at your option)
    any later version.

    This program is distributed in the hope that it will be useful, but
    WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    for more details.

    You should have received a copy of the GNU General Public License along
    with this program; if not, write to the Free Software Foundation, Inc., 59
    Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-->

<component prefix="mailman.config.datatypes">
    <description>
        Basic virtual domain configuration.
    </description>

    <sectiontype name="domains">
        <multikey name="domain" datatype=".domain" required="yes">
            <description>
                The list of virtual domains.  Each line can have two or three
                items on it.  The first item is always a shorthand name for
                the domain.

                If there are two items, then the second one is a hostname used
                for both the web hostname and the mail hostname.  If there are
                three items, then the second one describes the mail domain and
                the third one describes the web domain.
            </description>
        </multikey>
    </sectiontype>
</component>

--- NEW FILE: layout.xml ---
<!--
    Copyright (C) 2004 Barry A. Warsaw

    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published by the Free
    Software Foundation; either version 2 of the License, or (at your option)
    any later version.

    This program is distributed in the hope that it will be useful, but
    WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    for more details.

    You should have received a copy of the GNU General Public License along
    with this program; if not, write to the Free Software Foundation, Inc., 59
    Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-->

<component prefix="mailman.config.datatypes">
    <description>
        Mailman's basic directory structure.
    </description>

    <sectiontype name="layout">
        <key name="basedir" datatype=".makedir" required="yes">
            <description>
                The base directory from which you intend to run Mailman.  This
                directory will be put on sys.path and should contain all the
                Mailman packages.
            </description>
        </key>

        <key name="bindir" datatype=".makedir" required="yes">
            <description>
                The directory which contains the qrunner script.
            </description>
        </key>

        <key name="qdir" datatype=".makedir" required="yes">
            <description>
                The directory which contains all the qrunner directories.
            </description>
        </key>

        <key name="bouncedata" datatype=".makedir" required="yes">
            <description>
                The directory containing the bounce data logs.
            </description>
        </key>

        <key name="templates" datatype="existing-directory" required="yes">
            <description>
                The directory containing the ZPT templates for Mailman's web
                interface.
            </description>
        </key>

        <key name="vardir" datatype=".makedir" required="yes">
            <description>
                The directory containing all the run-time data.
            </description>
        </key>

        <key name="lockdir" datatype=".makedir" required="yes">
            <description>
                The directory containing the lock files.
            </description>
        </key>

    </sectiontype>
</component>

--- NEW FILE: logs.xml ---
<!--
    Copyright (C) 2004 Barry A. Warsaw

    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published by the Free
    Software Foundation; either version 2 of the License, or (at your option)
    any later version.

    This program is distributed in the hope that it will be useful, but
    WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    for more details.

    You should have received a copy of the GNU General Public License along
    with this program; if not, write to the Free Software Foundation, Inc., 59
    Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-->

<component prefix="mailman.config.datatypes">
    <description>
        Mailman log file configuration.
    </description>

    <sectiontype name="logs">
        <key name="logdir" datatype=".makedir" required="yes">
            <description>
                The directory containing all the Mailman log files.
            </description>
        </key>

        <multikey name="log" datatype=".loglevel">
            <default>mailman.error    DEBUG</default>
            <default>mailman.web      DEBUG</default>
            <default>mailman.database INFO</default>
            <default>mailman.queues   DEBUG</default>
            <default>mailman.smtp     DEBUG</default>
            <default>mailman.bounces  INFO</default>
            <default>mailman.events   INFO</default>
            <default>locks            INFO</default>
            <description>
                Specify the logging level for the various Mailman logs.  Each
                entry must have two items, the log name and the log level.
                The log level can be either a numeric log level or a symbolic
                log level as specified in the logging package.
            </description>
        </multikey>
    </sectiontype>
</component>

--- NEW FILE: qrunner.xml ---
<!--
    Copyright (C) 2004 Barry A. Warsaw

    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published by the Free
    Software Foundation; either version 2 of the License, or (at your option)
    any later version.

    This program is distributed in the hope that it will be useful, but
    WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    for more details.

    You should have received a copy of the GNU General Public License along
    with this program; if not, write to the Free Software Foundation, Inc., 59
    Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-->

<component prefix="mailman.config.datatypes">
    <description>
        Mailman qrunner configuration component.
    </description>

    <sectiontype name="qrunner">
        <key name="pidfile" required="yes">
            <description>
                The file that holds the mailmanctl PID file.
            </description>
        </key>

        <key name="pythonexe" datatype="existing-file" required="yes">
            <description>
                The full path to the Python executable to use for
                sub-processes.
            </description>
        </key>

        <key name="userid" datatype=".userid" default="mailman">
            <description>
                The user to run Mailman as.  This can be either a numeric user
                id or an existing user name.
            </description>
        </key>

        <key name="groupid" datatype=".groupid" default="mailman">
            <description>
                The group to run Mailman as.  This can be either a numeric
                group id or an existing group name.
            </description>
        </key>
    </sectiontype>
</component>

--- NEW FILE: smtp.xml ---
<!--
    Copyright (C) 2004 Barry A. Warsaw

    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published by the Free
    Software Foundation; either version 2 of the License, or (at your option)
    any later version.

    This program is distributed in the hope that it will be useful, but
    WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    for more details.

    You should have received a copy of the GNU General Public License along
    with this program; if not, write to the Free Software Foundation, Inc., 59
    Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-->

<component prefix="mailman.config.datatypes">
    <description>
        Configuration directives for Mailman / mail server integration
    </description>

    <sectiontype name="smtp">
        <multikey name="queue" datatype=".queue" required="yes">
            <default>bounce BounceRunner</default>
            <default>incoming IncomingRunner</default>
            <default>maildir MaildirRunner</default>
            <default>outgoing OutgoingRunner</default>
            <default>retry RetryRunner</default>
            <description>
                The definition of a Mailman queue runner.  Values are of the
                form 'runner class [count]' where 'runner' is the short name
                of the qrunner.  'class' is the name of the class defining the
                queue.  Optional 'count' is the number of qrunner processes to
                spawn to handle files within the queue.  It defaults to 1.

                There can be more than one queue keyword.
            </description>
        </multikey>

        <key name="max_restarts" datatype="integer" default="1">
            <description>
                The maximum number of times mailmanctl will attempt to
                restart a qrunner that exits because of a failure.
            </description>
        </key>

        <key name="mta" required="yes">
            <description>
                The name of the mail server you're running.
            </description>
        </key>

        <multikey name="server" datatype=".mta">
            <default>localhost 3 1</default>
            <description>
                The description of an SMTP server for Mailman's use.  The
                values are of the form 'hostname[:port] [conns [sessions]]'.

                hostname is the hostname of the SMTP server to use.  port is
                optional and if missing defaults to port 25.

                conns is the number of simultaneous connections to the server
                that Mailman can open, per outgoing queue runner specified
                elsewhere.  Thus if you define 3 outgoing qrunners and 3
                connections, Mailman can make up to 9 simultaneous connections
                to your SMTP server.  conns is optional and defaults to 3.

                sessions is the number of consecutive SMTP transactions to
                send down each connection.  This is also optional and defaults
                to 1.

                Note that you do not need to specify an mta keyword at all, in
                which case it defaults to 'localhost 3 1'.
            </description>
        </multikey>

        <key name="verpre" datatype=".regexp"
             
default="^(?P&lt;bounces&gt;[^+]+?)\+(?P&lt;mailbox&gt;[^=]+)=(?P&lt;host&gt;[EMAIL 
PROTECTED])@.*$">
            <description>
                The regular expression describing how to parse a VERP encoded
                recipient address.
            </description>
        </key>

        <multikey name="envrecip">
            <default>delivered-to</default>
            <default>envelope-to</default>
            <default>apparently-to</default>
            <description>
                The list of headers to search, in order, for the envelope
                sender information.  Different MTAs put this on different
                headers, but it is usually available.
            </description>
        </multikey>

        <key name="retry_interval" datatype="time-interval" default="1h">
            <description>
                How long should Mailman wait before retrying to send a message?
            </description>
        </key>

        <key name="retry_count" datatype="integer" default="48">
            <description>
                How many retry_interval times should Mailman try to
                resend the message?
            </description>
        </key>

        <key name="maxrecips" datatype="integer" default="25">
            <description>
                The maximum number of recipients in any one SMTP session.
            </description>
        </key>

        <multikey name="command">
            <default>bounces</default>
            <default>probe</default>
            <default>confirm</default>
            <default>join</default>
            <default>leave</default>
            <default>subscribe</default>
            <default>unsubscribe</default>
            <default>request</default>
            <default>owner</default>
            <description>
                The list of mail command extensions.
            </description>
        </multikey>

        <key name="alias_file" required="yes">
            <description>
                The path to the alias file.
            </description>
        </key>

        <key name="alias_command" required="yes">
            <description>
                The path to your MTA's command for generating the alias
                database from an aliases file.
            </description>
        </key>

        <key name="loop_address" default="mailman-loop">
            <description>
                The final delivery address for all looping bounces.
            </description>
        </key>
    </sectiontype>
</component>

--- NEW FILE: startups.xml ---
<!--
    Copyright (C) 2004 Barry A. Warsaw

    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published by the Free
    Software Foundation; either version 2 of the License, or (at your option)
    any later version.

    This program is distributed in the hope that it will be useful, but
    WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    for more details.

    You should have received a copy of the GNU General Public License along
    with this program; if not, write to the Free Software Foundation, Inc., 59
    Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-->

<component prefix="mailman.config.datatypes">
    <description>
        Startup configuration component.
    </description>

    <sectiontype name="startups">
        <multikey name="component" required="yes">
            <default>categories</default>
            <default>config.logs</default>
            <default>dbmgr</default>
            <description>
                List of components which need initializtion.
            </description>
        </multikey>
    </sectiontype>
</component>

--- NEW FILE: webserver.xml ---
<!--
    Copyright (C) 2004 Barry A. Warsaw

    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published by the Free
    Software Foundation; either version 2 of the License, or (at your option)
    any later version.

    This program is distributed in the hope that it will be useful, but
    WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    for more details.

    You should have received a copy of the GNU General Public License along
    with this program; if not, write to the Free Software Foundation, Inc., 59
    Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-->

<component prefix="mailman.config.datatypes">
    <description>
        Configuration directives for Mailman's web interface
    </description>

    <sectiontype name="webserver">
        <key name="interface" default="*">
            <description>
                The interface to run the web server on.  Use the string '*' to
                listen on all interfaces.
            </description>
        </key>

        <key name="port" datatype="integer" default="8080">
            <description>
                The port to run the web server on.
            </description>
        </key>

        <key name="baseurl" default="http://$hostname:$port/";>
            <description>
                The template for calculating the url for links within the web
                pages.  Use $hostname as a placeholder for the web hostname,
                and $port as a placeholder for the port number.
            </description>
        </key>
    </sectiontype>
</component>


_______________________________________________
Mailman-checkins mailing list
[EMAIL PROTECTED]
Unsubscribe: http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to