<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Thanks,<br>
    <br>
    Works with -U flag.<br>
    Do you believe it will be fixed on future releases?<br>
    <br>
    Regards,<br>
    <br>
    Fabio De Martin<br>
    <br>
    On 3/26/12 12:02 PM, Sampson, Aaron wrote:
    <blockquote class=" cite"
      id="mid_4ACB6FBB6E06074DA18D653BD3155A6637A6A9_COMM1_p2sol_com"
      cite="mid:4ACB6FBB6E06074DA18D653BD3155A6637A6A9@COMM1.p2sol.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <style>#mid_4ACB6FBB6E06074DA18D653BD3155A6637A6A9_COMM1_p2sol_com p.MsoNormal,
#mid_4ACB6FBB6E06074DA18D653BD3155A6637A6A9_COMM1_p2sol_com li.MsoNormal,
#mid_4ACB6FBB6E06074DA18D653BD3155A6637A6A9_COMM1_p2sol_com div.MsoNormal { margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif"; color: black; }
#mid_4ACB6FBB6E06074DA18D653BD3155A6637A6A9_COMM1_p2sol_com a:link,
#mid_4ACB6FBB6E06074DA18D653BD3155A6637A6A9_COMM1_p2sol_com span.MsoHyperlink { color: blue; text-decoration: underline; }
#mid_4ACB6FBB6E06074DA18D653BD3155A6637A6A9_COMM1_p2sol_com a:visited,
#mid_4ACB6FBB6E06074DA18D653BD3155A6637A6A9_COMM1_p2sol_com span.MsoHyperlinkFollowed { color: purple; text-decoration: underline; }
#mid_4ACB6FBB6E06074DA18D653BD3155A6637A6A9_COMM1_p2sol_com p.MsoNoSpacing,
#mid_4ACB6FBB6E06074DA18D653BD3155A6637A6A9_COMM1_p2sol_com li.MsoNoSpacing,
#mid_4ACB6FBB6E06074DA18D653BD3155A6637A6A9_COMM1_p2sol_com div.MsoNoSpacing { margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: "Calibri","sans-serif"; }
#mid_4ACB6FBB6E06074DA18D653BD3155A6637A6A9_COMM1_p2sol_com span.EmailStyle17 { font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125); }
#mid_4ACB6FBB6E06074DA18D653BD3155A6637A6A9_COMM1_p2sol_com .MsoChpDefault { font-size: 10pt; }
#mid_4ACB6FBB6E06074DA18D653BD3155A6637A6A9_COMM1_p2sol_com 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]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Just
            to make sure that we are all on the same page this is part
            of the documentation that I have listed on what I changed to
            fix that same error.  This worked for me to fix the problem.
            So are you sure you made the same change?<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNoSpacing">Change configuration in
          /usr/sbin/MailScanner  and add the
          <b>–<u>U</u></b> to the end of the line of code.  This causes
          a fatal Taint error which prevents MailScanner from placing
          e-mails into the quarantine folders that it creates.  Adding
          the –U will change the fatal error to just a warning and
          e-mails will be placed into quarantine.<o:p></o:p></p>
        <p class="MsoNoSpacing"><o:p> </o:p></p>
        <p class="MsoNoSpacing">#!/usr/bin/perl -I/usr/lib/MailScanner <b><u>-U</u></b><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">
                <a class="moz-txt-link-abbreviated" href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a>
                [<a class="moz-txt-link-freetext" href="mailto:mailscanner-bounces@lists.mailscanner.info">mailto:mailscanner-bounces@lists.mailscanner.info</a>]
                <b>On Behalf Of </b>Fabio De Martin<br>
                <b>Sent:</b> Monday, March 26, 2012 9:52 AM<br>
                <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
                <b>Subject:</b> Re: Quarantine Taint issue<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal" style="margin-bottom:12.0pt"><span
            style="font-family:&quot;Courier New&quot;">Hi,<br>
            <br>
            As per Martin Hepworth request, I tried to run with -U flag
            on the mailscanner executable but it does not work. Just
            more taint errors...<br>
            Please see MailScanner --debug result with -U flag:<br>
            <br>
            <br>
            In Debugging mode, not forking...<br>
            Trying to setlogsock(unix)<br>
            Building a message batch to scan...<br>
            Have a batch of 1 message.<br>
            Insecure dependency in open while running with -T switch at
            /usr/lib64/perl5/IO/File.pm line 185, &lt;$fh&gt; line 2.<br>
            Insecure dependency in open while running with -T switch at
            /usr/lib64/perl5/IO/File.pm line 185.<br>
            Stopping now as you are debugging me.<br>
          </span>  <br>
          <span style="font-family:&quot;Courier New&quot;">Regards,<br>
            <br>
            Fabio De Martin</span><o:p></o:p></p>
        <div class="MsoNormal" style="text-align:center" align="center">
          <hr align="center" size="2" width="100%">
        </div>
        <p class="MsoNormal" style="margin-bottom:12.0pt"><span
            style="font-family:&quot;Courier New&quot;"><br>
            Hi,<br>
            <br>
            I'm installing MailScanner 4.84.5-2 on CentOS 6.2 and found
            some trouble with quarantine.<br>
            Getting "Insecure dependency in open while running with -T
            switch at /usr/share/perl5/File/Copy.pm line 192"
            <br>
            <br>
            Any help?<br>
            <br>
            Regards,<br>
            <br>
            Fabio De Martin</span><o:p></o:p></p>
        <div class="MsoNormal" style="text-align:center" align="center">
          <hr align="center" size="2" width="100%">
        </div>
        <p class="MsoNormal"><span style="font-family:&quot;Courier
            New&quot;"><br>
            <br>
            Result of MailScanner --debug:<br>
            <br>
            In Debugging mode, not forking...<br>
            Trying to setlogsock(unix)<br>
            Building a message batch to scan...<br>
            Have a batch of 1 message.<br>
            Insecure dependency in open while running with -T switch at
            /usr/share/perl5/File/Copy.pm line 192.<br>
            <br>
            Result of MailScanner -v:<br>
            <br>
            Running on<br>
            Linux localhost.localdomain 2.6.32-220.7.1.el6.x86_64 #1 SMP
            Wed Mar 7 00:52:02 GMT 2012 x86_64 x86_64 x86_64 GNU/Linux<br>
            This is CentOS release 6.2 (Final)<br>
            This is Perl version 5.010001 (5.10.1)<br>
            <br>
            This is MailScanner version 4.84.5<br>
            Module versions are:<br>
            1.00    AnyDBM_File<br>
            1.30    Archive::Zip<br>
            0.23    bignum<br>
            1.11    Carp<br>
            2.02    Compress::Zlib<br>
            1.119     Convert::BinHex<br>
            0.17    Convert::TNEF<br>
            2.124    Data::Dumper<br>
            2.27    Date::Parse<br>
            1.03    DirHandle<br>
            1.06    Fcntl<br>
            2.77    File::Basename<br>
            2.14    File::Copy<br>
            2.02    FileHandle<br>
            2.08    File::Path<br>
            0.22    File::Temp<br>
            0.92    Filesys::Df<br>
            3.64    HTML::Entities<br>
            3.64    HTML::Parser<br>
            3.57    HTML::TokeParser<br>
            1.25    IO<br>
            1.14    IO::File<br>
            1.13    IO::Pipe<br>
            2.04    Mail::Header<br>
            1.89    Math::BigInt<br>
            0.22    Math::BigRat<br>
            3.08    MIME::Base64<br>
            5.427    MIME::Decoder<br>
            5.427    MIME::Decoder::UU<br>
            5.427    MIME::Head<br>
            5.427    MIME::Parser<br>
            3.08    MIME::QuotedPrint<br>
            5.427    MIME::Tools<br>
            0.14    Net::CIDR<br>
            1.25    Net::IP<br>
            0.19    OLE::Storage_Lite<br>
            1.04    Pod::Escapes<br>
            3.13    Pod::Simple<br>
            1.17    POSIX<br>
            1.21    Scalar::Util<br>
            1.82    Socket<br>
            2.20    Storable<br>
            1.4    Sys::Hostname::Long<br>
            0.27    Sys::Syslog<br>
            1.40    Test::Pod<br>
            0.92    Test::Simple<br>
            1.9721    Time::HiRes<br>
            1.02    Time::localtime<br>
            <br>
            Optional module versions are:<br>
            1.58    Archive::Tar<br>
            0.23    bignum<br>
            2.05    Business::ISBN<br>
            20081208    Business::ISBN::Data<br>
            1.15    Data::Dump<br>
            1.82    DB_File<br>
            1.27    DBD::SQLite<br>
            1.609    DBI<br>
            1.16    Digest<br>
            1.01    Digest::HMAC<br>
            2.39    Digest::MD5<br>
            2.12    Digest::SHA1<br>
            1.01    Encode::Detect<br>
            0.17015    Error<br>
            0.27    ExtUtils::CBuilder<br>
            2.2203    ExtUtils::ParseXS<br>
            2.38    Getopt::Long<br>
            0.46    Inline<br>
            1.08    IO::String<br>
            1.09    IO::Zlib<br>
            2.27    IP::Country<br>
            0.29    Mail::ClamAV<br>
            3.003002    Mail::SpamAssassin<br>
            v2.007    Mail::SPF<br>
            missing    Mail::SPF::Query<br>
            0.35    Module::Build<br>
            0.21    Net::CIDR::Lite<br>
            0.65    Net::DNS<br>
            v0.003    Net::DNS::Resolver::Programmable<br>
            missing    Net::LDAP<br>
             4.027    NetAddr::IP<br>
            1.965001    Parse::RecDescent<br>
            missing    SAVI<br>
            3.17    Test::Harness<br>
            1.22    Test::Manifest<br>
            2.0.0    Text::Balanced<br>
            1.40    URI<br>
            0.77    version<br>
            0.70    YAML<br>
            <br>
            Quarantine configuration on MailScanner.conf:<br>
            Run As User = postfix<br>
            Run As Group = mail<br>
            Quarantine Dir = /var/spool/MailScanner/quarantine<br>
            Quarantine User = postfix<br>
            Quarantine Group = mail<br>
            Quarantine Permissions = 0660<br>
            Quarantine Infections = yes<br>
            Quarantine Silent Viruses = yes<br>
            Quarantine Modified Body = no<br>
            Quarantine Whole Message = yes<br>
            Quarantine Whole Messages As Queue Files = yes</span> <o:p></o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>