aboutsummaryrefslogtreecommitdiffstats
path: root/admin/www/mailman-install/node7.html
blob: 761c706d741e90eca9daebe669f9fb2af4730041 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<link rel="STYLESHEET" href="mailman-install.css" type='text/css' />
<link rel="first" href="mailman-install.html" title='GNU Mailman - Installation Manual' />
<link rel='last' href='about.html' title='About this document...' />
<link rel='help' href='about.html' title='About this document...' />
<link rel="next" href="node8.html" />
<link rel="prev" href="node6.html" />
<link rel="parent" href="node6.html" />
<link rel="next" href="node8.html" />
<meta name='aesop' content='information' />
<title>3.1 Run configure</title>
</head>
<body>
<DIV CLASS="navigation">
<div id='top-navigation-panel' xml:id='top-navigation-panel'>
<table align="center" width="100%" cellpadding="0" cellspacing="2">
<tr>
<td class='online-navigation'><a rel="prev" title="3 Build and install"
  href="node6.html"><img src='previous.png'
  border='0' height='32'  alt='Previous Page' width='32' /></A></td>
<td class='online-navigation'><a rel="parent" title="3 Build and install"
  href="node6.html"><img src='up.png'
  border='0' height='32'  alt='Up One Level' width='32' /></A></td>
<td class='online-navigation'><a rel="next" title="3.2 Make and install"
  href="node8.html"><img src='next.png'
  border='0' height='32'  alt='Next Page' width='32' /></A></td>
<td align="center" width="100%">GNU Mailman - Installation Manual</td>
<td class='online-navigation'><img src='blank.png'
  border='0' height='32'  alt='' width='32' /></td>
<td class='online-navigation'><img src='blank.png'
  border='0' height='32'  alt='' width='32' /></td>
<td class='online-navigation'><img src='blank.png'
  border='0' height='32'  alt='' width='32' /></td>
</tr></table>
<div class='online-navigation'>
<b class="navlabel">Previous:</b>
<a class="sectref" rel="prev" href="node6.html">3 Build and install</A>
<b class="navlabel">Up:</b>
<a class="sectref" rel="parent" href="node6.html">3 Build and install</A>
<b class="navlabel">Next:</b>
<a class="sectref" rel="next" href="node8.html">3.2 Make and install</A>
</div>
<hr /></div>
</DIV>
<!--End of Navigation Panel-->

<H2><A NAME="SECTION001310000000000000000">
3.1 Run <b class="program">configure</b></A>
</H2>

<P>
Before you can install Mailman, you must run <b class="program">configure</b> to set
various installation options your system might need.

<P>
<div class="note"><b class="label">Note:</b>

Take special note of the <b class="programopt">--with-mail-gid</b> and
<b class="programopt">--with-cgi-gid</b> options below.  You will probably need to use
these.
</div>

<P>
You should <strong>not</strong> be root while performing the steps in this section.
Do them under your own login, or whatever account you typically use to install
software.  You do not need to do these steps as user <code>mailman</code>, but you
could.  However, make sure that the login used is a member of the
<code>mailman</code> group as that that group has write permissions to the
<var>$prefix</var> directory made in the previous step.  You must also have
permission to create a setgid file in the file system where it resides (NFS
and other mounts can be configured to inhibit setgid settings).

<P>
If you've installed other GNU software, you should be familiar with the
<b class="program">configure</b> script.  Usually you can just <b class="program">cd</b> to the
directory you unpacked the Mailman source tarball into, and run
<b class="program">configure</b> with no arguments:

<P>
<div class="verbatim"><pre>
  % cd mailman-&lt;version&gt;
  % ./configure
  % make install
</pre></div>

<P>
The following options allow you to customize your Mailman
installation.

<P>
<DL>
<DT><STRONG><b class="programopt">--prefix</b>=<var>dir</var></STRONG></DT>
<DD>Standard GNU configure option which changes the base directory that
    Mailman is installed into.  By default <var>$prefix</var> is
    <span class="file">/usr/local/mailman</span>.  This directory must already exist, and be set
    up as described in <A href="create-install-dir.html#create-install-dir">2.2</A>.

<P>
</DD>
<DT><STRONG><b class="programopt">--exec-prefix</b>=<var>dir</var></STRONG></DT>
<DD>Standard GNU configure option which lets you specify a different
    installation directory for architecture dependent binaries.

<P>
</DD>
<DT><STRONG><b class="programopt">--with-var-prefix</b>=<var>dir</var></STRONG></DT>
<DD>Store mutable data under <var>dir</var> instead of under the <var>$prefix</var> or
    <var>$exec_prefix</var>.  Examples of such data include the list archives and
    list settings database.

<P>
</DD>
<DT><STRONG><b class="programopt">--with-python</b>=<span class="file">/path/to/python</span></STRONG></DT>
<DD>Specify an alternative Python interpreter to use for the wrapper programs.
    The default is to use the interpreter found first on your shell's
    <var>$PATH</var>.

<P>
</DD>
<DT><STRONG><b class="programopt">--with-username</b>=<var>username-or-uid</var></STRONG></DT>
<DD>Specify a different username than <code>mailman</code>.  The value of this
    option can be an integer user id or a user name.  Be sure your
    <var>$prefix</var> directory is owned by this user.

