Re: [Mailman-Users] Mailman error when sending to test-subscribe

2005-08-10 Thread Mike Hanby
Thanks John, that did it.  I did, however have to create the
/usr/local/mailman directory first, it wouldn't configure until I did that.
So, here's my new steps.

% cd /usr/src
% tar -zxvf ./mailman-2.1.6.tgz

# mkdir /usr/local/mailman
# chgrp mailman /usr/local/mailman#did this according to the README
# chmod a+rx,g+ws /usr/local/mailman  #did this according to the README

% ./configure --with-mail-gid=nogroup

# make
# make install

And there you have it.  The README led me to believe you were supposed to
run the install in the destination directory, I thought that was weird, I
must have misunderstood what I read :-)

Thanks again.
Mike

-Original Message-
From: John Dennis [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 09, 2005 15:12
To: Mike Hanby
Cc: mailman-users@python.org
Subject: Re: [Mailman-Users] Mailman error when sending to test-subscribe

On Tue, 2005-08-09 at 14:24 -0500, Mike Hanby wrote:
 Ok, I reinstalled, here are the steps that I followed (btw I'm using
 Slackware 10).
 
 As root, I created the mailman user and mailman group.  I have mailman
 temporarily set up to allow shell access (so I can install as mailman).

You do not need to be mailman to install mailman, to install mailman you
should be root. The mailman user and group will need to exist prior to
installation so that the installed components can be assigned that
identity.

 # cd /usr/local
 # tar -zxvf ./mailman-2.1.6.tgz
 # chgrp -R mailman ./mailman-2.1.6
 # chmod -R a+rx,g+ws ./mailman-2.1.6
 # ln -s ./mailman-2.1.6 ./mailman
 # su - mailman

None of this is necessary (except for untaring)

 % cd /usr/local/mailman
 % ./configure --with-mail-gid=nogroup
 % make install  ./mailman-install.log 21

ouch. you're building in the install area before you've installed,
sounds like a recipe for disaster. :-) You've also installed as the user
mailman, not root.

Think of your build area as a staging area that is used to construct
what will be placed into the the install area by the root user. By
trying to point the install at your build you're going to step all over
what you've built as it installs. It's equivalent to trying to copy a
file onto itself :-(

 I still don't see the ./scripts/subscribe script.

The subscribe script is just a copy of the join script (unsubscribe is a
copy of leave). The part of install that copied the existing scripts
worked, the part that installed copies of join and leave did not. I'm
not sure why that part of the install failed but installing into the
build area and not being root during the install are likely culprits.
-- 
John Dennis [EMAIL PROTECTED]

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Mailman error when sending to test-subscribe

2005-08-09 Thread John Dennis
On Tue, 2005-08-09 at 14:24 -0500, Mike Hanby wrote:
 Ok, I reinstalled, here are the steps that I followed (btw I'm using
 Slackware 10).
 
 As root, I created the mailman user and mailman group.  I have mailman
 temporarily set up to allow shell access (so I can install as mailman).

You do not need to be mailman to install mailman, to install mailman you
should be root. The mailman user and group will need to exist prior to
installation so that the installed components can be assigned that
identity.

 # cd /usr/local
 # tar -zxvf ./mailman-2.1.6.tgz
 # chgrp -R mailman ./mailman-2.1.6
 # chmod -R a+rx,g+ws ./mailman-2.1.6
 # ln -s ./mailman-2.1.6 ./mailman
 # su - mailman

None of this is necessary (except for untaring)

 % cd /usr/local/mailman
 % ./configure --with-mail-gid=nogroup
 % make install  ./mailman-install.log 21

ouch. you're building in the install area before you've installed,
sounds like a recipe for disaster. :-) You've also installed as the user
mailman, not root.

Think of your build area as a staging area that is used to construct
what will be placed into the the install area by the root user. By
trying to point the install at your build you're going to step all over
what you've built as it installs. It's equivalent to trying to copy a
file onto itself :-(

 I still don't see the ./scripts/subscribe script.

The subscribe script is just a copy of the join script (unsubscribe is a
copy of leave). The part of install that copied the existing scripts
worked, the part that installed copies of join and leave did not. I'm
not sure why that part of the install failed but installing into the
build area and not being root during the install are likely culprits.
-- 
John Dennis [EMAIL PROTECTED]

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Mailman error when sending to test-subscribe

2005-08-09 Thread John Dennis
On Tue, 2005-08-09 at 16:11 -0400, John Dennis wrote:
 ouch. you're building in the install area before you've installed,

This probably was not clear because I omitted an important but somewhat 
hidden fact, /usr/local/mailman is the default installation directory.

Had you typed ./configure --help you would have seen this:

Installation directories:
  --prefix=PREFIX install architecture-independent files in PREFIX
  [/usr/local/mailman]

You could override the prefix or have picked another build area, but the
two should not be identical because they will collide.
-- 
John Dennis [EMAIL PROTECTED]

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] Mailman error when sending to test-subscribe

2005-08-08 Thread Mike Hanby
Howdy, I'm have the following setup:

  Postfix:2.2.3

  Mailman:2.1.6

 

THE PROBLEM:

  Here's the error I see in my /var/log/maillog after sending a mail to
[EMAIL PROTECTED]

 

to=[EMAIL PROTECTED], relay=local, delay=1, status=bounced
(Command died with status 2: /usr/local/mailman/mail/mailman subscribe
test. Command output: /usr/bin/python: can't open file
'/usr/local/mailman/scripts/subscribe' )

 

  I looked in /usr/local/mailman/scripts and sure enough that script
isn't there!

  

 

MY CONFIGURATION:

I installed from source using the configure command:

  ./configure --with-mail-gid=nogroup

 

Based on one of the Postfix install guides, I have these settings in my
/etc/aliases file (and in the aliases.db created by ./bin/genaliases)

  test:  |/usr/local/mailman/mail/mailman post test

test-admin:|/usr/local/mailman/mail/mailman admin test

test-bounces:  |/usr/local/mailman/mail/mailman bounces test

test-confirm:  |/usr/local/mailman/mail/mailman confirm test

test-join: |/usr/local/mailman/mail/mailman join test

test-leave:|/usr/local/mailman/mail/mailman leave test

test-owner:|/usr/local/mailman/mail/mailman owner test

test-request:  |/usr/local/mailman/mail/mailman request test

test-subscribe:|/usr/local/mailman/mail/mailman subscribe test

test-unsubscribe:  |/usr/local/mailman/mail/mailman unsubscribe test

 

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Mailman error when sending to test-subscribe

2005-08-08 Thread Jim Tittsler
On Mon, Aug 08, 2005 at 04:31:24PM -0500, Mike Hanby wrote:
 to=[EMAIL PROTECTED], relay=local, delay=1, status=bounced
 (Command died with status 2: /usr/local/mailman/mail/mailman subscribe
 test. Command output: /usr/bin/python: can't open file
 '/usr/local/mailman/scripts/subscribe' )

   I looked in /usr/local/mailman/scripts and sure enough that script
 isn't there!

It should be.  :-)

 MY CONFIGURATION:
 
 I installed from source using the configure command:
 
   ./configure --with-mail-gid=nogroup

And then did 'make', and then as root 'make install'?

It looks like your installation isn't complete or the
/usr/local/mailman/scripts/subscribe file would exist.

-- 
Jim Tittsler http://www.OnJapan.net/  GPG: 0x01159DB6
Python Starship  http://Starship.Python.net/crew/jwt/
Mailman IRC  irc://irc.freenode.net/#mailman
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp