[Mailman-Users] Snow Leoparrd (MacOS X 10.6) CLIENT installation steps for Mailman (CORRECTED)

2010-05-01 Thread Larry Stone
Sorry to take up list space resending this but I caught an error in the
Apache configuration section of this (some additional lines needed in Step
4b due to increased security in Apache2 vs. original Apache).

===

In September 2004, I posted on this topic with instructions for installing
mailman on the client version of MacOS X 10.3 (Panther). Later, I updated it
for OS X 10.4 (Tiger) as well as notes (but not full instructions) for OS X
10.5 (Leopard). Just recently, I did a test installation on my 10.6 (Snow
Leopard) laptop in anticipation of a new desktop to become my new server
later this year. In all cases, these were the CLIENT version of Mac OS X
(Mac OS X Server comes with a bastardized version of Mailman).

So here, once again for purposes of getting it in the archives, are my
instructions for installing mailman on MacOS X 10.6.x. With this version,
I've made some changes to bring the mailman home directory in line with
Mailman standards (i.e. using /usr/local/mailman instead of
/Applications/mailman), improved the system startup procedure, and some
other miscellaneous cleanup.

=

Snow Leopard (MacOS X 10.6) installation steps for Mailman

This document is based on my experience installing Mailman 2.1.4 on MacOS X
10.3 (Panther) and subsequently upgrading to Tiger (Mac OS X 10.4) and to
mailman 2.1.6 and now to Snow Leopard (Mac OS X 10.6) with mailman 2.1.13.
It is largely based on Kathleen Webb's document on installing Mailman and
Sendmail on MacOS X 10.2 (Jaguar)
(http://mail.python.org/pipermail/mailman-users/2002-October/022944.html)
which contains some information on tools that can be useful that will not be
repeated here.

This guide assumes that you have Postfix (which comes with Snow Leopard)
already configured and operating, that you have the built-in web server
running (if not, enable it by going to the Sharing pane of System
Preferences and turning on Web Sharing), and that you are familiar with the
Unix shell and basic text editing from the shell (vi or emacs). It is
intended to help you get Mailman installed. It does not deal with actually
using Mailman as there are plenty of other sources of help for that.

This is based on a new install on a Snow Leopard system that has never had
Mailman on it before. Questions are best asked through the mailman-users
mailing list.


Step 1) Collect all the things you need.

a) You need to download and decompress the Mailman software. (The
installation instructions are in step 3.) Download the software from:
http://www.list.org/
Download the latest 2.1.x.tgz which is a gzip compressed tar file (.tgz).
Just leave it for now and we'll expand it later.

b) You need to be an administrator of your computer. If you do not have
administrator privileges, you will not be able to do this.

c) Python comes pre-installed on your computer. It is already
functioning and ready for use by Mailman. (To verify you have Python, open
the Terminal application. at the  % prompt, type:
sudo Python -V
and then hit the enter/return key. You'll be prompted for your password.
When you enter it, the terminal will respond with the Python version.

d) Apache web server software comes pre-installed on your computer and has
already been configured and is running.

e) Postfix is already installed on your computer but is not running by
default. You will need to get Postfix configured and started but how to do
that is beyond the scope of this document. An excellent way of getting
Postfix up and running, along with a POP and IMAP server, is with MailServe
Snow http://www.cutedgesystems.com/software/MailServeSnow/. Note that
MailServe Snow is not free - as all the underlying software is freely
available, you're paying for the configuration and installation tool, not
the underlying software.

f) You may need to know how to get into hidden subdirectories. In the
Finder, use the Go menu and choose Go to Folder. Type in the path to the
hidden folder you need to open.

g) You may need to know how to make a new user. You use the System
Preferences application [from the Apple menu]. Use the Accounts panel in the
System section.

h) You need to install the Developer Tools that came with your Snow Leopard
disks or several of the steps won't work.



From this point on, we will do everything in Terminal and as root. So open
Terminal and then become root by typing 'sudo su'. You will be prompted for
your password and then get a # as a prompt.

Step 2) Verify the user and group needed to run Mailman.

All versions of OS X since at least Panther have come with the needed users
and groups already created. We will be using _mailman for mailman and _www
for the webserver.

To verify they're there, type 'grep _mailman /etc/group' and 'grep _mailman
/etc/passwd. Both should return one line starting with _mailman:*:78:. If
they do, they exist. You can repeat that with _www and the number you see
should 

Re: [Mailman-Users] Snow Leoparrd (MacOS X 10.6) CLIENT installation steps for Mailman

2010-04-30 Thread Barry Warsaw
On Apr 29, 2010, at 11:53 PM, Terri Oda wrote:

Thanks Larry!

I've linked your once again excellent post into the Mac OS FAQ on the wiki:

http://wiki.list.org/x/O4A9

