Re: [Mailman-Users] Mac OSX Jaguar Mailman/Sendmail - complete installation steps

2002-10-07 Thread Barry A. Warsaw


 KW == Kathleen Webb [EMAIL PROTECTED] writes:

KW ** Successful Jaguar (Mac OSX 10.2) installation steps for
KW Mailman/Sendmail **

Thanks for the post Kathleen.  I'd like to include a url to this
archived message in the new README.MACOSX file.

Can you tell me, was this Mailman 2.0 or 2.1?

-Barry

--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/



[Mailman-Users] Mac OSX Jaguar Mailman/Sendmail - complete installation steps

2002-10-05 Thread Kathleen Webb

** Successful Jaguar (Mac OSX 10.2) installation steps for Mailman/Sendmail
**

I followed the instructions in the INSTALL file included with the Mailman
source. Because I am not an expert, I made several wrong turns. I kept a log
of the things I did as I went through the whole process.

I've cleaned up the steps I took and provide them here. I am NOT good at
UNIX, so some of the steps may actually not be in the absolutely correct
order, and some of the steps may even not be necessary. Feel free to comment
on mistakes I may have made, or decisions that may cause problems.

I have Mailman running now on my Macintosh laptop with  OS X 10.2 - Jaguar.
Others' mileage may vary.


Step 1) Collect all the things you need. (I include this step because most
Macintosh users will not have done any UNIX style installations.)

a) You need to use a text editor like BBEdit Lite.
http://www.barebones.com/

b) You need to download and decompress the Mailman software. (The
installation instructions are in step 4.) Download the software from:
http://www.list.org/

c) You need Stuffit Expander to uncompress BBEdit Lite and Mailman. Your
Macintosh probably already has Stuffit Expander installed.
http://www.aladdinsys.com/

d) You need to use the Terminal program on your OS X 10.2 computer. You'll
find in it the Utilities folder inside the Applications folder. You may want
to drag the Terminal icon to the dock for easy access.

e) You need to know how to change privileges with Jaguar. (To change a file
or folder's owner and/or group, click once on its icon, the choose File --
Show Info [command-I]. In the info box is the ability to look at the owner
and group. To change it, you click on the lock. A dialog box comes up with
your user name. Assuming you are an administrator on your machine - and thus
in the admin group, put in your password to unlock the ability to change a
file's ownership attributes.)

f) Python 2.2 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.

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

h) Sendmail is already installed on your computer but is not running,
doesn't have a folder smrsh needs and doesn't have an alias file.
(Instructions are in step 2 and step 6.)

i) You 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.

j) You 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.

k) You need to know how to run the Net Info Manager application. [It is in
the Utilities folder in the Applications folder.] You use this to create
groups.

l) You need to install the Developer Tools that came with your Jaguar disks
or several of the steps won't work (the Terminal command that begins with
m4).


Step 2) Get Sendmail running

a) From the Finder, use the Go menu and choose Go to Folder and type in:
/etc

b) Click once on the hostconfig icon and use the File menu to Show Info
[command-I]. Click on the lock to unlock the privileges. Change the owner to
yourself with read and write privileges. Close the Info window.

c) Use BBEdit to open hostconfig. Look down the file until you see the line
about the Mailserver. Change it to read:
  MAILSERVER=-YES-

d) Save the changes and close the hostconfig file.

e) With the hostconfig icon still selected, use the File menu to Show Info
[command-I]. Change the owner back to System. Close the Info window.

f) Either reboot your computer or open the Terminal application. At the %
prompt, type:
sudo nohup /System/Library/StartupItems/Sendmail 
Hit return/enter. Terminal will ask for your password. Put it in and hit
return/enter.

g) In the terminal application type:
sudo cp /usr/share/sendmail/conf/cf/generic-darwin.mc
/etc/mail/config.mc

h) From the finder, use the Go menu and Go to Folder. Type in:
/etc/mail

i) Select the config.mc icon and change its owner to you. (Use Show Info
from the Finder's File menu.)

j) use BBEdit to open config.mc.

k) Scroll down to find the
undefine(`ALIAS_FILE')
line. Remove that line. Add in these 3 lines:
 define(`ALIAS_FILE', `/etc/mail/aliases')
 define(`confDONT_BLAME_SENDMAIL', `GroupWritableDirPathSafe')
 define(`LUSER_RELAY', `local:webb_k')
(except replace the webb_k with your username)
Save the file and close it.

l) Open BBEdit and create a new file that contains this text. [replace the 2
places where it says [EMAIL PROTECTED] with your own e-mail