[Mailman-Users] Problem Migrating Mailman to New Server

2008-10-18 Thread Dennis Putnam
I am installing a replacement server and am having trouble migrating
Mailman. The installation works but none of my lists show up when I use
the browser interface. However, when I run 'list_lists' from the command
line they are there. Is this a config issue with just the HTML interface
or is there something else fundamentally wrong?

I thought I just needed to do a simple copy of the /var/lib/mailman
directory to the new server but perhaps there is more to it then that.

TIA.



signature.asc
Description: OpenPGP digital signature
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Re: [Mailman-Users] Problem Migrating Mailman to New Server

2008-10-18 Thread Mark Sapiro
Dennis Putnam wrote:

I am installing a replacement server and am having trouble migrating
Mailman. The installation works but none of my lists show up when I use
the browser interface. However, when I run 'list_lists' from the command
line they are there. Is this a config issue with just the HTML interface
or is there something else fundamentally wrong?


See the FAQ at http://wiki.list.org/x/lYA9.

-- 
Mark Sapiro [EMAIL PROTECTED]The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Users] /etc/aliases vs. /etc/mailman/aliases

2008-10-18 Thread Scott Race
I am configuring mailman on a Red Hat Enterprise server, single domain
(for now).  I've gone through some different configs, finally almost
have it working.

When I create a new list, it updates the /etc/mailman/aliases file and
updates it.

/etc/mailman:
-rw-rw-rw-  1 root mailman  6040 Oct 17 18:44 aliases
-rw-rw-rw-  1 root mailman 12288 Oct 17 19:01 aliases.db

Problem is, postfix seems to be using /etc/aliases for the aliases file.
If I add my mailman entries in /etc/aliases, email works.  

How can I tell Postfix to also check the /etc/mailman/aliases file, or
is it better to tell mailman to write to the /etc/aliases file?  Seems
like I'd rather keep my malman aliases in /etc/mailman/aliases.

Thanks!
Scott
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] /etc/aliases vs. /etc/mailman/aliases

2008-10-18 Thread Mark Sapiro
Scott Race wrote:

How can I tell Postfix to also check the /etc/mailman/aliases file, or
is it better to tell mailman to write to the /etc/aliases file?  Seems
like I'd rather keep my malman aliases in /etc/mailman/aliases.


This is really a RedHat package question (i.e. why doesn't RedHat's
package update Postfix main.cf?), but ...

It is better to keep your Mailman aliases separate. Otherwise, you will
run into permissions issues and also, Mailman doesn't really know
about 'other' aliases in /etc/aliases and various Mailman events can
lose some or all of them.

You probably have something like

alias_maps = hash:/etc/aliases

in your Postfix main.cf. Possibly other files are listed too. You need
to add hash:/etc/mailman/aliases to the list, e.g.

alias_maps = hash:/etc/aliases, hash:/etc/mailman/aliases

and reload postfix.

-- 
Mark Sapiro [EMAIL PROTECTED]The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Users] Help - Mailman programs all do Memory Fault' on Linux, here's what I tried to fix it

2008-10-18 Thread Don Steiny
Hi,

I am  on Debian 2.6.8.  I used apt-get to update Python to 2-4 and
the latest version of mailman.  I used one archive in sources.list;

deb http://http.us.debian.org/debian stable main contrib non-free

When I attempt to start it I get this message:

#
# /etc/init.d/mailman start
* Site list for mailman (usually named mailman) missing.
* Please create it; until then, mailman will refuse to start.

Searching around the web I found I needed to create a list mailman
(though I have not figured out why it was not seeing my existing lists,
that is for later) I got this;
# newlist mailman
Memory fault

I thought the problem might be with the debian mailmail I went to
sourceforge and downloaded and installed 2.1.11 and nothing changed. I
though the problem might be with Python, I downlaoded and installed
Python 2.6 and there were changes in that when I tried to install
mailman I got this:
Compiling /var/lib/mailman/Mailman/i18n.py ...
Compiling /var/lib/mailman/Mailman/versions.py ...
bin/update:37: DeprecationWarning: the md5 module is deprecated; use
hashlib instead
  import md5