Thanks Terri.  I've also asked Larry to submit a bug report against
mailman-administrivia so that we can update the docs.

-Barry



signature.asc
Description: PGP 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
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Re: [Mailman-Users] Snow Leoparrd (MacOS X 10.6) CLIENT installation steps for Mailman

2010-04-29 Thread Terri Oda

Thanks Larry!

I've linked your once again excellent post into the Mac OS FAQ on the wiki:

http://wiki.list.org/x/O4A9

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


[Mailman-Users] Snow Leoparrd (MacOS X 10.6) CLIENT installation steps for Mailman

2010-04-28 Thread Larry Stone
In September 2004, I posted on this topic with instructions for installing
mailman on the client version of MacOS X 10.3 (Panther). Later, I updated it
for OS X 10.4 (Tiger) as well as notes (but not full instructions) for OS X
10.5 (Leopard). Just recently, I did a test installation on my 10.6 (Snow
Leopard) laptop in anticipation of a new desktop to become my new server
later this year. In all cases, these were the CLIENT version of Mac OS X
(Mac OS X Server comes with a bastardized version of Mailman).

So here, once again for purposes of getting it in the archives, are my
instructions for installing mailman on MacOS X 10.6.x. With this version,
I've made some changes to bring the mailman home directory in line with
Mailman standards (i.e. using /usr/local/mailman instead of
/Applications/mailman), improved the system startup procedure, and some
other miscellaneous cleanup.

=

Snow Leopard (MacOS X 10.6) installation steps for Mailman

This document is based on my experience installing Mailman 2.1.4 on MacOS X
10.3 (Panther) and subsequently upgrading to Tiger (Mac OS X 10.4) and to
mailman 2.1.6 and now to Snow Leopard (Mac OS X 10.6) with mailman 2.1.13.
It is largely based on Kathleen Webb's document on installing Mailman and
Sendmail on MacOS X 10.2 (Jaguar)
(http://mail.python.org/pipermail/mailman-users/2002-October/022944.html)
which contains some information on tools that can be useful that will not be
repeated here.

This guide assumes that you have Postfix (which comes with Snow Leopard)
already configured and operating, that you have the built-in web server
running (if not, enable it by going to the Sharing pane of System
Preferences and turning on Web Sharing), and that you are familiar with the
Unix shell and basic text editing from the shell (vi or emacs). It is
intended to help you get Mailman installed. It does not deal with actually
using Mailman as there are plenty of other sources of help for that.

This is based on a new install on a Snow Leopard system that has never had
Mailman on it before. Questions are best asked through the mailman-users
mailing list.


Step 1) Collect all the things you need.

a) You need to download and decompress the Mailman software. (The
installation instructions are in step 3.) Download the software from:
http://www.list.org/
Download the latest 2.1.x.tgz which is a gzip compressed tar file (.tgz).
Just leave it for now and we'll expand it later.

b) You need to be an administrator of your computer. If you do not have
administrator privileges, you will not be able to do this.

c) Python comes pre-installed on your computer. It is already
functioning and ready for use by Mailman. (To verify you have Python, open
the Terminal application. at the  % prompt, type:
sudo Python -V
and then hit the enter/return key. You'll be prompted for your password.
When you enter it, the terminal will respond with the Python version.

d) Apache web server software comes pre-installed on your computer and has
already been configured and is running.

e) Postfix is already installed on your computer but is not running by
default. You will need to get Postfix configured and started but how to do
that is beyond the scope of this document. An excellent way of getting
Postfix up and running, along with a POP and IMAP server, is with MailServe
Snow http://www.cutedgesystems.com/software/MailServeSnow/. Note that
MailServe Snow is not free - as all the underlying software is freely
available, you're paying for the configuration and installation tool, not
the underlying software.

f) You may need to know how to get into hidden subdirectories. In the
Finder, use the Go menu and choose Go to Folder. Type in the path to the
hidden folder you need to open.

g) You may need to know how to make a new user. You use the System
Preferences application [from the Apple menu]. Use the Accounts panel in the
System section.

h) You need to install the Developer Tools that came with your Snow Leopard
disks or several of the steps won't work.



From this point on, we will do everything in Terminal and as root. So open
Terminal and then become root by typing 'sudo su'. You will be prompted for
your password and then get a # as a prompt.

Step 2) Verify the user and group needed to run Mailman.

All versions of OS X since at least Panther have come with the needed users
and groups already created. We will be using _mailman for mailman and _www
for the webserver.

To verify they're there, type 'grep _mailman /etc/group' and 'grep _mailman
/etc/passwd. Both should return one line starting with _mailman:*:78:. If
they do, they exist. You can repeat that with _www and the number you see
should be 70.
 
Assuming all of the above is there, we're good to go.


Step 3) Create a folder for mailman in the finder.

a) You can choose where to create the folder. I chose to