mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-16 03:10:39 +01:00
48719a6621
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@182 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
55 lines
2.7 KiB
HTML
55 lines
2.7 KiB
HTML
<html>
|
||
|
||
<head>
|
||
<meta http-equiv="Content-Language" content="en-us">
|
||
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
||
<meta name="ProgId" content="FrontPage.Editor.Document">
|
||
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
||
<title>GNU Mailman</title>
|
||
<meta name="Microsoft Theme" content="radial 011">
|
||
</head>
|
||
|
||
<body background="_themes/radial/radbkgnd.gif" bgcolor="#FFFFFF" text="#000000" link="#6666FF" vlink="#993333" alink="#66CCCC"><!--mstheme--><font face="arial, Arial, Helvetica">
|
||
|
||
<h1 align="center"><!--mstheme--><font face="times new roman, Times New Roman, Times" color="#666666">GNU Mailman/Postfix<br>
|
||
the Easy Way<!--mstheme--></font></h1>
|
||
<h4><!--mstheme--><font face="times new roman, Times New Roman, Times" color="#666666">The following was posted on the Postfix mailing list on 5/4/2002 by Michael
|
||
Tokarev as a suggested addition to the Postfix FAQ.<!--mstheme--></font></h4>
|
||
<p>Q: Mailman does not work with Postfix, complaining about GID mismatch<br>
|
||
<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 and group mailman. Like:<br>
|
||
<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 may be
|
||
done by executing postalias as mailman userid).<br>
|
||
<br>
|
||
Next, instead of using mailman-suggested aliases entries with wrapper, use the
|
||
following:<br>
|
||
<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><!--mstheme--><font face="times new roman, Times New Roman, Times" color="#666666">The Shorewall mailing lists are currently running Postfix 1.1.7 together
|
||
with the stock RedHat Mailman-2.0.8 RPM configured as shown above.<!--mstheme--></font></h4>
|
||
<p align="left"><font size="2">Last updated 5/4/2002 - <a href="support.htm">Tom
|
||
Eastep</a></font></p>
|
||
<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>
|
||
|
||
<!--mstheme--></font></body>
|
||
|
||
</html> |