<div>To follow up on my previous post, Perl 5.10.1 resolved bugs in taint that MailScanner got around in 5.8 and 5.10.  Now that taint has been fixed in 5.10.1, MailScanner doesn&#39;t run.</div>
<div> </div>
<div>Sanderson4<br><br></div>
<div class="gmail_quote">On Sun, Nov 15, 2009 at 1:59 PM, Sanderson4 <span dir="ltr">&lt;<a href="mailto:sanderson4@gmail.com">sanderson4@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>Unfortunately, the issue is MailScanner and not Perl.  When a user sets &quot;Run As Users&quot; and &quot;Run As Group&quot; in MailScanner, it forces Perl to run in taint mode because Perl was directed by MailScanner to run as a different user.  For security reasons this causes Perl to be very sceptical as to what tasks the assigned user can perform.  MailScanner has not been updated to resolve these tainted tasks (ie load custom function files or chown).  </div>

<div> </div>
<div>The reason you don&#39;t see the Linux community compain about Perl is because they use a packaging system that doesn&#39;t force a user to upgrade to the latest version of Perl each time they upgrade MailScanner.  FreeBSD&#39;s portmaster and portupgrade check each dependancy of MailScanner and will upgrade any dependancy that has a newer version available.  I know with portmaster you can include the -x argument to &quot;avoid building or updating ports that match this pattern.&quot;  Unfortunately I don&#39;t use portupgrade so I don&#39;t know how to exclude an upgrade.  Please refer to the man page for a solution.</div>

<div> </div>
<div>With that said, we as a FreeBSD community need to submit bug requests to Jules so he can resolve these programming constraints that newer versions of Perl produce.</div>
<div> </div>
<div>Cheers,</div>
<div> </div><font color="#888888">
<div>Sanderson4</div></font>
<div>
<div></div>
<div class="h5">
<div> </div>
<div> </div>
<div>On Sun, Nov 15, 2009 at 12:18 PM, Drew Marshall <span dir="ltr">&lt;<a href="mailto:drew.marshall@trunknetworks.com" target="_blank">drew.marshall@trunknetworks.com</a>&gt;</span> wrote:<br></div>
<div class="gmail_quote">
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div><br>On 15 Nov 2009, at 14:03, Mog wrote:<br><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hi,<br><br>I followed the procedure you described exactly. I&#39;m guessing the other people who are experiencing the same problem did the same thing as well (as mentioned on the ports mailing list). I&#39;m using that exact version of perl you mentioned and used the perl-after-upgrade call as always. As it turns out, to get the mail server back up and running again I had to revert to the packaged version perl-5.10.0_2.tbz and ignore the upgrade (like last time this happened).<br>
</blockquote><br></div>Yup, same here. Make sure you continue to be vigilant when running portupgrade again or else you will be right back again. 
<div><br><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote"><br>I can only assume that either you did something extra we haven&#39;t to make it work, or ... Actually there is no or, I&#39;m out of ideas. I have no idea why it should work for a few people but not dozens of others (unless you&#39;re using portmaster and we&#39;re using portupgrade or something). Nor do I know what actually is the cause of the problem.<br>
</blockquote><br></div>I have upgraded to 5.10.1 and had to roll back too. I have no idea what could be causing the issue but it&#39;s a right pain. 
<div><br><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote"><br>I can&#39;t see any logical reason why every so often a perl upgrade will cause MailScanner to break. Presumably either it&#39;s a recurring problem with the FreeBSD port, the upgrade process, or within perl itself.<br>
</blockquote><br></div>It&#39;s not a problem within the same version but every so often a new version pops out and having gone through the upgrade, then reinstalling all the p5-* ports (portupgrade -f p5-* I always do that as I don&#39;t find the the perl-after-upgrade script does the job fully but then I have never run it with the -f option so I&#39;ll try that next time) to find that something borks MS and then you have to downgrade again is a right pain :-(<br>
<br>I really like FreeBSD but I just can&#39;t see what is causing this to happen. Surely perl is perl and therefore it should work for everyone or no one? Or have I missed something (Probably!)?<br><br>Drew<br><font color="#888888">-- <br>
In line with our policy, this message has been scanned for viruses and dangerous content.<br>Our email policy can be found at <a href="http://www.trunknetworks.com/policy" target="_blank">www.trunknetworks.com/policy</a><br>
<br>Trunk Networks Limited is registered in Scotland with registration number: SC351063<br>Registered Office 55-57 West High Street Inverurie AB51 3QQ</font> 
<div>
<div></div>
<div><br><br>-- <br>MailScanner mailing list<br><a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a><br><a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br><br>Support MailScanner development - buy the book off the website!<br></div></div></blockquote>
</div><br></div></div></blockquote></div><br>