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
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
|
<HTML>
<!-- THIS PAGE IS AUTOMATICALLY GENERATED. DO NOT EDIT. -->
<!-- Wed Nov 8 13:38:28 2000 -->
<!-- USING HT2HTML 1.1 -->
<!-- SEE http://www.python.org/~bwarsaw/software/pyware.html -->
<!-- User-specified headers:
Title: Common problems FAQ
-->
<HEAD>
<TITLE>Common problems FAQ</TITLE>
</HEAD>
<BODY BGCOLOR="#ffffff" TEXT="#000000"
TOPMARGIN="0" LEFTMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0"
LINK="#0000bb" VLINK="#551a8b"
ALINK="#ff0000">
<!-- start of page table -->
<TABLE WIDTH="100%" BORDER=0 CELLSPACING=0 CELLPADDING=0>
<!-- start of banner row -->
<TR>
<!-- start of corner cells -->
<TD WIDTH=150 VALIGN=CENTER BGCOLOR="black">
<center>
<a href="./index.html">
<img border=0 src="./images/logo-70.jpg"></a></center> </TD>
<TD WIDTH=15 BGCOLOR="#99997c"> </TD><!--spacer-->
<!-- end of corner cells -->
<!-- start of banner -->
<TD WIDTH="90%" BGCOLOR="#99997c">
<!-- start of site links table -->
<TABLE WIDTH="100%" BORDER=0
CELLSPACING=0 CELLPADDING=0
COLS=3 ROWS=4 BGCOLOR="#ffffff">
<TR>
<TD BGCOLOR="#99997c">
<a href="./index.html">Home</a>
</TD>
<TD BGCOLOR="#99997c">
<a href="./users.html">Users</a>
</TD>
<TD BGCOLOR="#99997c">
<a href="http://www.list.org/">List.Org</a>
</TD>
</TR><TR>
<TD BGCOLOR="#99997c">
<a href="./install-start.html">Installation</a>
</TD>
<TD BGCOLOR="#99997c">
<a href="./mgrs.html">List Managers</a>
</TD>
<TD BGCOLOR="#99997c">
<a href="http://www.gnu.org/software/mailman/mailman.html">Mailman at GNU</a>
</TD>
</TR><TR>
<TD BGCOLOR="#99997c">
<a href="./faq.html">FAQ</a>
</TD>
<TD BGCOLOR="#99997c">
<a href="./admins.html">Site Administrators</a>
</TD>
<TD BGCOLOR="#99997c">
<a href="http://www.python.org/">Python.Org</a>
</TD>
</TR><TR>
<TD BGCOLOR="#99997c">
<a href="./lists.html">Discussion Lists</a>
</TD>
<TD BGCOLOR="#99997c">
<a href="./devs.html">Developers</a>
</TD>
<TD BGCOLOR="#99997c">
<a href="http://www.gnu.org/">Gnu.Org</a>
</TD>
</TR>
</TABLE><!-- end of site links table -->
</TD><!-- end of banner -->
</TR><!-- end of banner row -->
<TR><!-- start of sidebar/body row -->
<!-- start of sidebar cells -->
<TD WIDTH=150 VALIGN=TOP BGCOLOR="#99997c">
<!-- start of sidebar table -->
<TABLE WIDTH="100%" BORDER=0 CELLSPACING=0 CELLPADDING=3
BGCOLOR="#ffffff">
<TR><TD BGCOLOR="#663300"><B><FONT COLOR="#ffffff">
Overview
</FONT></B></TD></TR>
<TR><TD BGCOLOR="#99997c">
<A HREF="index.html">Home</A>
</TD></TR>
<TR><TD BGCOLOR="#99997c">
<A HREF="features.html">Features</A>
</TD></TR>
<TR><TD BGCOLOR="#99997c">
<A HREF="download.html">Requirements, Download</A>
</TD></TR>
<TR><TD BGCOLOR="#99997c">
<A HREF="install-start.html">Installation</A>
</TD></TR>
<TR><TD BGCOLOR="#99997c">
<A HREF="lists.html">Discussion Lists</A>
</TD></TR>
<TR><TD BGCOLOR="#99997c">
<A HREF="bugs.html">Bugs and Patches</A>
</TD></TR>
<TR><TD BGCOLOR="#99997c">
<A HREF="faq.html">Frequently Asked Questions</A>
</TD></TR>
<TR><TD BGCOLOR="#99997c">
<A HREF="inthenews.html">Mailman in Use</A>
</TD></TR>
<TR><TD BGCOLOR="#99997c">
<A HREF="todo.html">Wishlist!</A>
</TD></TR>
<TR><TD BGCOLOR="#99997c">
<TR><TD BGCOLOR="#663300"><B><FONT COLOR="#ffffff">
Installing Mailman
</FONT></B></TD></TR>
<TR><TD BGCOLOR="#99997c">
<A HREF="install-start.html">Start installing</A>
</TD></TR>
<TR><TD BGCOLOR="#99997c">
<A HREF="install-system.html">System setup</A>
</TD></TR>
<TR><TD BGCOLOR="#99997c">
<A HREF="install-config.html">Running configure</A>
</TD></TR>
<TR><TD BGCOLOR="#99997c">
<A HREF="install-check.html">Check your installation</A>
</TD></TR>
<TR><TD BGCOLOR="#99997c">
<A HREF="install-final.html">Final system setup</A>
</TD></TR>
<TR><TD BGCOLOR="#99997c">
<A HREF="install-custom.html">Customize Mailman</A>
</TD></TR>
<TR><TD BGCOLOR="#99997c">
<A HREF="install-test.html">Create a test list</A>
</TD></TR>
<TR><TD BGCOLOR="#99997c">
<A HREF="install-trouble.html">Troubleshooting</A>
</TD></TR>
<TR><TD BGCOLOR="#99997c">
<b>Common problems FAQ</b>
</TD></TR>
<TR><TD BGCOLOR="#99997c">
<TR><TD BGCOLOR="#663300"><B><FONT COLOR="#ffffff">
Email Us
</FONT></B></TD></TR>
<TR><TD BGCOLOR="#99997c">
<A HREF="mailto:mailman-cabal@python.org">mailman-cabal@python.org</A>
</TD></TR>
<TR><TD BGCOLOR="#99997c">
</TD></TR>
<TR><TD BGCOLOR="#99997c">
<A HREF="http://www.python.org/">
<center>
<img border=0 src="./images/PythonPoweredSmall.png"></center></A>
</TD></TR>
<TR><TD BGCOLOR="#99997c">
</TD></TR>
<TR><TD BGCOLOR="#99997c">
© 1998,1999,2000
</TD></TR>
<TR><TD BGCOLOR="#99997c">
Free Software Foundation, Inc.
</TD></TR>
</TABLE><!-- end of sidebar table -->
</TD>
<TD WIDTH=15> </TD><!--spacer-->
<!-- end of sidebar cell -->
<!-- start of body cell -->
<TD VALIGN=TOP WIDTH="90%"><BR>
<h3>Common Problems FAQ</h3>
<b>Problem:</b> All Mailman web pages give a <em>404 File not
found</em> error.
<br><b>Solution:</b> Your web server has not been set up properly
for handling Mailman's cgi commands. Make sure you've:
<ol><li>Configured the web server to give permissions to
<code>$prefix/cgi-bin</code>
<li>Restarted the web server properly.
</ol>
Consult your web server's documentation for instructions
on how to do these things.
<p><b>Problem:</b> All Mailman web pages give an <em>Internal
Server Error</em>.
<br><b>Solution:</b> The likely problem is that you are using the
wrong GID or UID for CGI scripts. Check your syslog. If you
see, for example, a line like:
<blockquote>
<pre>
Attempt to exec script with invalid gid 51, expected 99
</pre>
</blockquote>
You need to reinstall Mailman, and specify
<code>$CGI_GID</code> to be 51, as described in the
installation instructions.
<p><b>Problem:</b> I send mail to the list, and get back mail saying the
list is not found!
<br><b>Solution:</b> You probably didn't add the necessary aliases
to the system alias database, given to you when you ran the
<code>newlist</code> command. If you did add them, you likely
did not update the alias database, or your system requires you
to run <code>newaliases</code> explicitly. Refer to section 5
above for more information.
<p><b>Problem:</b> I send mail to the list, and get back mail saying,
<em>unknown mailer error</em>.
<br><b>Solution:</b> The likely problem is that you are using the
wrong GID or UID for mail. Check your syslog. If you see, for
example, a line like:
<blockquote>
<pre>
Attempt to exec script with invalid gid 51, expected 99
</pre>
</blockquote>
You need to reinstall Mailman, and specify
<code>$MAIL_GID</code> to be 51, as described in the
installation instructions. see notes on Postfix below, as by
default it will create these problems on installation.
<p><b>Problem:</b> I use Postfix for my MTA and the mail wrapper programs
are logging complaints about the wrong GID.
<br><b>Solution:</b> Create a separate aliases file for Postfix in its
<code>main.cf</code> config file under the variable
<em>alias_maps</em>. Put the file somewhere in Mailman's home
directory, or somewhere else where the user
<code>mailman</code> has write access to it; <em>as user
mailman</em> call Postfix's <code>postalias</code> on the
alias file.
<blockquote>
<pre>
% postalias the-alias-file
</pre>
</blockquote>
Also as user mailman, run
<blockquote>
<pre>
% python -c'import os; print os.getgid()'
</pre>
</blockquote>
<p>This should print out the group id that Mailman should be
configured to expect when the mail wrapper programs are run.
Call it <em>thegid</em>. Rebuild Mailman with
<blockquote>
<pre>
% ./configure --with-mail-gid=thegid
</pre>
</blockquote>
<p><b>Problem:</b> I send mail to the list, and get back mail saying,
<em>sh: wrapper not available for sendmail programs</em>
<br><b>Solution:</b> Your system uses sendmail restricted shell
(smrsh). You need to configure smrsh by creating a symbolic
link from the mail wrapper (<code>$prefix/mail/wrapper</code>)
to the directory identifying executables allowed to run under
smrsh.
<p>Some common names for this directory are
<code>/var/admin/sm.bin</code>, <code>/usr/admin/sm.bin</code>
or <code>/etc/smrsh</code>.
<p>Note that on Debian Linux, the system makes
<code>/usr/lib/sm.bin</code>, which is wrong, you will need to
create the directory <code>/usr/admin/sm.bin</code> and add
the link there. Note further that any aliases
<code>newaliases</code> spits out will need to be adjusted to
point to the secure link to the wrapper.
<p><b>Problem:</b> I messed up when I called configure. How do I clean
things up and re-install?
<br><b>Solution:</b>
<blockquote>
<pre>
% make clean
% ./configure --with-the-right-options
% make install
</pre>
</blockquote>
</TD><!-- end of body cell -->
</TR><!-- end of sidebar/body row -->
</TABLE><!-- end of page table -->
</BODY></HTML>
|