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="next" href="node8.html" />
9
<link rel="prev" href="node6.html" />
10
<link rel="parent" href="node6.html" />
11
<link rel="next" href="node8.html" />
12
<meta name='aesop' content='information' />
13
<title>3.1 Run configure</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="3 Build and install"
21
href="node6.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="3 Build and install"
24
href="node6.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="3.2 Make and install"
27
href="node8.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="node6.html">3 Build and install</A>
40
<b class="navlabel">Up:</b>
41
<a class="sectref" rel="parent" href="node6.html">3 Build and install</A>
42
<b class="navlabel">Next:</b>
43
<a class="sectref" rel="next" href="node8.html">3.2 Make and install</A>
47
<!--End of Navigation Panel-->
49
<H2><A NAME="SECTION001310000000000000000">
50
3.1 Run <b class="program">configure</b></A>
54
Before you can install Mailman, you must run <b class="program">configure</b> to set
55
various installation options your system might need.
58
<div class="note"><b class="label">Note:</b>
60
Take special note of the <b class="programopt">--with-mail-gid</b> and
61
<b class="programopt">--with-cgi-gid</b> options below. You will probably need to use
66
You should <strong>not</strong> be root while performing the steps in this section.
67
Do them under your own login, or whatever account you typically use to install
68
software. You do not need to do these steps as user <code>mailman</code>, but you
69
could. However, make sure that the login used is a member of the
70
<code>mailman</code> group as that that group has write permissions to the
71
<var>$prefix</var> directory made in the previous step. You must also have
72
permission to create a setgid file in the file system where it resides (NFS
73
and other mounts can be configured to inhibit setgid settings).
76
If you've installed other GNU software, you should be familiar with the
77
<b class="program">configure</b> script. Usually you can just <b class="program">cd</b> to the
78
directory you unpacked the Mailman source tarball into, and run
79
<b class="program">configure</b> with no arguments:
82
<div class="verbatim"><pre>
83
% cd mailman-<version>
89
The following options allow you to customize your Mailman
94
<DT><STRONG><b class="programopt">--prefix</b>=<var>dir</var></STRONG></DT>
95
<DD>Standard GNU configure option which changes the base directory that
96
Mailman is installed into. By default <var>$prefix</var> is
97
<span class="file">/usr/local/mailman</span>. This directory must already exist, and be set
98
up as described in <A href="create-install-dir.html#create-install-dir">2.2</A>.
102
<DT><STRONG><b class="programopt">--exec-prefix</b>=<var>dir</var></STRONG></DT>
103
<DD>Standard GNU configure option which lets you specify a different
104
installation directory for architecture dependent binaries.
108
<DT><STRONG><b class="programopt">--with-var-prefix</b>=<var>dir</var></STRONG></DT>
109
<DD>Store mutable data under <var>dir</var> instead of under the <var>$prefix</var> or
110
<var>$exec_prefix</var>. Examples of such data include the list archives and
111
list settings database.
115
<DT><STRONG><b class="programopt">--with-python</b>=<span class="file">/path/to/python</span></STRONG></DT>
116
<DD>Specify an alternative Python interpreter to use for the wrapper programs.
117
The default is to use the interpreter found first on your shell's
122
<DT><STRONG><b class="programopt">--with-username</b>=<var>username-or-uid</var></STRONG></DT>
123
<DD>Specify a different username than <code>mailman</code>. The value of this
124
option can be an integer user id or a user name. Be sure your
125
<var>$prefix</var> directory is owned by this user.
129
<DT><STRONG><b class="programopt">--with-groupname</b>=<var>groupname-or-gid</var></STRONG></DT>
130
<DD>Specify a different groupname than <code>mailman</code>. The value of this
131
option can be an integer group id or a group name. Be sure your
132
<var>$prefix</var> directory is group-owned by this group.
136
<DT><STRONG><b class="programopt">--with-mail-gid</b>=<var>group-or-groups</var></STRONG></DT>
137
<DD>Specify an alternative group for running scripts via the mail wrapper.
138
<var>group-or-groups</var> can be a list of one or more integer group ids or
139
symbolic group names. The first value in the list that resolves to an
140
existing group is used. By default, the value is the list <code>mailman</code>,
141
<code>other</code>, <code>mail</code>, and <code>daemon</code>.
144
<div class="note"><b class="label">Note:</b>
146
This is highly system dependent and you must get this right, because the
147
group id is compiled into the mail wrapper program for added security. On
148
systems using <b class="program">sendmail</b>, the <span class="file">sendmail.cf</span> configuration
149
file designates the group id of <b class="program">sendmail</b> processes using the
150
<var>DefaultUser</var> option. (If commented out, it still may be indicating
155
Check your mail server's documentation and configuration files to find the
156
right value for this switch.
160
<DT><STRONG><b class="programopt">--with-cgi-gid</b>=<var>group-or-groups</var></STRONG></DT>
161
<DD>Specify an alternative group for running scripts via the CGI wrapper.
162
<var>group-or-groups</var> can be a list of one or more integer group ids or
163
symbolic group names. The first value in the list that resolves to an
164
existing group is used. By default, the value is the the list
165
<code>www</code>, <code>www-data</code>, and <code>nobody</code>.
168
<div class="note"><b class="label">Note:</b>
170
The proper value for this is dependent on your web server configuration.
171
You must get this right, because the group id is compiled into the CGI
172
wrapper program for added security, and no Mailman CGI scripts will run if
177
If you're using Apache, check the values for the <var>Group</var> option in
178
your <span class="file">httpd.conf</span> file.
182
<DT><STRONG><b class="programopt">--with-cgi-ext</b>=<var>extension</var></STRONG></DT>
183
<DD>Specify an extension for cgi-bin programs. The CGI wrappers placed in
184
<span class="file"><var>$prefix</var>/cgi-bin</span> will have this extension (some web servers
185
require an extension). <var>extension</var> must include the leading dot.
189
<DT><STRONG><b class="programopt">--with-mailhost</b>=<var>hostname</var></STRONG></DT>
190
<DD>Specify the fully qualified host name part for outgoing email. After the
191
installation is complete, this value can be overriden in
192
<span class="file"><var>$prefix</var>/Mailman/mm_cfg.py</span>.
196
<DT><STRONG><b class="programopt">--with-urlhost</b>=<var>hostname</var></STRONG></DT>
197
<DD>Specify the fully qualified host name part of urls. After the
198
installation is complete, this value can be overriden in
199
<span class="file"><var>$prefix</var>/Mailman/mm_cfg.py</span>.
203
<DT><STRONG><b class="programopt">--with-gcc</b>=no</STRONG></DT>
204
<DD>Don't use gcc, even if it is found. In this case, <b class="program">cc</b> must be
205
found on your <var>$PATH</var>.
213
<DIV CLASS="navigation">
214
<div class='online-navigation'>
216
<table align="center" width="100%" cellpadding="0" cellspacing="2">
218
<td class='online-navigation'><a rel="prev" title="3 Build and install"
219
href="node6.html"><img src='previous.png'
220
border='0' height='32' alt='Previous Page' width='32' /></A></td>
221
<td class='online-navigation'><a rel="parent" title="3 Build and install"
222
href="node6.html"><img src='up.png'
223
border='0' height='32' alt='Up One Level' width='32' /></A></td>
224
<td class='online-navigation'><a rel="next" title="3.2 Make and install"
225
href="node8.html"><img src='next.png'
226
border='0' height='32' alt='Next Page' width='32' /></A></td>
227
<td align="center" width="100%">GNU Mailman - Installation Manual</td>
228
<td class='online-navigation'><img src='blank.png'
229
border='0' height='32' alt='' width='32' /></td>
230
<td class='online-navigation'><img src='blank.png'
231
border='0' height='32' alt='' width='32' /></td>
232
<td class='online-navigation'><img src='blank.png'
233
border='0' height='32' alt='' width='32' /></td>
235
<div class='online-navigation'>
236
<b class="navlabel">Previous:</b>
237
<a class="sectref" rel="prev" href="node6.html">3 Build and install</A>
238
<b class="navlabel">Up:</b>
239
<a class="sectref" rel="parent" href="node6.html">3 Build and install</A>
240
<b class="navlabel">Next:</b>
241
<a class="sectref" rel="next" href="node8.html">3.2 Make and install</A>
245
<span class="release-info">Release 2.1, documentation updated on December 13, 2005.</span>
247
<!--End of Navigation Panel-->