2002-09-16 19:13:10 +02:00
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2002-08-13 22:45:21 +02:00
|
|
|
|
<html>
|
|
|
|
|
<head>
|
2003-07-16 20:59:33 +02:00
|
|
|
|
|
2002-09-16 19:13:10 +02:00
|
|
|
|
<meta http-equiv="Content-Language" content="en-us">
|
2003-07-16 20:59:33 +02:00
|
|
|
|
|
2002-09-16 19:13:10 +02:00
|
|
|
|
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
2003-07-16 20:59:33 +02:00
|
|
|
|
|
2002-09-16 19:13:10 +02:00
|
|
|
|
<meta name="ProgId" content="FrontPage.Editor.Document">
|
2003-07-16 20:59:33 +02:00
|
|
|
|
|
2002-09-16 19:13:10 +02:00
|
|
|
|
<meta http-equiv="Content-Type"
|
|
|
|
|
content="text/html; charset=windows-1252">
|
|
|
|
|
<title>GNU Mailman</title>
|
2002-08-13 22:45:21 +02:00
|
|
|
|
</head>
|
2002-09-16 19:13:10 +02:00
|
|
|
|
<body>
|
2003-07-16 20:59:33 +02:00
|
|
|
|
|
2002-09-16 19:13:10 +02:00
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0"
|
|
|
|
|
style="border-collapse: collapse;" bordercolor="#111111" width="100%"
|
2003-07-16 20:59:33 +02:00
|
|
|
|
id="AutoNumber1" bgcolor="#3366ff" height="90">
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td width="100%">
|
|
|
|
|
<h1 align="center"><font color="#ffffff">GNU Mailman/Postfix the Easy
|
2002-12-29 19:23:07 +01:00
|
|
|
|
Way</font></h1>
|
2003-07-16 20:59:33 +02:00
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
</tbody>
|
2002-08-22 23:21:41 +02:00
|
|
|
|
</table>
|
2003-07-16 20:59:33 +02:00
|
|
|
|
|
2002-09-16 19:13:10 +02:00
|
|
|
|
<h1 align="center"><EFBFBD></h1>
|
2003-07-16 20:59:33 +02:00
|
|
|
|
|
|
|
|
|
<h4>The following was posted on the Postfix mailing list on 5/4/2002 by Michael
|
2002-12-29 19:23:07 +01:00
|
|
|
|
Tokarev as a suggested addition to the Postfix FAQ.</h4>
|
2003-07-16 20:59:33 +02:00
|
|
|
|
|
2002-08-13 22:45:21 +02:00
|
|
|
|
<p>Q: Mailman does not work with Postfix, complaining about GID mismatch<br>
|
2003-07-16 20:59:33 +02:00
|
|
|
|
<br>
|
|
|
|
|
A: Mailman uses a setgid wrapper that is designed to be used in system-wide
|
|
|
|
|
aliases file so that rest of mailman's mail handling processes will run
|
|
|
|
|
with proper uid/gid. Postfix has an ability to run a command specified in
|
|
|
|
|
an alias as owner of that alias, thus mailman's wrapper is not needed here.
|
|
|
|
|
The best method to invoke mailman's mail handling via aliases is to use
|
|
|
|
|
separate alias file especially for mailman, and made it owned by mailman
|
2002-09-16 19:13:10 +02:00
|
|
|
|
and group mailman. Like:<br>
|
2003-07-16 20:59:33 +02:00
|
|
|
|
<br>
|
|
|
|
|
alias_maps = hash:/etc/postfix/aliases, hash:/var/mailman/aliases<br>
|
|
|
|
|
<br>
|
|
|
|
|
Make sure that /var/mailman/aliases.db is owned by mailman user (this
|
2002-12-29 19:23:07 +01:00
|
|
|
|
may be done by executing postalias as mailman userid).<br>
|
2003-07-16 20:59:33 +02:00
|
|
|
|
<br>
|
|
|
|
|
Next, instead of using mailman-suggested aliases entries with wrapper,
|
2002-12-29 19:23:07 +01:00
|
|
|
|
use the following:<br>
|
2003-07-16 20:59:33 +02:00
|
|
|
|
<br>
|
|
|
|
|
instead of<br>
|
|
|
|
|
mailinglist: /var/mailman/mail/wrapper post mailinglist<br>
|
|
|
|
|
mailinglist-admin: /var/mailman/mail/wrapper mailowner mailinglist<br>
|
|
|
|
|
mailinglist-request: /var/mailman/mail/wrapper mailcmd mailinglist<br>
|
|
|
|
|
...<br>
|
|
|
|
|
<br>
|
|
|
|
|
use<br>
|
|
|
|
|
mailinglist: /var/mailman/scripts/post mailinglist<br>
|
|
|
|
|
mailinglist-admin: /var/mailman/scripts/mailowner mailinglist<br>
|
|
|
|
|
mailinglist-request: /var/mailman/scripts/mailcmd mailinglist<br>
|
|
|
|
|
...</p>
|
|
|
|
|
|
|
|
|
|
<h4>The above tip works with Mailman 2.0; Mailman 2.1 has adopted something
|
|
|
|
|
very similar so that no workaround is necessary. See the README.POSTFIX file
|
2002-12-29 19:23:07 +01:00
|
|
|
|
included with Mailman-2.1.<2E></h4>
|
2003-07-16 20:59:33 +02:00
|
|
|
|
|
2002-12-29 19:23:07 +01:00
|
|
|
|
<p align="left"><font size="2">Last updated 12/29/2002 - <a
|
2002-09-16 19:13:10 +02:00
|
|
|
|
href="support.htm">Tom Eastep</a></font></p>
|
2003-07-16 20:59:33 +02:00
|
|
|
|
|
2002-09-16 19:13:10 +02:00
|
|
|
|
<p align="left"><font face="Trebuchet MS"><a href="copyright.htm"> <font
|
|
|
|
|
size="2">Copyright</font> <20> <font size="2">2001, 2002 Thomas M. Eastep.</font></a></font></p>
|
2003-07-16 20:59:33 +02:00
|
|
|
|
<br>
|
|
|
|
|
<br>
|
2002-09-16 19:13:10 +02:00
|
|
|
|
<br>
|
2002-12-29 19:23:07 +01:00
|
|
|
|
<br>
|
2002-08-13 22:45:21 +02:00
|
|
|
|
</body>
|
2002-09-16 19:13:10 +02:00
|
|
|
|
</html>
|