<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.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        color:black;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.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'>I was asked to try the same thing several weeks ago but was not informed of what it was accomplishing. Possibly someone could let us all know…. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";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:"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 9: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> </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'> </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 –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 –U</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </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> <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 "<span class=apple-style-span><span style='font-family:"Calibri","sans-serif"'>16:48:22 Insecure dependency " 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'> : 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'> : 850-890-2543<br><b>Fax</b> : 850-254-2955</span><o:p></o:p></p></div></div><p class=MsoNormal> <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 "store", MS crashes. ("deliver" 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 "open" function.<br><br>System is SL 6.1 x86_64, perl is v5.10.1<br>I run MS as "postfix" 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 root 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 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.29 Archive::Tar<br>0.23 bignum<br>1.82 Business::ISBN<br>1.10 Business::ISBN::Data<br>1.08 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.10 Digest::SHA1<br>1.01 Encode::Detect<br>0.17008 Error<br>0.18 ExtUtils::CBuilder<br>2.2203 ExtUtils::ParseXS<br>2.38 Getopt::Long<br>0.44 Inline<br>1.08 IO::String<br>1.04 IO::Zlib<br>2.21 IP::Country<br>0.29 Mail::ClamAV<br>3.003001 Mail::SpamAssassin<br>v2.007 Mail::SPF<br>missing Mail::SPF::Query<br>0.35 Module::Build<br>0.20 Net::CIDR::Lite<br>0.62 Net::DNS<br>0.002.2 Net::DNS::Resolver::Programmable<br>missing Net::LDAP<br> 4.004 NetAddr::IP<br>1.94 Parse::RecDescent<br>missing SAVI<br>3.17 Test::Harness<br>0.95 Test::Manifest<br>2.0.0 Text::Balanced<br>1.35 URI<br>0.77 version<br>0.62 YAML<br><br><br><br></span><o:p></o:p></p></div><p class=MsoNormal><smime.p7s>-- <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> <o:p></o:p></p></div><p class=MsoNormal><br><br><br><o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><br><br><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>