1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
4
<link rel="STYLESHEET" href="mailman-install.css" type='text/css' />
5
<link rel="first" href="mailman-install.html" title='GNU mailman - installation Manual' />
6
<link rel='last' href='about.html' title='About this document...' />
7
<link rel='help' href='about.html' title='About this document...' />
8
<link rel="prev" href="bsd-issues.html" />
9
<link rel="parent" href="node47.html" />
10
<link rel="next" href="about.html" />
11
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
12
<meta name='aesop' content='information' />
13
<title>15.3 MacOSX issues</title>
16
<div class="navigation">
17
<div id='top-navigation-panel' xml:id='top-navigation-panel'>
18
<table align="center" width="100%" cellpadding="0" cellspacing="2">
20
<td class='online-navigation'><a rel="prev" title="15.2 bsd issues"
21
href="bsd-issues.html"><img src='previous.png'
22
border='0' height='32' alt='Previous Page' width='32' /></a></td>
23
<td class='online-navigation'><a rel="parent" title="15 platform and operating"
24
href="node47.html"><img src='up.png'
25
border='0' height='32' alt='Up one Level' width='32' /></a></td>
26
<td class='online-navigation'><a rel="next" title="About this document ..."
27
href="about.html"><img src='next.png'
28
border='0' height='32' alt='Next Page' width='32' /></a></td>
29
<td align="center" width="100%">GNU Mailman - Installation Manual</td>
30
<td class='online-navigation'><img src='blank.png'
31
border='0' height='32' alt='' width='32' /></td>
32
<td class='online-navigation'><img src='blank.png'
33
border='0' height='32' alt='' width='32' /></td>
34
<td class='online-navigation'><img src='blank.png'
35
border='0' height='32' alt='' width='32' /></td>
37
<div class='online-navigation'>
38
<b class="navlabel">Previous:</b>
39
<a class="sectref" rel="prev" href="bsd-issues.html">15.2 BSD issues</a>
40
<b class="navlabel">Up:</b>
41
<a class="sectref" rel="parent" href="node47.html">15 Platform and operating</a>
42
<b class="navlabel">Next:</b>
43
<a class="sectref" rel="next" href="about.html">About this document ...</a>
47
<!--End of Navigation Panel-->
49
<h2><a name="SECTION0011530000000000000000">
50
15.3 MacOSX issues</a>
54
Many people run Mailman on MacOSX. Here are some pointers that have been
55
collected on getting Mailman to run on MacOSX.
60
<li>Jaguar (MacOSX 10.2) comes with Python 2.2. While this isn't the very
61
latest stable version of Python, it ought to be sufficient to run
66
<li>David B. O'Donnell has a web page describing his configuration of
67
Mailman 2.0.13 and Postfix on MacOSX Server.
70
<a class="url" href="http://www.afp548.com/Articles/mail/python-mailman.html">http://www.afp548.com/Articles/mail/python-mailman.html</a>
73
<li>Kathleen Webb posted her experiences in getting Mailman running on
74
Jaguar using Sendmail.
77
<a class="url" href="http://mail.python.org/pipermail/mailman-users/2002-October/022944.html">http://mail.python.org/pipermail/mailman-users/2002-October/022944.html</a>
80
<li>Panther server (MacOSX 10.3) comes with Mailman; Your operating system
81
should contain documentation that will help you, and Apple has a tech
82
document about a problem you might encounter running Mailman on Mac OS X
86
<a class="url" href="http://docs.info.apple.com/article.html?artnum=107889">http://docs.info.apple.com/article.html?artnum=107889</a>
91
Terry Allen provides the following detailed instructions on running Mailman on
92
the 'client' version of OSX, or in earlier versions of OSX:
95
Mac OSX 10.3 and onwards has the basics for a successful Mailman installation.
96
Users of earlier versions of Mac OSX contains Sendmail and those users should
97
look at the Sendmail installation section for tips. You should follow the
98
basic installation steps as described earlier in this manual, substituting as
99
appropriate, the steps outlined in this section.
102
By default, Mac OSX 10.3 'client' version does not have a fully functional
103
version of Postfix. Setting up a working MTA such as Postfix is beyond the
104
scope of this guide and you should refer to <a class="url" href="http://www.postfix.org">http://www.postfix.org</a> for
105
tips on getting Postfix running. An easy way to set Postfix up is to install
106
and run Postfix Enabler, a stand-alone tool for configuring Postfix on Mac
108
<a class="url" href="http://www.roadstead.com/weblog/Tutorials/PostfixEnabler.html">http://www.roadstead.com/weblog/Tutorials/PostfixEnabler.html</a>.
111
Likewise, Mac OSX 'client' version from 10.1 onwards includes a working Apache
112
webserver. This is switched on using the System Preferences control panel
113
under the 'Sharing tab'. A useful tool for configuring the Apache on Mac OSX
114
is Webmin, which can be obtained from
115
<a class="url" href="http://www.webmin.com">http://www.webmin.com</a>.
118
Webmin can also perform configuration for other system tasks, including
119
Postfix, adding jobs to your crontab, adding user and groups, plus adding
120
startup and shutdown jobs.
123
In a stock installation of OSX, the requirement for Mailman is to have Python
124
installed. Python is not installed by default, so it is advised that you
125
install the developer's tools package, which may have been provided with your
126
system. It can also be downloaded from the Apple developer site at
127
<a class="url" href="http://connect.apple.com">http://connect.apple.com</a>. Not only is the developer tools package an
128
essential requirement for installing Mailman, but it will come in handy at a
129
later date should you need other tools. The developer's tools are also know
130
by the name XCode tools.
133
As a minimum, the Python version should be 2.2, but 2.3 is recommended.
136
If you wish to add a user and group using the command line in OSX instead of
137
via Webmin or another GUI interface, open your terminal application and follow
138
the commands as indicated below - do not type the comments following the
139
"<tt class="samp">#</tt>" since they are just notes:
142
<div class="verbatim"><pre>
144
niutil -create / /users/mailman
145
niutil -createprop / /users/mailman name mailman
146
# Note that xxx is a free user ID number on your system
147
niutil -createprop / /users/mailman uid xxx
148
niutil -createprop / /users/mailman home /usr/local/mailman
149
mkdir -p /usr/local/mailman
150
niutil -createprop / /users/mailman shell /bin/tcsh
152
# To prevent malicious hacking, supply a secure password here
153
niutil -create / /groups/mailman
154
niutil -createprop / /groups/mailman name mailman
155
# Note that xxx is a free group ID number on your system
156
niutil -createprop / /groups/mailman gid xxx
157
niutil -createprop / /groups/mailman passwd '*'
158
niutil -createprop / /groups/mailman users 'mailman'
159
chown mailman:mailman /usr/local/mailman
160
cd /usr/local/mailman
167
For setting up Apache on OSX to handle Mailman, the steps are almost identical
168
and the configuration file on a stock Mac OSX Client version is stored in the
169
nearly standard location of <span class="file">/etc/httpd/httpd.conf</span>.
172
The <a class="ulink" href="http://www.afp548.com"
173
>AFP548.com</a> site has a time-saving automated startup item creator for
174
Mailman, which can be found at
175
<a class="url" href="http://www.afp548.com/Software/MailmanStartup.tar.gz">http://www.afp548.com/Software/MailmanStartup.tar.gz</a>
177
To install it, copy it into your <span class="file">/Library/StartupItems</span> directory. As
178
the root or superuser, from the terminal, enter the following:
181
<div class="verbatim"><pre>
182
gunzip MailmanStartup.tar.gz
183
tar xvf MailmanStartup.tar
187
It will create the startup item for you so that when you reboot, Mailman will
192
<div class="navigation">
193
<div class='online-navigation'>
195
<table align="center" width="100%" cellpadding="0" cellspacing="2">
197
<td class='online-navigation'><a rel="prev" title="15.2 bsd issues"
198
href="bsd-issues.html"><img src='previous.png'
199
border='0' height='32' alt='Previous Page' width='32' /></a></td>
200
<td class='online-navigation'><a rel="parent" title="15 platform and operating"
201
href="node47.html"><img src='up.png'
202
border='0' height='32' alt='Up one Level' width='32' /></a></td>
203
<td class='online-navigation'><a rel="next" title="About this document ..."
204
href="about.html"><img src='next.png'
205
border='0' height='32' alt='Next Page' width='32' /></a></td>
206
<td align="center" width="100%">GNU Mailman - Installation Manual</td>
207
<td class='online-navigation'><img src='blank.png'
208
border='0' height='32' alt='' width='32' /></td>
209
<td class='online-navigation'><img src='blank.png'
210
border='0' height='32' alt='' width='32' /></td>
211
<td class='online-navigation'><img src='blank.png'
212
border='0' height='32' alt='' width='32' /></td>
214
<div class='online-navigation'>
215
<b class="navlabel">Previous:</b>
216
<a class="sectref" rel="prev" href="bsd-issues.html">15.2 BSD issues</a>
217
<b class="navlabel">Up:</b>
218
<a class="sectref" rel="parent" href="node47.html">15 Platform and operating</a>
219
<b class="navlabel">Next:</b>
220
<a class="sectref" rel="next" href="about.html">About this document ...</a>
224
<span class="release-info">Release 2.1, documentation updated on January 11, 2009.</span>
226
<!--End of Navigation Panel-->