<HTML dir=ltr><HEAD>
<STYLE>.EmailQuote {
        PADDING-LEFT: 4pt; MARGIN-LEFT: 1pt; BORDER-LEFT: #800000 2px solid
}
</STYLE>

<STYLE title=owaParaStyle><!--P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
--></STYLE>
</HEAD>
<BODY ocsi="x">
<DIV dir=ltr><FONT face=Tahoma color=#000000 size=2>I am using both the patch and the latest beta and I'm still getting the issue. I'll keep looking for where the problem is. Could it be when you call the for the file command?</FONT></DIV>
<DIV>
<DIV><FONT face=Tahoma size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma size=2>Garrod M. Alwood</FONT></DIV>
<DIV><FONT face=tahoma size=2>Consultant</FONT></DIV>
<DIV><FONT face=tahoma size=2><A href="mailto:garrod.alwood@lorodoes.com" target=_blank>garrod.alwood@lorodoes.com</A></FONT></DIV>
<DIV><FONT face=tahoma size=2>904.738.4988</FONT></DIV></DIV>
<DIV id=divRpF947919 style="DIRECTION: ltr">
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> mailscanner-bounces@lists.mailscanner.info [mailscanner-bounces@lists.mailscanner.info] On Behalf Of Jules Field [MailScanner@ecs.soton.ac.uk]<BR><B>Sent:</B> Wednesday, January 13, 2010 2:00 PM<BR><B>To:</B> MailScanner discussion<BR><B>Subject:</B> Re: More taint mode problems (please help)<BR></FONT><BR></DIV>
<DIV></DIV><FONT size=2>
<DIV class=PlainText>Try out the latest beta with the patch I just posted an hour or two ago. <BR>Then tell me if there's still a problem. But I need a pointer to an <BR>error in my code, not in File.pm as that doesn't help me much, sorry.<BR><BR>Thanks!<BR>Jules.<BR><BR>On 13/01/2010 18:26, Garrod M. Alwood wrote:<BR>&gt; I don't know if this a failure on my part or not, but when certain <BR>&gt; file types come in I get the below error and this what I am running <BR>&gt; ubuntu 9.10 with perl 5.10 and MailScanner 4.79.5-1.<BR>&gt; Insecure dependency in open while running with -T switch at <BR>&gt; /usr/lib/perl/5.10/IO/File.pm line 63.<BR>&gt;<BR>&gt; 60:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return open($fh, $mode, $file) if @_ == 3;<BR>&gt;<BR>&gt; 61:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; croak 'usage: $fh-&gt;open(FILENAME, IOLAYERS)';<BR>&gt;<BR>&gt; 62:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } else {<BR>&gt;<BR>&gt; 63:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return open($fh, IO::Handle::_open_mode_string($mode), <BR>&gt; $file);<BR>&gt;<BR>&gt; Garrod M. Alwood<BR>&gt; Consultant<BR>&gt; garrod.alwood@lorodoes.com &lt;<A href="mailto:garrod.alwood@lorodoes.com" target=_blank>mailto:garrod.alwood@lorodoes.com</A>&gt;<BR>&gt; 904.738.4988<BR>&gt; ------------------------------------------------------------------------<BR>&gt; *From:* mailscanner-bounces@lists.mailscanner.info <BR>&gt; [mailscanner-bounces@lists.mailscanner.info] On Behalf Of Jules Field <BR>&gt; [MailScanner@ecs.soton.ac.uk]<BR>&gt; *Sent:* Wednesday, January 13, 2010 11:41 AM<BR>&gt; *To:* MailScanner discussion<BR>&gt; *Subject:* Re: More taint mode problems (please help)<BR>&gt;<BR>&gt; Please can you try the attached patch to TNEF.pm.<BR>&gt; Please let me know if it solves the problem or not.<BR>&gt;<BR>&gt; Thanks!<BR>&gt; Jules.<BR>&gt;<BR>&gt; On 13/01/2010 16:19, Thomas Lohman wrote:<BR>&gt; &gt;<BR>&gt; &gt;&gt; I've released 4.79.5, which I would gratefully appreciate you testing.<BR>&gt; &gt;<BR>&gt; &gt; Hi Julian,<BR>&gt; &gt;<BR>&gt; &gt; I've installed version 4.79.5 on a RH5 box with perl 5.10.1 and have<BR>&gt; &gt; been running it against our production e-mail traffic and I noticed<BR>&gt; &gt; this morning that taint errors still are happening when processing<BR>&gt; &gt; TNEF attachments.&nbsp; This is the line which is output when running a<BR>&gt; &gt; single message through in debug mode:<BR>&gt; &gt;<BR>&gt; &gt; 11:17:22 Insecure dependency in rename while running with -T switch at<BR>&gt; &gt; /usr/local/MailScanner/lib/MailScanner/TNEF.pm line 357.<BR>&gt; &gt;&nbsp; Failed.<BR>&gt; &gt;<BR>&gt; &gt; Let me know if there is any more information you need or if there is<BR>&gt; &gt; some other patch I may be missing.<BR>&gt; &gt;<BR>&gt; &gt; thanks much,<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; --tom<BR>&gt; &gt;<BR>&gt;<BR>&gt; Jules<BR>&gt;<BR>&gt; -- <BR>&gt; Julian Field MEng CITP CEng<BR>&gt; <A href="http://www.mailscanner.info/" target=_blank>www.MailScanner.info</A> &lt;<A href="http://www.mailscanner.info/" target=_blank>http://www.mailscanner.info/</A>&gt;<BR>&gt; Buy the MailScanner book at <A href="http://www.mailscanner.info/store" target=_blank>www.MailScanner.info/store</A> <BR>&gt; &lt;<A href="http://www.mailscanner.info/store" target=_blank>http://www.mailscanner.info/store</A>&gt;<BR>&gt;<BR>&gt; Need help customising MailScanner?<BR>&gt; Contact me!<BR>&gt; Need help fixing or optimising your systems?<BR>&gt; Contact me!<BR>&gt; Need help getting you started solving new requirements from your boss?<BR>&gt; Contact me!<BR>&gt;<BR>&gt; PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654<BR>&gt; Follow me at twitter.com/JulesFM and twitter.com/MailScanner<BR>&gt;<BR>&gt;<BR>&gt; -- <BR>&gt; This message has been scanned for viruses and<BR>&gt; dangerous content by MailScanner, and is<BR>&gt; believed to be clean.<BR>&gt;<BR><BR>Jules<BR><BR>-- <BR>Julian Field MEng CITP CEng<BR><A href="http://www.mailscanner.info/" target=_blank>www.MailScanner.info</A><BR>Buy the MailScanner book at <A href="http://www.mailscanner.info/store" target=_blank>www.MailScanner.info/store</A><BR><BR>Need help customising MailScanner?<BR>Contact me!<BR>Need help fixing or optimising your systems?<BR>Contact me!<BR>Need help getting you started solving new requirements from your boss?<BR>Contact me!<BR><BR>PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654<BR>Follow me at twitter.com/JulesFM and twitter.com/MailScanner<BR><BR><BR>-- <BR>This message has been scanned for viruses and<BR>dangerous content by MailScanner, and is<BR>believed to be clean.<BR><BR>-- <BR>MailScanner mailing list<BR>mailscanner@lists.mailscanner.info<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></FONT></BODY></HTML>