#1  
Old 13th February 2013, 09:11
deeeeeeeeeen deeeeeeeeeen is offline
Junior Member
 
Join Date: Nov 2006
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
Default How to config mailman

Hi
I'm a new in Linux, and now trying to install ispconfig on Centos 6.3 final, after installed mailman and start service it says:
Really appreciated for telling me how to fix the problem, Thank you

[root@ispconfig ~]# service mailman start
Starting mailman: Site list is missing: mailman
[FAILED]
I lookup mm_cfg.py it shown follows:

# -*- python -*-

# Copyright (C) 1998,1999,2000 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., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 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 *

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

#-------------------------------------------------------------
# The name of the list Mailman uses to send password reminders
# and similar. Don't change if you want mailman-owner to be
# a valid local part.
MAILMAN_SITE_LIST = 'mailman'

#-------------------------------------------------------------
# If you change these, you have to configure your http server
# accordingly (Alias and ScriptAlias directives in most httpds)
DEFAULT_URL_PATTERN = 'https://%s/cgi-bin/mailman/'
PRIVATE_ARCHIVE_URL = '/cgi-bin/mailman/private'
IMAGE_LOGOS = '/images/mailman/'

#-------------------------------------------------------------
# Default domain for email addresses of newly created MLs
DEFAULT_EMAIL_HOST = ''
#-------------------------------------------------------------
# Default host for web interface of newly created MLs
DEFAULT_URL_HOST = ''
#-------------------------------------------------------------
# Required when setting any of its arguments.
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

#-------------------------------------------------------------
# The default language for this server.
DEFAULT_SERVER_LANGUAGE = 'en'

#-------------------------------------------------------------
# Iirc this was used in pre 2.1, leave it for now
USE_ENVELOPE_SENDER = 0 # Still used?

#-------------------------------------------------------------
# Unset send_reminders on newly created lists
DEFAULT_SEND_REMINDERS = 0

#-------------------------------------------------------------
# Uncomment this if you configured your MTA such that it
# automatically recognizes newly created lists.
# (see /usr/share/doc/mailman/README.Exim4.Debian or
# /usr/share/mailman/postfix-to-mailman.py)
# MTA=None # Misnomer, suppresses alias output on newlist

#-------------------------------------------------------------
# Uncomment if you use Postfix virtual domains (but not
# postfix-to-mailman.py), but be sure to see
# /usr/share/doc/mailman/README.Debian first.
MTA='Postfix'
POSTFIX_STYLE_VIRTUAL_DOMAINS = [' ']
#-------------------------------------------------------------
# Uncomment if you want to filter mail with SpamAssassin. For
# more information please visit this website:
# http://www.jamesh.id.au/articles/mailman-spamassassin/
# GLOBAL_PIPELINE.insert(1, 'SpamAssassin')

# Note - if you're looking for something that is imported from mm_cfg, but you
# didn't find it above, it's probably in /usr/lib/mailman/Mailman/Defaults.py.
Reply With Quote
Sponsored Links
  #2  
Old 13th February 2013, 13:37
Parsec Parsec is offline
Member
 
Join Date: Jan 2013
Posts: 66
Thanks: 1
Thanked 9 Times in 8 Posts
Default

I've not used mailman with an ispconfig setup but I jave used it elsewhere on other servers. The 2 lines that are obviously incorrect are:

#-------------------------------------------------------------
# Default domain for email addresses of newly created MLs
DEFAULT_EMAIL_HOST = ''
#-------------------------------------------------------------
# Default host for web interface of newly created MLs
DEFAULT_URL_HOST = ''
#-------------------------------------------------------------

Should be:
DEFAULT_EMAIL_HOST = 'your mailserver name'
(eg: server1.example.com)

DEFAULT_URL_HOST = 'your servers fqdn'
(most probably the name of your server like server1.example.com)
Reply With Quote
The Following User Says Thank You to Parsec For This Useful Post:
deeeeeeeeeen (13th February 2013)
  #3  
Old 13th February 2013, 13:55
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

and the default "mailman" mailinglist is missing, thats what mailman complains about in the error message. Create the mailinglist with the command:

newlist mailman
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
deeeeeeeeeen (13th February 2013)
  #4  
Old 14th February 2013, 11:26
deeeeeeeeeen deeeeeeeeeen is offline
Junior Member
 
Join Date: Nov 2006
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
and the default "mailman" mailinglist is missing, thats what mailman complains about in the error message. Create the mailinglist with the command:

