<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;}
span.apple-style-span
        {mso-style-name:apple-style-span;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        color:black;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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]--></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi all,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp; My setup is different here... (CentOS 5, 32bit) so I cannot verify what I'm seeing is an anomaly or what.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>But, shouldn't your perl path include a version?&nbsp; Such as /usr/lib64/perl5/5.10.0/IO/File.pm.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Just an observation FWIW.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>--Dave<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</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:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> mailscanner-bounces@lists.mailscanner.info [mailto:mailscanner-bounces@lists.mailscanner.info] <b>On Behalf Of </b>Vincent Verhagen<br><b>Sent:</b> Monday, September 26, 2011 11:15 AM<br><b>To:</b> MailScanner discussion<br><b>Subject:</b> Re: Need help on crashing MS<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>That seems to fare better. I still get the errors (more of them) when debugging (see output below), but the results are as expected. Spam is stored correctly and no crash.<br>Could you tell me what I've just done by adding the -U switch?<br><br>----------------------<br>[root@mail conf.d]# MailScanner<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.<br>Insecure dependency in open while running with -T switch at /usr/lib64/perl5/IO/File.pm line 185.<br>Insecure dependency in open while running with -T switch at /usr/lib64/perl5/IO/File.pm line 185.<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><br><br>On 26-9-2011 17:48, John Bull wrote: <o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Vincent,</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Try running MailScanner with the &#8211;U switch, as follows:</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>nano /usr/sbin/MailScanner</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>#!/usr/bin/perl -I/usr/lib/MailScanner &#8211;U</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></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:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> <a href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a> [<a href="mailto:mailscanner-bounces@lists.mailscanner.info">mailto:mailscanner-bounces@lists.mailscanner.info</a>] <b>On Behalf Of </b>Vincent Verhagen<br><b>Sent:</b> Monday, September 26, 2011 8:43 AM<br><b>To:</b> MailScanner discussion<br><b>Subject:</b> Re: Need help on crashing MS</span><o:p></o:p></p></div></div><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>Distro is Scientific Linux 6.1 (another RHEL spinoff like CentOS)<br><br>On 26-9-2011 17:24, Jeremy McSpadden wrote: <o:p></o:p></p><p class=MsoNormal>What distro ? <o:p></o:p></p><div><p class=MsoNormal>I gave up on Ubuntu Natty. Switched to CENT6. I literally built 10 VMs and all had the same &quot;<span class=apple-style-span><span style='font-family:"Calibri","sans-serif"'>16:48:22 Insecure dependency &quot; that you are having, and caused the same thing. Yet no one else was able to duplicate my issue</span></span><o:p></o:p></p><div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>--</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>Jeremy McSpadden</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>Flux Labs, Inc</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><a href="http://www.fluxlabs.net/"><span style='color:#1F497D'>http://www.fluxlabs.net</span></a><br>Endless Solutions</span><o:p></o:p></p></div><div><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#7D7D7D'>Office</span></b><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#7D7D7D'>&nbsp;: 850-588-4626</span><o:p></o:p></p></div><div><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#7D7D7D'>Cell</span></b><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#7D7D7D'>&nbsp;: 850-890-2543<br><b>Fax</b>&nbsp;: 850-254-2955</span><o:p></o:p></p></div></div><p class=MsoNormal>&nbsp;<o:p></o:p></p><div><div><p class=MsoNormal>On Sep 26, 2011, at 10:13 AM, Vincent Verhagen wrote:<o:p></o:p></p></div><p class=MsoNormal><br><br><br><o:p></o:p></p><div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-family:"Calibri","sans-serif"'>Hi all,<br><br>I think I'm running into a permissions problem, but aren't sure and am a bit stumped...<br><br>When SA finds that an email is spam and MS (4.84.3) is told to &quot;store&quot;, MS crashes. (&quot;deliver&quot; goes fine)<br>When running in debug mode, I can see that SA, ClamAV, are doing fine and these are the last few lines:<br><br>-------------<br>16:48:22 Sep 26 16:48:22.048 [19001] dbg: learn: auto-learn? ham=0.1, spam=12, body-points=0.2229, head-points=0.2229, learned-points=0<br>16:48:22 Sep 26 16:48:22.048 [19001] dbg: learn: auto-learn? no: inside auto-learn thresholds, not considered ham or spam<br>16:48:22 Insecure dependency in open while running with -T switch at /usr/lib64/perl5/IO/File.pm line 185.<br>-------------<br>Line 185 in File.pm is the &quot;open&quot; function.<br><br>System is SL 6.1 x86_64, perl is v5.10.1<br>I run MS as &quot;postfix&quot; and the perms for /var/spool/MailScanner/... are:<br><br>-----------<br>[root@mail rules]# ls -l /var/spool/MailScanner/<br>total 8<br>drwxr-xr-x. 5 postfix clamav 4096 Sep 26 16:48 incoming<br>drwxr-xr-x. 4 postfix apache 4096 Sep 26 14:13 quarantine<br>[root@mail rules]# ls -l /var/spool/MailScanner/quarantine/<br>total 8<br>drwxrwx---. 3 postfix apache 4096 Sep 26 14:13 20110926<br>drwxr-xr-x. 3 root&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp; 4096 Sep 26 16:03 phishingupdate<br>[root@mail rules]# ls -l /var/spool/MailScanner/quarantine/20110926/<br>total 4<br>drwxrwx---. 2 postfix apache 4096 Sep 26 14:13 spam<br>-----------<br><br>The perms on todays quarantine directory look ok?<br>Could this be a failing perl module?<br>Does anyone have any pointers for me where to look next?<br><br>Thanks!<br>Vincent<br><br>MailScanner --version output:<br>----------------<br>Running on<br>Linux mail.vive-id.local 2.6.32-131.12.1.el6.x86_64 #1 SMP Tue Aug 23 11:13:45 CDT 2011 x86_64 x86_64 x86_64 GNU/Linux<br>This is Scientific Linux release 6.1 (Carbon)<br>This is Perl version 5.010001 (5.10.1)<br><br>This is MailScanner version 4.84.3<br>Module versions are:<br>1.00&nbsp;&nbsp;&nbsp; AnyDBM_File<br>1.30&nbsp;&nbsp;&nbsp; Archive::Zip<br>0.23&nbsp;&nbsp;&nbsp; bignum<br>1.11&nbsp;&nbsp;&nbsp; Carp<br>2.02&nbsp;&nbsp;&nbsp; Compress::Zlib<br>1.119&nbsp;&nbsp; Convert::BinHex<br>0.17&nbsp;&nbsp;&nbsp; Convert::TNEF<br>2.124&nbsp;&nbsp; Data::Dumper<br>2.27&nbsp;&nbsp;&nbsp; Date::Parse<br>1.03&nbsp;&nbsp;&nbsp; DirHandle<br>1.06&nbsp;&nbsp;&nbsp; Fcntl<br>2.77&nbsp;&nbsp;&nbsp; File::Basename<br>2.14&nbsp;&nbsp;&nbsp; File::Copy<br>2.02&nbsp;&nbsp;&nbsp; FileHandle<br>2.08&nbsp;&nbsp;&nbsp; File::Path<br>0.22&nbsp;&nbsp;&nbsp; File::Temp<br>0.92&nbsp;&nbsp;&nbsp; Filesys::Df<br>3.64&nbsp;&nbsp;&nbsp; HTML::Entities<br>3.64&nbsp;&nbsp;&nbsp; HTML::Parser<br>3.57&nbsp;&nbsp;&nbsp; HTML::TokeParser<br>1.25&nbsp;&nbsp;&nbsp; IO<br>1.14&nbsp;&nbsp;&nbsp; IO::File<br>1.13&nbsp;&nbsp;&nbsp; IO::Pipe<br>2.04&nbsp;&nbsp;&nbsp; Mail::Header<br>1.89&nbsp;&nbsp;&nbsp; Math::BigInt<br>0.22&nbsp;&nbsp;&nbsp; Math::BigRat<br>3.08&nbsp;&nbsp;&nbsp; MIME::Base64<br>5.427&nbsp;&nbsp; MIME::Decoder<br>5.427&nbsp;&nbsp; MIME::Decoder::UU<br>5.427&nbsp;&nbsp; MIME::Head<br>5.427&nbsp;&nbsp; MIME::Parser<br>3.08&nbsp;&nbsp;&nbsp; MIME::QuotedPrint<br>5.427&nbsp;&nbsp; MIME::Tools<br>0.14&nbsp;&nbsp;&nbsp; Net::CIDR<br>1.25&nbsp;&nbsp;&nbsp; Net::IP<br>0.19&nbsp;&nbsp;&nbsp; OLE::Storage_Lite<br>1.04&nbsp;&nbsp;&nbsp; Pod::Escapes<br>3.13&nbsp;&nbsp;&nbsp; Pod::Simple<br>1.17&nbsp;&nbsp;&nbsp; POSIX<br>1.21&nbsp;&nbsp;&nbsp; Scalar::Util<br>1.82&nbsp;&nbsp;&nbsp; Socket<br>2.20&nbsp;&nbsp;&nbsp; Storable<br>1.4&nbsp;&nbsp;&nbsp;&nbsp; Sys::Hostname::Long<br>0.27&nbsp;&nbsp;&nbsp; Sys::Syslog<br>1.40&nbsp;&nbsp;&nbsp; Test::Pod<br>0.92&nbsp;&nbsp;&nbsp; Test::Simple<br>1.9721&nbsp; Time::HiRes<br>1.02&nbsp;&nbsp;&nbsp; Time::localtime<br><br>Optional module versions are:<br>1.29&nbsp;&nbsp;&nbsp; Archive::Tar<br>0.23&nbsp;&nbsp;&nbsp; bignum<br>1.82&nbsp;&nbsp;&nbsp; Business::ISBN<br>1.10&nbsp;&nbsp;&nbsp; Business::ISBN::Data<br>1.08&nbsp;&nbsp;&nbsp; Data::Dump<br>1.82&nbsp;&nbsp;&nbsp; DB_File<br>1.27&nbsp;&nbsp;&nbsp; DBD::SQLite<br>1.609&nbsp;&nbsp; DBI<br>1.16&nbsp;&nbsp;&nbsp; Digest<br>1.01&nbsp;&nbsp;&nbsp; Digest::HMAC<br>2.39&nbsp;&nbsp;&nbsp; Digest::MD5<br>2.10&nbsp;&nbsp;&nbsp; Digest::SHA1<br>1.01&nbsp;&nbsp;&nbsp; Encode::Detect<br>0.17008 Error<br>0.18&nbsp;&nbsp;&nbsp; ExtUtils::CBuilder<br>2.2203&nbsp; ExtUtils::ParseXS<br>2.38&nbsp;&nbsp;&nbsp; Getopt::Long<br>0.44&nbsp;&nbsp;&nbsp; Inline<br>1.08&nbsp;&nbsp;&nbsp; IO::String<br>1.04&nbsp;&nbsp;&nbsp; IO::Zlib<br>2.21&nbsp;&nbsp;&nbsp; IP::Country<br>0.29&nbsp;&nbsp;&nbsp; Mail::ClamAV<br>3.003001&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Mail::SpamAssassin<br>v2.007&nbsp; Mail::SPF<br>missing Mail::SPF::Query<br>0.35&nbsp;&nbsp;&nbsp; Module::Build<br>0.20&nbsp;&nbsp;&nbsp; Net::CIDR::Lite<br>0.62&nbsp;&nbsp;&nbsp; Net::DNS<br>0.002.2 Net::DNS::Resolver::Programmable<br>missing Net::LDAP<br>&nbsp;4.004&nbsp; NetAddr::IP<br>1.94&nbsp;&nbsp;&nbsp; Parse::RecDescent<br>missing SAVI<br>3.17&nbsp;&nbsp;&nbsp; Test::Harness<br>0.95&nbsp;&nbsp;&nbsp; Test::Manifest<br>2.0.0&nbsp;&nbsp; Text::Balanced<br>1.35&nbsp;&nbsp;&nbsp; URI<br>0.77&nbsp;&nbsp;&nbsp; version<br>0.62&nbsp;&nbsp;&nbsp; YAML<br><br><br><br></span><o:p></o:p></p></div><p class=MsoNormal>&lt;smime.p7s&gt;-- <br>MailScanner mailing list<br><a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br><a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br><br>Before posting, read <a href="http://wiki.mailscanner.info/posting">http://wiki.mailscanner.info/posting</a><br><br>Support MailScanner development - buy the book off the website! <o:p></o:p></p></div><p class=MsoNormal>&nbsp;<o:p></o:p></p></div><p class=MsoNormal><br><br><br><o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal><br><br><o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><br />-- 
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>
<br />running on mail server <a href=http://www.kd0yu.com/"><b>KD0YU.COM</b></a>, and is
believed to be clean.
</body></html>