<P>
</DD>
<DT><STRONG><b class="programopt">--with-groupname</b>=<var>groupname-or-gid</var></STRONG></DT>
<DD>Specify a different groupname than <code>mailman</code>.  The value of this
    option can be an integer group id or a group name.  Be sure your
    <var>$prefix</var> directory is group-owned by this group.

<P>
</DD>
<DT><STRONG><b class="programopt">--with-mail-gid</b>=<var>group-or-groups</var></STRONG></DT>
<DD>Specify an alternative group for running scripts via the mail wrapper.
    <var>group-or-groups</var> can be a list of one or more integer group ids or
    symbolic group names.  The first value in the list that resolves to an
    existing group is used.  By default, the value is the list <code>mailman</code>,
    <code>other</code>, <code>mail</code>, and <code>daemon</code>.

<P>
<div class="note"><b class="label">Note:</b>

    This is highly system dependent and you must get this right, because the
    group id is compiled into the mail wrapper program for added security.  On
    systems using <b class="program">sendmail</b>, the <span class="file">sendmail.cf</span> configuration
    file designates the group id of <b class="program">sendmail</b> processes using the
    <var>DefaultUser</var> option.  (If commented out, it still may be indicating
    the default...)
    </div>

<P>
Check your mail server's documentation and configuration files to find the
    right value for this switch.

<P>
</DD>
<DT><STRONG><b class="programopt">--with-cgi-gid</b>=<var>group-or-groups</var></STRONG></DT>
<DD>Specify an alternative group for running scripts via the CGI wrapper.
    <var>group-or-groups</var> can be a list of one or more integer group ids or
    symbolic group names.  The first value in the list that resolves to an
    existing group is used.  By default, the value is the the list
    <code>www</code>, <code>www-data</code>, and <code>nobody</code>.

<P>
<div class="note"><b class="label">Note:</b>

    The proper value for this is dependent on your web server configuration.
    You must get this right, because the group id is compiled into the CGI
    wrapper program for added security, and no Mailman CGI scripts will run if
    this is incorrect.
    </div>

<P>
If you're using Apache, check the values for the <var>Group</var> option in
    your <span class="file">httpd.conf</span> file.

<P>
</DD>
<DT><STRONG><b class="programopt">--with-cgi-ext</b>=<var>extension</var></STRONG></DT>
<DD>Specify an extension for cgi-bin programs.  The CGI wrappers placed in
    <span class="file"><var>$prefix</var>/cgi-bin</span> will have this extension (some web servers
    require an extension).  <var>extension</var> must include the leading dot.

<P>
</DD>
<DT><STRONG><b class="programopt">--with-mailhost</b>=<var>hostname</var></STRONG></DT>
<DD>Specify the fully qualified host name part for outgoing email.  After the
    installation is complete, this value can be overriden in
    <span class="file"><var>$prefix</var>/Mailman/mm_cfg.py</span>.

<P>
</DD>
<DT><STRONG><b class="programopt">--with-urlhost</b>=<var>hostname</var></STRONG></DT>
<DD>Specify the fully qualified host name part of urls.  After the
    installation is complete, this value can be overriden in
    <span class="file"><var>$prefix</var>/Mailman/mm_cfg.py</span>.

<P>
</DD>
<DT><STRONG><b class="programopt">--with-gcc</b>=no</STRONG></DT>
<DD>Don't use gcc, even if it is found.  In this case, <b class="program">cc</b> must be
    found on your <var>$PATH</var>.

<P>
</DD>
</DL>

<P>

<DIV CLASS="navigation">
<div class='online-navigation'>
<p></p><hr />
<table align="center" width="100%" cellpadding="0" cellspacing="2">
<tr>
<td class='online-navigation'><a rel="prev" title="3 Build and install"
  href="node6.html"><img src='previous.png'
  border='0' height='32'  alt='Previous Page' width='32' /></A></td>
<td class='online-navigation'><a rel="parent" title="3 Build and install"
  href="node6.html"><img src='up.png'
  border='0' height='32'  alt='Up One Level' width='32' /></A></td>
<td class='online-navigation'><a rel="next" title="3.2 Make and install"
  href="node8.html"><img src='next.png'
  border='0' height='32'  alt='Next Page' width='32' /></A></td>
<td align="center" width="100%">GNU Mailman - Installation Manual</td>
<td class='online-navigation'><img src='blank.png'
  border='0' height='32'  alt='' width='32' /></td>
<td class='online-navigation'><img src='blank.png'
  border='0' height='32'  alt='' width='32' /></td>
<td class='online-navigation'><img src='blank.png'
  border='0' height='32'  alt='' width='32' /></td>
</tr></table>
<div class='online-navigation'>
<b class="navlabel">Previous:</b>
<a class="sectref" rel="prev" href="node6.html">3 Build and install</A>
<b class="navlabel">Up:</b>
<a class="sectref" rel="parent" href="node6.html">3 Build and install</A>
<b class="navlabel">Next:</b>
<a class="sectref" rel="next" href="node8.html">3.2 Make and install</A>
</div>
</div>
<hr />
<span class="release-info">Release 2.1, documentation updated on May 12, 2005.</span>
</DIV>
<!--End of Navigation Panel-->

</BODY>
</HTML>