newlist mailman
I have done following:
[root@ispconfig mailman]# bin/newlist mailman
Create a new, unpopulated mailing list.

Usage: bin/newlist [options][listname[listadmin-addr [admin-password]]]

Options:

-l language
--language=language
Make the list's preferred language `language', which must be a two
letter language code.

-u urlhost
--urlhost=urlhost
Gives the list's web interface host name.

-e emailhost
--emailhost=emailhost
Gives the list's email domain name.

-q/--quiet
Normally the administrator is notified by email (after a prompt) that
their list has been created. This option suppresses the prompt and
notification.

-h/--help
Print this help text and exit.

You can specify as many of the arguments as you want on the command line:
you will be prompted for the missing ones.

Every Mailman list has two parameters which define the default host name for
outgoing email, and the default URL for all web interfaces. When you
configured Mailman, certain defaults were calculated, but if you are running
multiple virtual Mailman sites, then the defaults may not be appropriate for
the list you are creating.

You also specify the domain to create your new list in by typing the command
like so:

newlist --urlhost=www.mydom.ain mylist

where `www.mydom.ain' should be the base hostname for the URL to this virtual
hosts's lists. E.g. with this setting people will view the general list
overviews at http://www.mydom.ain/mailman/listinfo. Also, www.mydom.ain
should be a key in the VIRTUAL_HOSTS mapping in mm_cfg.py/Defaults.py if
the email hostname to be automatically determined.

If you want the email hostname to be different from the one looked up by the
VIRTUAL_HOSTS or if urlhost is not registered in VIRTUAL_HOSTS, you can specify
`emailhost' like so:

newlist --urlhost=www.mydom.ain --emailhost=mydom.ain mylist

where `mydom.ain' is the mail domain name. If you don't specify emailhost but
urlhost is not in the virtual host list, then mm_cfg.DEFAULT_EMAIL_HOST will
be used for the email interface.

For backward compatibility, you can also specify the domain to create your
new list in by spelling the listname like so:

mylist@www.mydom.ain

where www.mydom.ain is used for `urlhost' but it will also be used for
`emailhost' if it is not found in the virtual host table. Note that
'--urlhost' and '--emailhost' have precedence to this notation.

If you spell the list name as just `mylist', then the email hostname will be
taken from DEFAULT_EMAIL_HOST and the url will be taken from DEFAULT_URL (as
defined in your Defaults.py file or overridden by settings in mm_cfg.py).

Note that listnames are forced to lowercase.

List already exists: mailman
[root@ispconfig mailman]# ls
bin cgi-bin cron icons mail Mailman messages pythonlib scripts templates tests
[root@ispconfig mailman]# vi mailman
[root@ispconfig mailman]# service mailman start
Starting mailman: [ OK ]

It seems OK but I am not quite sure the list is correct or not , because I saw error during creating the list, can you advise how to check the list , and how it look should be corrected, Much Thanks
Reply With Quote
  #5  
Old 14th February 2013, 11:30
deeeeeeeeeen deeeeeeeeeen is offline
Junior Member
 
Join Date: Nov 2006
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by Parsec View Post
I've not used mailman with an ispconfig setup but I jave used it elsewhere on other servers. The 2 lines that are obviously incorrect are:

#-------------------------------------------------------------
# Default domain for email addresses of newly created MLs
DEFAULT_EMAIL_HOST = ''
#-------------------------------------------------------------
# Default host for web interface of newly created MLs
DEFAULT_URL_HOST = ''
#-------------------------------------------------------------

Should be:
DEFAULT_EMAIL_HOST = 'your mailserver name'
(eg: server1.example.com)

DEFAULT_URL_HOST = 'your servers fqdn'
(most probably the name of your server like server1.example.com)
Thanks it works, really appreciated
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mailman custom URL doesn't work in ISP Config 3 frankbootmaker General 2 23rd October 2012 09:40
Spamsnake - Problem with spamassassin, FuzzyOcr and MySQL debuguser HOWTO-Related Questions 6 16th September 2008 18:37
ISPConfig 2.2.14 released till General 48 19th July 2007 23:46
Anyone figured out to integrate FuzzyOCR into ISPConfig on Ubuntu? friday Installation/Configuration 16 10th May 2007 16:25
spamassasin/clamAV not working Daisy Installation/Configuration 32 15th February 2007 00:09


All times are GMT +2. The time now is 17:35.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.