mailman-2.0.11-1 (Mailing List)

Support

23/Sep/2002 tested by Redhat 7.2

This is GNU Mailman, a mailing list management system distributed under the GNU Public License (GPL). The name of this project is spelled "Mailman" with a leading capital `M' but with a lower case second `m'.

Install

  1. Download mailman-2.0.11-1.i386.rpm from Redhat site

    # rpm -ihv mailman-2.0.11-1.i386.rpm
    Preparing...                ########################################### [100%]
       1:mailman                ########################################### [100%]

  2. To set the mailman administrator password.

    # /var/mailman/bin/mmsitepass
    New Password:
    Again to confirm password:
    Password changed.

  3. Edit /var/mailman/Mailman/mm_cfg.py to customize mailman's configuration for your site.

    # -*- python -*-

    # Copyright (C) 1998 by the Free Software Foundation, Inc.
    #
    # 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.


    """This is the module which takes your site-specific settings.

    From a raw distribution it should be copied to mm_cfg.py.  If you
    already have an mm_cfg.py, be careful to add in only the new settings
    you want.  The complete set of distributed defaults, with annotation,
    are in ./Defaults.  In mm_cfg, override only those you want to
    change, after the

      from Defaults import *

    line (see below).

    Note that these are just default settings - many can be overridden via the
    admin and user interfaces on a per-list or per-user basis.

    Note also that some of the settings are resolved against the active list
    setting by using the value as a format string against the
    list-instance-object's dictionary - see the distributed value of
    DEFAULT_MSG_FOOTER for an example."""


    #######################################################
    #    Here's where we get the distributed defaults.    #

    from Defaults import *
    import pwd, grp

    ##############################################################
    #    Here's where we override shipped defaults with settings #
    #    suitable for the RPM package.                           #
    MAILMAN_UID = pwd.getpwnam('mailman')[2]
    MAILMAN_GID = grp.getgrnam('mailman')[2]
    LOG_DIR     = '/var/log/mailman'
    QUEUE_DIR   = '/var/spool/mailman/qfiles'

    ##############################################################
    # Put YOUR site-specific configuration below, in mm_cfg.py . #
    # See Defaults.py for explanations of the values.            #

    # DEFAULT_HOST_NAME = 'localhost.localdomain'
    DEFAULT_HOST_NAME = 'www.yourhost.bt'

    DEFAULT_URL       = 'http://%s/mailman/' % DEFAULT_HOST_NAME
    MAILMAN_OWNER     = 'mailman-owner@%s' % DEFAULT_HOST_NAME

    # Note - if you're looking for something that is imported from mm_cfg, but you
    # didn't find it above, it's probably in Defaults.py.

  4. Edit /var/mailman/Mailman/Defaults.py

    ...
    # SMTP host and port, when DELIVERY_MODULE is 'SMTPDirect'
    SMTPHOST = 'www.yourhost.bt'
    SMTPPORT = 25                                      # default from smtplib
    ...

  5. Modify the sendmail configuration to ensure that it is running and accepting connections from the outside world (to ensure that it runs, set "DAEMON=yes" in /etc/sysconfig/sendmail, ensuring that it accepts connections from the outside world may require modifying /etc/mail/sendmail.mc and regenerating sendmail.cf)

  6. Add "Include conf/httpd-mailman.conf" to /etc/httpd/conf/httpd.conf

    ...
    Include conf/httpd-mailman.conf

Make a new mailing list

Back

Copyright © [- SroNey / JohN -]. All rights reserved

Hosted by www.Geocities.ws

1