Make sure you are running with the -U flag onthe mailscanner executable <br><br>Martin<br><br>On Saturday, 24 March 2012, Fabio De Martin <<a href="mailto:fabiodemartin@gmail.com">fabiodemartin@gmail.com</a>> wrote:<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<br>><br>> ________________________________<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<br>><br>><br>><br>><br><br>-- <br>-- <br>Martin Hepworth<br>Oxford, UK<br>