/var/lib/mailman/Mailman/Utils.py:32: DeprecationWarning: the sha module
is deprecated; use the hashlib module instead
  import sha
Traceback (most recent call last):
  File bin/update, line 51, in module
from Mailman import MailList
  File /var/lib/mailman/Mailman/MailList.py, line 51, in module
from Mailman.Archiver import Archiver
  File /var/lib/mailman/Mailman/Archiver/__init__.py, line 17, in module
from Archiver import *
  File /var/lib/mailman/Mailman/Archiver/Archiver.py, line 32, in module
from Mailman import Mailbox
  File /var/lib/mailman/Mailman/Mailbox.py, line 21, in module
import mailbox
  File /usr/local/lib/python2.6/mailbox.py, line 19, in module
import email.message
ImportError: No module named message
make: *** [update] Error 1

I copied over the 2.4 mailbox.py file to 2.6 and then I could compile
everything with the sha and md5 warnings, which are supposedly no big
deal, and I got one tiny change:

/usr/sbin/newlist:96: DeprecationWarning: the sha module is deprecated;
use the hashlib module instead
  import sha
Memory fault

What should I do next?  Help!

-Don


--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Help - Mailman programs all do Memory Fault' onLinux, here's what I tried to fix it

2008-10-18 Thread Mark Sapiro
Don Steiny wrote:

I am  on Debian 2.6.8.  I used apt-get to update Python to 2-4 and
the latest version of mailman.  I used one archive in sources.list;

deb http://http.us.debian.org/debian stable main contrib non-free

When I attempt to start it I get this message:

#
# /etc/init.d/mailman start
* Site list for mailman (usually named mailman) missing.
* Please create it; until then, mailman will refuse to start.


This is a Debian package issue. Somehow your update of Mailman and
Python has lost your prior Mailman installation.


Searching around the web I found I needed to create a list mailman
(though I have not figured out why it was not seeing my existing lists,
that is for later)


Assuming your prior Mailman was 2.1.x, you already had a mailman list;
it was lost with the others:


I got this;
# newlist mailman
Memory fault

I thought the problem might be with the debian mailmail I went to
sourceforge and downloaded and installed 2.1.11 and nothing changed. I
though the problem might be with Python, I downlaoded and installed
Python 2.6 and there were changes in that when I tried to install
mailman I got this:


Mailman 2.1.11 is not compatible with Python 2.6. Python 2.4 (if
properly installed) should be fine; also 2.5.


Compiling /var/lib/mailman/Mailman/i18n.py ...
Compiling /var/lib/mailman/Mailman/versions.py ...
bin/update:37: DeprecationWarning: the md5 module is deprecated; use
hashlib instead
  import md5
/var/lib/mailman/Mailman/Utils.py:32: DeprecationWarning: the sha module
is deprecated; use the hashlib module instead
  import sha
Traceback (most recent call last):
  File bin/update, line 51, in module
from Mailman import MailList
  File /var/lib/mailman/Mailman/MailList.py, line 51, in module
from Mailman.Archiver import Archiver
  File /var/lib/mailman/Mailman/Archiver/__init__.py, line 17, in module
from Archiver import *
  File /var/lib/mailman/Mailman/Archiver/Archiver.py, line 32, in module
from Mailman import Mailbox
  File /var/lib/mailman/Mailman/Mailbox.py, line 21, in module
import mailbox
  File /usr/local/lib/python2.6/mailbox.py, line 19, in module
import email.message
ImportError: No module named message
make: *** [update] Error 1


This is one of the Python 2.6 incompatibilities.


I copied over the 2.4 mailbox.py file to 2.6 and then I could compile
everything with the sha and md5 warnings, which are supposedly no big
deal, and I got one tiny change:

/usr/sbin/newlist:96: DeprecationWarning: the sha module is deprecated;
use the hashlib module instead
  import sha
Memory fault

What should I do next?  Help!


Make sure you have good backups of your Mailman lists/ and
archives/private/ directories at a minimum.

Make sure you have a working Python installation no older than 2.4.x
and no newer than 2.5.x.

Configure Mailman 2.1.11 with the appropriate prefix, var-prefix, etc
to match your existing installation and make install.


-- 
Mark Sapiro [EMAIL PROTECTED]The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9