<div dir="ltr"><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 10, 2014 at 6:55 PM, Ryan Schmidt <span dir="ltr">&lt;<a href="mailto:ryandesign@macports.org" target="_blank">ryandesign@macports.org</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><br>
On Jul 10, 2014, at 2:20 PM, Bill Christensen &lt;<a href="mailto:billc_lists@greenbuilder.com" target="_blank">billc_lists@greenbuilder.com</a>&gt; wrote:<br>
<br>
&gt; I changed the setting in MacPorts&#39; file from --with-mail-gid=_mailman to --with-mail-gid=staff and attempted to reinstall, but I&#39;m getting an error that it&#39;s &quot;Unable to open port - invalid command name &#39;--with-mail-gid=staff&#39;&quot;.<br>



<br>
</div>You have a syntax error in your portfile. Perhaps you forgot to add the backslash at the end of the preceding line. If you show us the modifications you made, we made be able to be more precise.<br>
<br>
</blockquote></div><br></div><div class="gmail_extra">Ok, got it.  I had put a comment line directly above --with-mail-gid=staff to remind myself what I had done.  I had to pull that out of the &quot;configure.args&quot; block.  It also appears to work better if I abstract it a bit by using;</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">







<p>       set mmgroup2            staff </p><p>then after the note to myself so I can revert if needed, change the --with-mail-gid as below</p><p>







</p><p class="">       #BC MOD was --with-mail-gid=${mmgroup} \</p><p class="">      configure.args         </p>
<p>                        --with-mail-gid=${mmgroup2} \</p><p><br></p><p>Those were the only changes I made. </p></div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Though it installs now, it&#39;s still throwing errors:</div><div class="gmail_extra"><br></div><div class="gmail_extra">







<p>Group mismatch error.  Mailman expected the mail</p>
<p>wrapper script to be executed as group &quot;_mailman&quot;, but</p>
<p>the system&#39;s mail server executed the mail script as</p>
<p>group &quot;staff&quot;.  Try tweaking the mail server to run the</p>
<p>script as group &quot;_mailman&quot;, or re-run configure, </p>
<p>providing the command line option `--with-mail-gid=staff&#39;.</p></div><div class="gmail_extra"><br></div>







</div>