<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In the current form, the suggested configuration in the above file doesn’t handle the mailman-loop address, as the wrapper script doesn’t handle the loop address.  I have been using a router/transport pair for a few months now to cater
 for this.  For the record I don’t use the Debian provided Mailman package, and still use the older instructions for integrating Mailman with Postfix found at
<a href="http://www.exim.org/howto/mailman21.html">http://www.exim.org/howto/mailman21.html</a>.  However, I have a suggested router/transport pair that could go into the README file if required.  If you think that this isn’t worth bothering with, or an alternative
 way is better, I would be interested to see this.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks.<o:p></o:p></p>
<p class="MsoNormal">Andrew.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">---------------------- BEGIN EXIM4 MAIN   ----------------------------<o:p></o:p></p>
<p class="MsoNormal"># Home dir for your Mailman installation -- aka Mailman's prefix<o:p></o:p></p>
<p class="MsoNormal"># directory.<o:p></o:p></p>
<p class="MsoNormal">MAILMAN_HOME=/var/lib/mailman<o:p></o:p></p>
<p class="MsoNormal">MAILMAN_WRAP=MAILMAN_HOME/mail/mailman<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># Where to store messages sent to mailman-loop - used if the mailman-owner address bounces.<o:p></o:p></p>
<p class="MsoNormal">MAILMAN_LOOP=MAILMAN_HOME/data/owner-bounces.mbox<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># User and group for Mailman, should match your --with-mail-gid<o:p></o:p></p>
<p class="MsoNormal"># switch to Mailman's configure script.<o:p></o:p></p>
<p class="MsoNormal">MAILMAN_USER=list<o:p></o:p></p>
<p class="MsoNormal">MAILMAN_GROUP=daemon<o:p></o:p></p>
<p class="MsoNormal">----------------------  END EXIM4 MAIN    ----------------------------<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">---------------------- BEGIN EXIM4 ROUTER ----------------------------<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># We need to handle the mailman-loop separately from the other addresses<o:p></o:p></p>
<p class="MsoNormal"># since the loop action is not handled by the wrapper.<o:p></o:p></p>
<p class="MsoNormal">mailman_loop_router:<o:p></o:p></p>
<p class="MsoNormal">  debug_print = "R: mailman_loop for $local_part@$domain"<o:p></o:p></p>
<p class="MsoNormal">  driver = accept<o:p></o:p></p>
<p class="MsoNormal">  domains = +local_domains<o:p></o:p></p>
<p class="MsoNormal">  local_parts = mailman-loop<o:p></o:p></p>
<p class="MsoNormal">  transport = mailman_loop_transport<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">---------------------- BEGIN EXIM4 TRANSPORT -------------------------<o:p></o:p></p>
<p class="MsoNormal">mailman_loop_transport:<o:p></o:p></p>
<p class="MsoNormal">  driver = appendfile<o:p></o:p></p>
<p class="MsoNormal">  file = MAILMAN_LOOP<o:p></o:p></p>
<p class="MsoNormal">  delivery_date_add<o:p></o:p></p>
<p class="MsoNormal">  envelope_to_add<o:p></o:p></p>
<p class="MsoNormal">  return_path_add<o:p></o:p></p>
<p class="MsoNormal">  user = MAILMAN_USER<o:p></o:p></p>
<p class="MsoNormal">  group = MAILMAN_GROUP<o:p></o:p></p>
</div>
</body>
</html>